停止中の Google Workspace サブスクリプションを再び有効にします。
このメソッドは、サブスクリプションの State フィールドを ACTIVE にリセットします。このメソッドを使用する前に、サブスクリプションが一時停止された原因となったエラーを修正する必要があります。このメソッドは、現在一時停止状態にないサブスクリプションを無視または拒否します。この方法の使用方法については、Google Workspace のサブスクリプションを再開するをご覧ください。
チャット ターゲット リソースのサブスクリプションは、次の方法で再有効化できます。
chat.appで始まる認可スコープを指定し、1 回限りの管理者承認を取得する Chat 用アプリ(デベロッパー プレビュー)。詳細については、管理者による承認を得て Chat 用アプリとして認可するをご覧ください。名前に
appが含まれていない認可スコープを指定して、ユーザーを削除します。詳細については、Chat ユーザーとして承認するをご覧ください。
HTTP リクエスト
POST https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}:reactivate
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
| パラメータ | |
|---|---|
name |
必須。サブスクリプションのリソース名。 形式: |
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には 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/chat.app.membershipshttps://www.googleapis.com/auth/chat.app.messages.readonlyhttps://www.googleapis.com/auth/chat.app.spaceshttps://www.googleapis.com/auth/meetings.space.createdhttps://www.googleapis.com/auth/meetings.space.readonlyhttps://www.googleapis.com/auth/drivehttps://www.googleapis.com/auth/drive.filehttps://www.googleapis.com/auth/drive.metadatahttps://www.googleapis.com/auth/drive.metadata.readonlyhttps://www.googleapis.com/auth/drive.readonly
詳しくは、承認ガイドをご覧ください。