Settings

客户级设置。

JSON 表示法
{
  "notifications": [
    {
      object (Notification)
    }
  ]
}
字段
notifications[]

object (Notification)

通知列表。

通知

回调通知设置。有关详情,请参阅 Google Workspace 提醒通知

JSON 表示法
{

  // Union field destination can be only one of the following:
  "cloudPubsubTopic": {
    object (CloudPubsubTopic)
  }
  // End of list of possible types for union field destination.
}
字段
联合字段 destination。只能指定一个目的地。destination 只能是下列其中一项:
cloudPubsubTopic

object (CloudPubsubTopic)

Google Cloud Pub/Sub 主题目标位置。

CloudPub 子主题

对 Cloud Pubsub 主题的引用。

如需注册接收通知,主题的所有者必须向 alerts-api-push-notifications@system.gserviceaccount.com 授予 projects.topics.publish 权限。

JSON 表示法
{
  "topicName": string,
  "payloadFormat": enum (PayloadFormat)
}
字段
topicName

string

Cloud Pubsub 主题name 字段。

payloadFormat

enum (PayloadFormat)

(可选)将要发送的载荷的格式。如果未指定,则格式为 JSON。

PayloadFormat

载荷的格式。

枚举
PAYLOAD_FORMAT_UNSPECIFIED 未指定载荷格式(将默认使用 JSON 格式)。
JSON 使用 JSON。