Google Chat API (chat:v1)

2025-03-04

2 new methods

Additions

    Methods
  • chat.users.spaces.spaceNotificationSetting.get

      Path : v1/{+name}

      Flat Path : v1/users/{usersId}/spaces/{spacesId}/spaceNotificationSetting

      HTTP Method : GET

      Parameters :

        name

          Description : 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.

          Pattern : ^users/[^/]+/spaces/[^/]+/spaceNotificationSetting$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes : https://www.googleapis.com/auth/chat.users.spacesettings

      Description : Gets the space notification state setting. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).

  • chat.users.spaces.spaceNotificationSetting.patch

      Path : v1/{+name}

      Flat Path : v1/users/{usersId}/spaces/{spacesId}/spaceNotificationSetting

      HTTP Method : PATCH

      Parameters :

        name

          Description : Identifier. The resource name of the space notification setting. Format: `users/{user}/spaces/{space}/spaceNotificationSetting`.

          Pattern : ^users/[^/]+/spaces/[^/]+/spaceNotificationSetting$

          Location : path

          Required : Yes

          Type : string

        updateMask

          Description : Required. Supported field paths: - `notification_setting` - `mute_setting`

          Location : query

          Type : string

          Format : google-fieldmask

      Parameter Order : name

      Scopes : https://www.googleapis.com/auth/chat.users.spacesettings

      Description : Updates the space notification state setting. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).