Skip to content

Commit 124e36e

Browse files
feat(all): auto-regenerate discovery clients (#2160)
1 parent 2b846e5 commit 124e36e

22 files changed

+887
-219
lines changed

advisorynotifications/v1/advisorynotifications-api.json

Lines changed: 90 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,61 @@
108108
"organizations": {
109109
"resources": {
110110
"locations": {
111+
"methods": {
112+
"getSettings": {
113+
"description": "Get notification settings.",
114+
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings",
115+
"httpMethod": "GET",
116+
"id": "advisorynotifications.organizations.locations.getSettings",
117+
"parameterOrder": [
118+
"name"
119+
],
120+
"parameters": {
121+
"name": {
122+
"description": "Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
123+
"location": "path",
124+
"pattern": "^organizations/[^/]+/locations/[^/]+/settings$",
125+
"required": true,
126+
"type": "string"
127+
}
128+
},
129+
"path": "v1/{+name}",
130+
"response": {
131+
"$ref": "GoogleCloudAdvisorynotificationsV1Settings"
132+
},
133+
"scopes": [
134+
"https://www.googleapis.com/auth/cloud-platform"
135+
]
136+
},
137+
"updateSettings": {
138+
"description": "Update notification settings.",
139+
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings",
140+
"httpMethod": "PATCH",
141+
"id": "advisorynotifications.organizations.locations.updateSettings",
142+
"parameterOrder": [
143+
"name"
144+
],
145+
"parameters": {
146+
"name": {
147+
"description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
148+
"location": "path",
149+
"pattern": "^organizations/[^/]+/locations/[^/]+/settings$",
150+
"required": true,
151+
"type": "string"
152+
}
153+
},
154+
"path": "v1/{+name}",
155+
"request": {
156+
"$ref": "GoogleCloudAdvisorynotificationsV1Settings"
157+
},
158+
"response": {
159+
"$ref": "GoogleCloudAdvisorynotificationsV1Settings"
160+
},
161+
"scopes": [
162+
"https://www.googleapis.com/auth/cloud-platform"
163+
]
164+
}
165+
},
111166
"resources": {
112167
"notifications": {
113168
"methods": {
@@ -204,7 +259,7 @@
204259
}
205260
}
206261
},
207-
"revision": "20230806",
262+
"revision": "20230912",
208263
"rootUrl": "https://advisorynotifications.googleapis.com/",
209264
"schemas": {
210265
"GoogleCloudAdvisorynotificationsV1Attachment": {
@@ -365,6 +420,40 @@
365420
},
366421
"type": "object"
367422
},
423+
"GoogleCloudAdvisorynotificationsV1NotificationSettings": {
424+
"description": "Settings for each NotificationType.",
425+
"id": "GoogleCloudAdvisorynotificationsV1NotificationSettings",
426+
"properties": {
427+
"enabled": {
428+
"description": "Whether the associated NotificationType is enabled.",
429+
"type": "boolean"
430+
}
431+
},
432+
"type": "object"
433+
},
434+
"GoogleCloudAdvisorynotificationsV1Settings": {
435+
"description": "Settings for Advisory Notifications.",
436+
"id": "GoogleCloudAdvisorynotificationsV1Settings",
437+
"properties": {
438+
"etag": {
439+
"description": "Required. Fingerprint for optimistic concurrency returned in Get requests. Must be provided for Update requests. If the value provided does not match the value known to the server, ABORTED will be thrown, and the client should retry the read-modify-write cycle.",
440+
"type": "string"
441+
},
442+
"name": {
443+
"description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
444+
"readOnly": true,
445+
"type": "string"
446+
},
447+
"notificationSettings": {
448+
"additionalProperties": {
449+
"$ref": "GoogleCloudAdvisorynotificationsV1NotificationSettings"
450+
},
451+
"description": "Required. Map of each notification type and its settings to get/set all settings at once. The server will validate the value for each notification type.",
452+
"type": "object"
453+
}
454+
},
455+
"type": "object"
456+
},
368457
"GoogleCloudAdvisorynotificationsV1Subject": {
369458
"description": "A subject line of a notification.",
370459
"id": "GoogleCloudAdvisorynotificationsV1Subject",

0 commit comments

Comments
 (0)