Method: users.spaces.spaceNotificationSetting.get
คำขอ HTTP
GET https://chat.googleapis.com/v1/{name=users/*/spaces/*/spaceNotificationSetting}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ รูปแบบ: users/{user}/spaces/{space}/spaceNotificationSetting
users/me/spaces/{space}/spaceNotificationSetting หรือ
users/user@example.com/spaces/{space}/spaceNotificationSetting หรือ
users/123456789/spaces/{space}/spaceNotificationSetting หมายเหตุ: ระบบอนุญาตเฉพาะรหัสผู้ใช้หรืออีเมลของผู้ใช้เท่านั้นในเส้นทาง
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ SpaceNotificationSetting
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/chat.users.spacesettings
สำหรับข้อมูลเพิ่มเติม โปรดดูที่คู่มือการให้สิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-10 UTC
[null,null,["อัปเดตล่าสุด 2024-11-10 UTC"],[[["Retrieves the notification settings for a specific Google Chat space for the authenticated user."],["Requires providing the user and space identifiers in the request URL."],["Returns a `SpaceNotificationSetting` object containing the space's notification configuration details upon successful execution."],["Needs authorization with the `https://www.googleapis.com/auth/chat.users.spacesettings` scope for access."],["Available as part of the Google Workspace Developer Preview Program."]]],[]]