Method: users.spaces.spaceNotificationSetting.get
Yêu cầu HTTP
GET https://chat.googleapis.com/v1/{name=users/*/spaces/*/spaceNotificationSetting}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
name |
string
Bắt buộc. Định dạng: users/{user}/spaces/{space}/spaceNotificationSetting
users/me/spaces/{space}/spaceNotificationSetting , HOẶC
users/user@example.com/spaces/{space}/spaceNotificationSetting , HOẶC
users/123456789/spaces/{space}/spaceNotificationSetting . Lưu ý: Chỉ cho phép mã nhận dạng người dùng hoặc email của phương thức gọi trong đường dẫn.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của SpaceNotificationSetting
.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/chat.users.spacesettings
Để biết thêm thông tin, hãy xem Hướng dẫn uỷ quyền.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-11-10 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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."]]],[]]