Method: users.spaces.spaceNotificationSetting.get

Gets the space notification state settings.

Requires user authentication.

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.