Method: users.spaces.spaceNotificationSetting.get
Ruft die Einstellungen für den Benachrichtigungsstatus des Gruppenbereichs ab.Erfordert eine Nutzerauthentifizierung.
HTTP-Anfrage
GET https://chat.googleapis.com/v1/{name=users/*/spaces/*/spaceNotificationSetting}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Erforderlich. Format: users/{user}/spaces/{space}/spaceNotificationSetting
users/me/spaces/{space}/spaceNotificationSetting , ODER
users/user@example.com/spaces/{space}/spaceNotificationSetting , ODER
users/123456789/spaces/{space}/spaceNotificationSetting . Hinweis: Im Pfad ist nur die Nutzer-ID oder E-Mail-Adresse des Anrufers zulässig.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von SpaceNotificationSetting
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/chat.users.spacesettings
Weitere Informationen finden Sie im Leitfaden zur Autorisierung.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-11-10 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-11-10 (UTC)."],[[["Retrieves the notification settings for a specific Google Chat space for the authenticated user."],["Requires providing the user and space identifiers in the request URL."],["Returns a `SpaceNotificationSetting` object containing the space's notification configuration details upon successful execution."],["Needs authorization with the `https://www.googleapis.com/auth/chat.users.spacesettings` scope for access."],["Available as part of the Google Workspace Developer Preview Program."]]],[]]