Method: users.spaces.spaceNotificationSetting.patch
HTTP-запрос
PATCH https://chat.googleapis.com/v1/{spaceNotificationSetting.name=users/*/spaces/*/spaceNotificationSetting}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
space Notification Setting. name | string Идентификатор. Имя ресурса настройки уведомления о пространстве. Формат: users/{user}/spaces/{space}/spaceNotificationSetting . |
Параметры запроса
Параметры |
---|
update Mask | string ( FieldMask format) Необходимый. Поддерживаемые пути к полям: - notificationSetting - muteSetting |
Тело запроса
Тело запроса содержит экземпляр SpaceNotificationSetting
.
Тело ответа
В случае успеха тело ответа содержит экземпляр SpaceNotificationSetting
.
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/chat.users.spacesettings
Дополнительную информацию см. в руководстве по авторизации .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-11-12 UTC.
[null,null,["Последнее обновление: 2024-11-12 UTC."],[[["This feature updates space notification state settings in Google Chat, allowing users to customize their notification preferences."],["Users can modify notification settings and mute settings for specific spaces."],["Requires user authentication and authorization with the `chat.users.spacesettings` scope."],["Developers can access this feature as part of the Google Workspace Developer Preview Program."],["Utilizes a PATCH request and gRPC Transcoding syntax for updating space notification settings."]]],["This API endpoint updates space notification settings via a PATCH request to `https://chat.googleapis.com/v1/{spaceNotificationSetting.name=users/*/spaces/*/spaceNotificationSetting}`. It requires user authentication and a specific OAuth scope. The `spaceNotificationSetting.name` is a path parameter, and `updateMask` is a query parameter. The request body and response body contain `SpaceNotificationSetting` instances. It's part of the Google Workspace Developer Preview Program, using gRPC Transcoding.\n"]]