Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #2160

Merged
merged 1 commit into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading