Skip to content

Commit 3daccec

Browse files
feat(all): auto-regenerate discovery clients (#2506)
1 parent baa809b commit 3daccec

24 files changed

+6453
-1089
lines changed

‎advisorynotifications/v1/advisorynotifications-api.json

Lines changed: 61 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
],
120120
"parameters": {
121121
"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.",
123123
"location": "path",
124124
"pattern": "^organizations/[^/]+/locations/[^/]+/settings$",
125125
"required": true,
@@ -144,7 +144,7 @@
144144
],
145145
"parameters": {
146146
"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.",
148148
"location": "path",
149149
"pattern": "^organizations/[^/]+/locations/[^/]+/settings$",
150150
"required": true,
@@ -222,7 +222,7 @@
222222
"type": "string"
223223
},
224224
"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}\".",
226226
"location": "path",
227227
"pattern": "^organizations/[^/]+/locations/[^/]+$",
228228
"required": true,
@@ -261,6 +261,61 @@
261261
"projects": {
262262
"resources": {
263263
"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+
},
264319
"resources": {
265320
"notifications": {
266321
"methods": {
@@ -320,7 +375,7 @@
320375
"type": "string"
321376
},
322377
"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}\".",
324379
"location": "path",
325380
"pattern": "^projects/[^/]+/locations/[^/]+$",
326381
"required": true,
@@ -357,7 +412,7 @@
357412
}
358413
}
359414
},
360-
"revision": "20231203",
415+
"revision": "20240331",
361416
"rootUrl": "https://advisorynotifications.googleapis.com/",
362417
"schemas": {
363418
"GoogleCloudAdvisorynotificationsV1Attachment": {
@@ -538,7 +593,7 @@
538593
"type": "string"
539594
},
540595
"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.",
542597
"type": "string"
543598
},
544599
"notificationSettings": {

0 commit comments

Comments
 (0)