Updates or renews a Google Workspace subscription. To learn how to use this method, see Update or renew a Google Workspace subscription.
HTTP request
PATCH https://workspaceevents.googleapis.com/v1/{subscription.name=subscriptions/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
subscription.name |
Optional. Immutable. Identifier. Resource name of the subscription. Format: |
Query parameters
Parameters | |
---|---|
updateMask |
Optional. The field to update. If omitted, updates any fields included in the request. You can update one of the following fields in a subscription:
To fully replace the subscription (the equivalent of |
validateOnly |
Optional. If set to |
Request body
The request body contains an instance of Subscription
.
Response body
If successful, the response body contains an instance of Operation
.
- The
metadata
field contains an empty array. - The
response
field contains an updated instance ofSubscription
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/chat.spaces
https://www.googleapis.com/auth/chat.spaces.readonly
https://www.googleapis.com/auth/chat.messages
https://www.googleapis.com/auth/chat.messages.readonly
https://www.googleapis.com/auth/chat.messages.reactions
https://www.googleapis.com/auth/chat.messages.reactions.readonly
https://www.googleapis.com/auth/chat.memberships
https://www.googleapis.com/auth/chat.memberships.readonly
https://www.googleapis.com/auth/meetings.space.created
https://www.googleapis.com/auth/meetings.space.readonly
For more information, see the Authorization guide.