|
108 | 108 | "organizations": { |
109 | 109 | "resources": { |
110 | 110 | "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 | + }, |
111 | 166 | "resources": { |
112 | 167 | "notifications": { |
113 | 168 | "methods": { |
|
204 | 259 | } |
205 | 260 | } |
206 | 261 | }, |
207 | | - "revision": "20230806", |
| 262 | + "revision": "20230912", |
208 | 263 | "rootUrl": "https://advisorynotifications.googleapis.com/", |
209 | 264 | "schemas": { |
210 | 265 | "GoogleCloudAdvisorynotificationsV1Attachment": { |
|
365 | 420 | }, |
366 | 421 | "type": "object" |
367 | 422 | }, |
| 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 | + }, |
368 | 457 | "GoogleCloudAdvisorynotificationsV1Subject": { |
369 | 458 | "description": "A subject line of a notification.", |
370 | 459 | "id": "GoogleCloudAdvisorynotificationsV1Subject", |
|
0 commit comments