Settings
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การแสดง JSON |
{
"notifications": [
{
object (Notification )
}
]
} |
ช่อง |
notifications[] |
object (Notification )
รายการการแจ้งเตือน
|
การแจ้งเตือน
การแสดง 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 ระบุปลายทางได้เพียง 1 รายการเท่านั้น destination ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้เท่านั้น |
cloudPubsubTopic |
object (CloudPubsubTopic )
ปลายทางหัวข้อ Google Cloud Pub/Sub
|
CloudPubsubTopic
การอ้างอิงถึงหัวข้อ Cloud Pubsub
หากต้องการลงทะเบียนเพื่อรับการแจ้งเตือน เจ้าของหัวข้อต้องให้สิทธิ์ alerts-api-push-notifications@system.gserviceaccount.com
projects.topics.publish
การแสดง JSON |
{
"topicName": string,
"payloadFormat": enum (PayloadFormat )
} |
ช่อง |
topicName |
string
ฟิลด์ name ของหัวข้อ Cloud Pubsub
|
payloadFormat |
enum (PayloadFormat )
ไม่บังคับ รูปแบบของเพย์โหลดที่จะส่ง หากไม่ระบุ รูปแบบจะเป็น JSON
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# Settings\n\n- [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\n------------\n\nSettings 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\n----------------\n\nA 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\n-------------\n\nThe 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. |"]]