Method: users.spaces.spaceNotificationSetting.get
HTTP request
GET https://chat.googleapis.com/v1/{name=users/*/spaces/*/spaceNotificationSetting}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. Format: users/{user}/spaces/{space}/spaceNotificationSetting
users/me/spaces/{space}/spaceNotificationSetting , OR
users/user@example.com/spaces/{space}/spaceNotificationSetting , OR
users/123456789/spaces/{space}/spaceNotificationSetting . Note: Only the caller's user id or email is allowed in the path.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of SpaceNotificationSetting
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/chat.users.spacesettings
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-22 UTC.
[null,null,["Last updated 2024-11-22 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."]]],[]]