Settings

Settings for Advisory Notifications.

JSON representation
{
  "name": string,
  "notificationSettings": {
    string: {
      object (NotificationSettings)
    },
    ...
  },
  "etag": string
}
Fields
name

string

Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.

notificationSettings

map (key: string, value: object (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.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

etag

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.

NotificationSettings

Settings for each NotificationType.

JSON representation
{
  "enabled": boolean
}
Fields
enabled

boolean

Whether the associated NotificationType is enabled.