Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2160)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Sep 14, 2023
1 parent 2b846e5 commit 124e36e
Show file tree
Hide file tree
Showing 22 changed files with 887 additions and 219 deletions.
91 changes: 90 additions & 1 deletion advisorynotifications/v1/advisorynotifications-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,61 @@
"organizations": {
"resources": {
"locations": {
"methods": {
"getSettings": {
"description": "Get notification settings.",
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings",
"httpMethod": "GET",
"id": "advisorynotifications.organizations.locations.getSettings",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
"location": "path",
"pattern": "^organizations/[^/]+/locations/[^/]+/settings$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudAdvisorynotificationsV1Settings"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateSettings": {
"description": "Update notification settings.",
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings",
"httpMethod": "PATCH",
"id": "advisorynotifications.organizations.locations.updateSettings",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
"location": "path",
"pattern": "^organizations/[^/]+/locations/[^/]+/settings$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudAdvisorynotificationsV1Settings"
},
"response": {
"$ref": "GoogleCloudAdvisorynotificationsV1Settings"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"notifications": {
"methods": {
Expand Down Expand Up @@ -204,7 +259,7 @@
}
}
},
"revision": "20230806",
"revision": "20230912",
"rootUrl": "https://advisorynotifications.googleapis.com/",
"schemas": {
"GoogleCloudAdvisorynotificationsV1Attachment": {
Expand Down Expand Up @@ -365,6 +420,40 @@
},
"type": "object"
},
"GoogleCloudAdvisorynotificationsV1NotificationSettings": {
"description": "Settings for each NotificationType.",
"id": "GoogleCloudAdvisorynotificationsV1NotificationSettings",
"properties": {
"enabled": {
"description": "Whether the associated NotificationType is enabled.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudAdvisorynotificationsV1Settings": {
"description": "Settings for Advisory Notifications.",
"id": "GoogleCloudAdvisorynotificationsV1Settings",
"properties": {
"etag": {
"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.",
"type": "string"
},
"name": {
"description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
"readOnly": true,
"type": "string"
},
"notificationSettings": {
"additionalProperties": {
"$ref": "GoogleCloudAdvisorynotificationsV1NotificationSettings"
},
"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.",
"type": "object"
}
},
"type": "object"
},
"GoogleCloudAdvisorynotificationsV1Subject": {
"description": "A subject line of a notification.",
"id": "GoogleCloudAdvisorynotificationsV1Subject",
Expand Down

0 comments on commit 124e36e

Please sign in to comment.