diff --git a/docs/dyn/advisorynotifications_v1.organizations.locations.html b/docs/dyn/advisorynotifications_v1.organizations.locations.html index c648cdcd41..8a255ef4ea 100644 --- a/docs/dyn/advisorynotifications_v1.organizations.locations.html +++ b/docs/dyn/advisorynotifications_v1.organizations.locations.html @@ -99,7 +99,7 @@
Get notification settings. Args: - name: string, Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings. (required) + name: string, Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -110,7 +110,7 @@Method Details
{ # Settings for Advisory Notifications. "etag": "A String", # 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. - "name": "A String", # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings. + "name": "A String", # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings. "notificationSettings": { # 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. "a_key": { # Settings for each NotificationType. "enabled": True or False, # Whether the associated NotificationType is enabled. @@ -124,13 +124,13 @@Method Details
Update notification settings. Args: - name: string, Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings. (required) + name: string, Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings. (required) body: object, The request body. The object takes the form of: { # Settings for Advisory Notifications. "etag": "A String", # 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. - "name": "A String", # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings. + "name": "A String", # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings. "notificationSettings": { # 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. "a_key": { # Settings for each NotificationType. "enabled": True or False, # Whether the associated NotificationType is enabled. @@ -148,7 +148,7 @@Method Details
{ # Settings for Advisory Notifications. "etag": "A String", # 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. - "name": "A String", # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings. + "name": "A String", # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings. "notificationSettings": { # 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. "a_key": { # Settings for each NotificationType. "enabled": True or False, # Whether the associated NotificationType is enabled. diff --git a/docs/dyn/advisorynotifications_v1.organizations.locations.notifications.html b/docs/dyn/advisorynotifications_v1.organizations.locations.notifications.html index 5d36d56211..e28a19d768 100644 --- a/docs/dyn/advisorynotifications_v1.organizations.locations.notifications.html +++ b/docs/dyn/advisorynotifications_v1.organizations.locations.notifications.html @@ -156,7 +156,7 @@Method Details
Lists notifications under a given parent. Args: - parent: string, Required. The parent, which owns this collection of notifications. Must be of the form "organizations/{organization}/locations/{location}" or "projects/{project}/locations/{location}" (required) + parent: string, Required. The parent, which owns this collection of notifications. Must be of the form "organizations/{organization}/locations/{location}" or "projects/{project}/locations/{location}". (required) languageCode: string, ISO code for requested localization language. If unset, will be interpereted as "en". If the requested language is valid, but not supported for this notification, English will be returned with an "Not applicable" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error. pageSize: integer, The maximum number of notifications to return. The service may return fewer than this value. If unspecified or equal to 0, at most 50 notifications will be returned. The maximum value is 50; values above 50 will be coerced to 50. pageToken: string, A page token returned from a previous request. When paginating, all other parameters provided in the request must match the call that returned the page token. diff --git a/docs/dyn/advisorynotifications_v1.projects.locations.html b/docs/dyn/advisorynotifications_v1.projects.locations.html index e5e496fd8a..621fe7a366 100644 --- a/docs/dyn/advisorynotifications_v1.projects.locations.html +++ b/docs/dyn/advisorynotifications_v1.projects.locations.html @@ -82,10 +82,79 @@Instance Methods
Close httplib2 connections.
++
+getSettings(name, x__xgafv=None)
Get notification settings.
++
+updateSettings(name, body=None, x__xgafv=None)
Update notification settings.
Method Details
+close()
Close httplib2 connections.++ +getSettings(name, x__xgafv=None)
+Get notification settings. + +Args: + name: string, Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings. (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Settings for Advisory Notifications. + "etag": "A String", # 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. + "name": "A String", # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings. + "notificationSettings": { # 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. + "a_key": { # Settings for each NotificationType. + "enabled": True or False, # Whether the associated NotificationType is enabled. + }, + }, +}+++updateSettings(name, body=None, x__xgafv=None)
+Update notification settings. + +Args: + name: string, Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings. (required) + body: object, The request body. + The object takes the form of: + +{ # Settings for Advisory Notifications. + "etag": "A String", # 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. + "name": "A String", # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings. + "notificationSettings": { # 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. + "a_key": { # Settings for each NotificationType. + "enabled": True or False, # Whether the associated NotificationType is enabled. + }, + }, +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Settings for Advisory Notifications. + "etag": "A String", # 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. + "name": "A String", # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings. + "notificationSettings": { # 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. + "a_key": { # Settings for each NotificationType. + "enabled": True or False, # Whether the associated NotificationType is enabled. + }, + }, +}+