Skip to content

Commit 6d6acd2

Browse files
Google APIscopybara-github
authored andcommitted
docs: A comment for field filter in message .google.cloud.maintenance.api.v1.SummarizeMaintenancesRequest is changed
chore: fix typo in API description PiperOrigin-RevId: 845900064
1 parent ff251e7 commit 6d6acd2

File tree

3 files changed

+16
-39
lines changed

3 files changed

+16
-39
lines changed

google/cloud/maintenance/api/v1/maintenance_service.proto

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -104,21 +104,9 @@ message SummarizeMaintenancesRequest {
104104

105105
// Filter the list as specified in https://google.aip.dev/160.
106106
// Supported fields include:
107-
// - `state`
108-
// - `resource.location`
109-
// - `resource.resourceName`
110-
// - `resource.type`
111107
// - `maintenance.maintenanceName`
112-
// - `maintenanceStartTime`
113-
// - `maintenanceCompleteTime`
114108
// Examples:
115-
// - `state="SCHEDULED"`
116-
// - `resource.location="us-central1-c"`
117-
// - `resource.resourceName=~"*/instance-20241212-211259"`
118-
// - `maintenanceStartTime>"2000-10-11T20:44:51Z"`
119-
// - `state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"`
120-
// - `maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND
121-
// maintenanceCompleteTime>"2000-10-11T20:44:51Z"`
109+
// - `maintenance.maintenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1"`
122110
string filter = 10507;
123111

124112
// Order results as specified in https://google.aip.dev/132.

google/cloud/maintenance/api/v1/maintenance_v1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ documentation:
1515
The Maintenance API provides a centralized view of planned disruptive
1616
maintenance events across supported Google Cloud products. It offers users
1717
visibility into upcoming, ongoing, and completed maintenance, along with
18-
controls to manage certain maintenance activities, such as mainteance
18+
controls to manage certain maintenance activities, such as maintenance
1919
windows, rescheduling, and on-demand updates.
2020
rules:
2121
- selector: google.cloud.location.Locations.GetLocation
Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,17 @@
11
{
2-
"methodConfig": [
3-
{
4-
"name": [
5-
{
6-
"service": "google.cloud.maintenance.v1.Maintenance",
7-
"method": "GetResourceMaintenance"
8-
},
9-
{
10-
"service": "google.cloud.maintenance.v1.Maintenance",
11-
"method": "ListResourceMaintenances"
12-
},
13-
{
14-
"service": "google.cloud.maintenance.v1.Maintenance",
15-
"method": "SummarizeMaintenances"
16-
}
17-
],
18-
"timeout": "60s",
19-
"retryPolicy": {
20-
"maxAttempts": 5,
21-
"initialBackoff": "1s",
22-
"maxBackoff": "10s",
23-
"backoffMultiplier": 1.3,
24-
"retryableStatusCodes": ["UNAVAILABLE"]
25-
}
2+
"methodConfig": [{
3+
"name": [
4+
{ "service": "google.cloud.maintenance.v1.Maintenance", "method": "GetResourceMaintenance" },
5+
{ "service": "google.cloud.maintenance.v1.Maintenance", "method": "ListResourceMaintenances" },
6+
{ "service": "google.cloud.maintenance.v1.Maintenance", "method": "SummarizeMaintenances" }
7+
],
8+
"timeout": "60s",
9+
"retryPolicy": {
10+
"maxAttempts": 5,
11+
"initialBackoff": "1s",
12+
"maxBackoff": "10s",
13+
"backoffMultiplier": 1.3,
14+
"retryableStatusCodes": ["UNAVAILABLE"]
2615
}
27-
]
16+
}]
2817
}

0 commit comments

Comments
 (0)