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

Updates the space notification setting. For an example, see Update the caller's space notification setting.

Requires user authentication with the authorization scope:

HTTP request

PATCH https://chat.googleapis.com/v1/{spaceNotificationSetting.name=users/*/spaces/*/spaceNotificationSetting}

The URL uses gRPC Transcoding syntax.

Path parameters

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

Query parameters

Parameters
updateMask string (FieldMask format) Required. Supported field paths: notificationSetting muteSetting

Request body

The request body contains an instance of [SpaceNotificationSetting](/workspace/chat/api/reference/rest/v1/users.spaces.spaceNotificationSetting#SpaceNotificationSetting).

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.