{// 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:
To register for notifications, the owner of the topic must grant alerts-api-push-notifications@system.gserviceaccount.com the projects.topics.publish permission.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-25 UTC."],[],[],null,["- [JSON representation](#SCHEMA_REPRESENTATION)\n- [Notification](#Notification)\n - [JSON representation](#Notification.SCHEMA_REPRESENTATION)\n- [CloudPubsubTopic](#CloudPubsubTopic)\n - [JSON representation](#CloudPubsubTopic.SCHEMA_REPRESENTATION)\n- [PayloadFormat](#PayloadFormat)\n\nCustomer-level settings.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"notifications\": [ { object (/workspace/admin/alertcenter/reference/rest/v1beta1/Settings#Notification) } ] } ``` |\n\n| Fields ||\n|-------------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| `notifications[]` | `object (`[Notification](/workspace/admin/alertcenter/reference/rest/v1beta1/Settings#Notification)`)` The list of notifications. |\n\nNotification Settings for callback notifications. For more details see [Google Workspace Alert Notification](https://developers.google.com/workspace/admin/alertcenter/guides/notifications).\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `destination` can be only one of the following: \"cloudPubsubTopic\": { object (/workspace/admin/alertcenter/reference/rest/v1beta1/Settings#CloudPubsubTopic) } // End of list of possible types for union field `destination`. } ``` |\n\n| Fields ||\n|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `destination`. Exactly one destination to be specified. `destination` can be only one of the following: ||\n| `cloudPubsubTopic` | `object (`[CloudPubsubTopic](/workspace/admin/alertcenter/reference/rest/v1beta1/Settings#CloudPubsubTopic)`)` A Google Cloud Pub/sub topic destination. |\n\nCloudPubsubTopic A reference to a Cloud Pubsub topic.\n\nTo register for notifications, the owner of the topic must grant `alerts-api-push-notifications@system.gserviceaccount.com` the `projects.topics.publish` permission.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"topicName\": string, \"payloadFormat\": enum (/workspace/admin/alertcenter/reference/rest/v1beta1/Settings#PayloadFormat) } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `topicName` | `string` The `name` field of a Cloud Pubsub [Topic](https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics#Topic). |\n| `payloadFormat` | `enum (`[PayloadFormat](/workspace/admin/alertcenter/reference/rest/v1beta1/Settings#PayloadFormat)`)` Optional. The format of the payload that would be sent. If not specified the format will be JSON. |\n\nPayloadFormat The format of the payload.\n\n| Enums ||\n|------------------------------|-------------------------------------------------------------|\n| `PAYLOAD_FORMAT_UNSPECIFIED` | Payload format is not specified (will use JSON as default). |\n| `JSON` | Use JSON. |"]]