|
119 | 119 | ],
|
120 | 120 | "parameters": {
|
121 | 121 | "name": {
|
122 |
| - "description": "Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.", |
| 122 | + "description": "Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.", |
123 | 123 | "location": "path",
|
124 | 124 | "pattern": "^organizations/[^/]+/locations/[^/]+/settings$",
|
125 | 125 | "required": true,
|
|
144 | 144 | ],
|
145 | 145 | "parameters": {
|
146 | 146 | "name": {
|
147 |
| - "description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.", |
| 147 | + "description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.", |
148 | 148 | "location": "path",
|
149 | 149 | "pattern": "^organizations/[^/]+/locations/[^/]+/settings$",
|
150 | 150 | "required": true,
|
|
222 | 222 | "type": "string"
|
223 | 223 | },
|
224 | 224 | "parent": {
|
225 |
| - "description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\" or \"projects/{project}/locations/{location}\"", |
| 225 | + "description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\" or \"projects/{project}/locations/{location}\".", |
226 | 226 | "location": "path",
|
227 | 227 | "pattern": "^organizations/[^/]+/locations/[^/]+$",
|
228 | 228 | "required": true,
|
|
261 | 261 | "projects": {
|
262 | 262 | "resources": {
|
263 | 263 | "locations": {
|
| 264 | + "methods": { |
| 265 | + "getSettings": { |
| 266 | + "description": "Get notification settings.", |
| 267 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/settings", |
| 268 | + "httpMethod": "GET", |
| 269 | + "id": "advisorynotifications.projects.locations.getSettings", |
| 270 | + "parameterOrder": [ |
| 271 | + "name" |
| 272 | + ], |
| 273 | + "parameters": { |
| 274 | + "name": { |
| 275 | + "description": "Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.", |
| 276 | + "location": "path", |
| 277 | + "pattern": "^projects/[^/]+/locations/[^/]+/settings$", |
| 278 | + "required": true, |
| 279 | + "type": "string" |
| 280 | + } |
| 281 | + }, |
| 282 | + "path": "v1/{+name}", |
| 283 | + "response": { |
| 284 | + "$ref": "GoogleCloudAdvisorynotificationsV1Settings" |
| 285 | + }, |
| 286 | + "scopes": [ |
| 287 | + "https://www.googleapis.com/auth/cloud-platform" |
| 288 | + ] |
| 289 | + }, |
| 290 | + "updateSettings": { |
| 291 | + "description": "Update notification settings.", |
| 292 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/settings", |
| 293 | + "httpMethod": "PATCH", |
| 294 | + "id": "advisorynotifications.projects.locations.updateSettings", |
| 295 | + "parameterOrder": [ |
| 296 | + "name" |
| 297 | + ], |
| 298 | + "parameters": { |
| 299 | + "name": { |
| 300 | + "description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.", |
| 301 | + "location": "path", |
| 302 | + "pattern": "^projects/[^/]+/locations/[^/]+/settings$", |
| 303 | + "required": true, |
| 304 | + "type": "string" |
| 305 | + } |
| 306 | + }, |
| 307 | + "path": "v1/{+name}", |
| 308 | + "request": { |
| 309 | + "$ref": "GoogleCloudAdvisorynotificationsV1Settings" |
| 310 | + }, |
| 311 | + "response": { |
| 312 | + "$ref": "GoogleCloudAdvisorynotificationsV1Settings" |
| 313 | + }, |
| 314 | + "scopes": [ |
| 315 | + "https://www.googleapis.com/auth/cloud-platform" |
| 316 | + ] |
| 317 | + } |
| 318 | + }, |
264 | 319 | "resources": {
|
265 | 320 | "notifications": {
|
266 | 321 | "methods": {
|
|
320 | 375 | "type": "string"
|
321 | 376 | },
|
322 | 377 | "parent": {
|
323 |
| - "description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\" or \"projects/{project}/locations/{location}\"", |
| 378 | + "description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\" or \"projects/{project}/locations/{location}\".", |
324 | 379 | "location": "path",
|
325 | 380 | "pattern": "^projects/[^/]+/locations/[^/]+$",
|
326 | 381 | "required": true,
|
|
357 | 412 | }
|
358 | 413 | }
|
359 | 414 | },
|
360 |
| - "revision": "20231203", |
| 415 | + "revision": "20240331", |
361 | 416 | "rootUrl": "https://advisorynotifications.googleapis.com/",
|
362 | 417 | "schemas": {
|
363 | 418 | "GoogleCloudAdvisorynotificationsV1Attachment": {
|
|
538 | 593 | "type": "string"
|
539 | 594 | },
|
540 | 595 | "name": {
|
541 |
| - "description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.", |
| 596 | + "description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.", |
542 | 597 | "type": "string"
|
543 | 598 | },
|
544 | 599 | "notificationSettings": {
|
|
0 commit comments