Settings

Customer-level settings.

JSON representation
{
  "notifications": [
    {
      object (Notification)
    }
  ]
}
Fields
notifications[]

object (Notification)

The list of notifications.

Notification

Settings for callback notifications. For more details see Google Workspace Alert Notification.

JSON representation
{

  // Union field destination can be only one of the following:
  "cloudPubsubTopic": {
    object (CloudPubsubTopic)
  }
  // End of list of possible types for union field destination.
}
Fields
Union field destination. Exactly one destination to be specified. destination can be only one of the following:
cloudPubsubTopic

object (CloudPubsubTopic)

A Google Cloud Pub/sub topic destination.

CloudPubsubTopic

A reference to a Cloud Pubsub topic.

To register for notifications, the owner of the topic must grant alerts-api-push-notifications@system.gserviceaccount.com the projects.topics.publish permission.

JSON representation
{
  "topicName": string,
  "payloadFormat": enum (PayloadFormat)
}
Fields
topicName

string

The name field of a Cloud Pubsub Topic.

payloadFormat

enum (PayloadFormat)

Optional. The format of the payload that would be sent. If not specified the format will be JSON.

PayloadFormat

The format of the payload.

Enums
PAYLOAD_FORMAT_UNSPECIFIED Payload format is not specified (will use JSON as default).
JSON Use JSON.