Google Workspace サブスクリプションを更新します。この方法の使用方法については、Google Workspace のサブスクリプションを更新または更新するをご覧ください。
HTTP リクエスト
PATCH https://workspaceevents.googleapis.com/v1/{subscription.name=subscriptions/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
| パラメータ | |
|---|---|
subscription.name |
ID。サブスクリプションのリソース名。 形式: |
クエリ パラメータ
| パラメータ | |
|---|---|
updateMask |
省略可。更新するフィールド。省略すると、リクエストに含まれるすべてのフィールドが更新されます。 サブスクリプションの次のフィールドのいずれかを更新できます。
|
validateOnly |
省略可。 |
リクエストの本文
リクエストの本文には Subscription のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には Operation のインスタンスが含まれます。
metadataフィールドに空の配列が含まれています。responseフィールドには、Subscriptionの更新されたインスタンスが含まれます。
認可スコープ
次の OAuth スコープのいずれかが必要です。
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
詳しくは、承認ガイドをご覧ください。