Method: users.spaces.spaceNotificationSetting.patch
Żądanie HTTP
PATCH https://chat.googleapis.com/v1/{spaceNotificationSetting.name=users/*/spaces/*/spaceNotificationSetting}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
spaceNotificationSetting.name |
string
Identyfikator. Nazwa zasobu ustawień powiadomień w pokoju. Format: users/{user}/spaces/{space}/spaceNotificationSetting .
|
Parametry zapytania
Parametry |
updateMask |
string (FieldMask format)
Wymagany. Obsługiwane ścieżki pól: – notificationSetting – muteSetting
|
Treść żądania
Treść żądania zawiera wystąpienie elementu SpaceNotificationSetting
.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu SpaceNotificationSetting
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/chat.users.spacesettings
Więcej informacji znajdziesz w przewodniku dotyczącym autoryzacji.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-02-27 UTC.
[null,null,["Ostatnia aktualizacja: 2025-02-27 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"]]