Erstellt ein Google Workspace-Abo. Informationen zur Verwendung dieser Methode finden Sie unter Google Workspace-Abo erstellen.
HTTP-Anfrage
POST https://workspaceevents.googleapis.com/v1/subscriptions
Die URL verwendet die Syntax der gRPC-Transcodierung.
Abfrageparameter
| Parameter | |
|---|---|
validateOnly |
Optional. Wenn |
Anfragetext
Der Anfragetext enthält eine Instanz von Subscription.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von Operation.
- Das Feld
metadataenthält ein leeres Array. - Das Feld
responseenthält eine neue Instanz vonSubscription.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
https://www.googleapis.com/auth/chat.spaceshttps://www.googleapis.com/auth/chat.spaces.readonlyhttps://www.googleapis.com/auth/chat.messageshttps://www.googleapis.com/auth/chat.messages.readonlyhttps://www.googleapis.com/auth/chat.messages.reactionshttps://www.googleapis.com/auth/chat.messages.reactions.readonlyhttps://www.googleapis.com/auth/chat.membershipshttps://www.googleapis.com/auth/chat.memberships.readonlyhttps://www.googleapis.com/auth/meetings.space.createdhttps://www.googleapis.com/auth/meetings.space.readonly
Weitere Informationen finden Sie im Autorisierungsleitfaden.