Method: users.spaces.spaceNotificationSetting.get  |  Google Chat  |  Google for Developers (original) (raw)

Gets the space notification setting. For an example, see Get the caller's space notification setting.

Requires user authentication with the authorization scope:

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](/workspace/chat/api/reference/rest/v1/users.spaces.spaceNotificationSetting#SpaceNotificationSetting).

Requires the following OAuth scope:

For more information, see the Authorization guide.