Method: subscriptions.reactivate
停止中の Google Workspace サブスクリプションを再び有効にします。
このメソッドは、サブスクリプションの State
フィールドを ACTIVE
にリセットします。このメソッドを使用する前に、サブスクリプションを停止したエラーを修正する必要があります。この方法の使用方法については、Google Workspace サブスクリプションを再有効化するをご覧ください。
HTTP リクエスト
POST https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}:reactivate
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。サブスクリプションのリソース名。 形式: subscriptions/{subscription}
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には Operation
のインスタンスが含まれます。
metadata
フィールドには空の配列が含まれています。response
フィールドには、更新された Subscription
のインスタンスが含まれます。
承認スコープ
次の OAuth スコープのいずれかが必要です。
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
詳しくは、承認ガイドをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-05-03 UTC。
[null,null,["最終更新日 2024-05-03 UTC。"],[[["Reactivates a suspended Google Workspace subscription, resetting its state to `ACTIVE` after the suspension error is resolved."],["Requires a `POST` request to `https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}:reactivate`, with the subscription name provided as a path parameter."],["The request body should be empty, and a successful response includes an `Operation` object with the updated `Subscription` details."],["Authorization requires one of the specified OAuth scopes, such as `https://www.googleapis.com/auth/chat.spaces` or similar, for access and interaction with Google Workspace resources."]]],["This outlines the process to reactivate a suspended Google Workspace subscription via a `POST` request to the specified URL using gRPC Transcoding. The `name` path parameter, representing the subscription's resource name, is required. The request body must be empty. A successful response returns an `Operation` instance, with an empty `metadata` field, and an updated `Subscription` in the `response` field. This process requires specific OAuth scopes for authorization.\n"]]