Method: subscriptions.reactivate
Ponowne aktywowanie zawieszonego abonamentu Google Workspace.
Ta metoda resetuje pole State
subskrypcji do wartości ACTIVE
. Zanim skorzystasz z tej metody, musisz naprawić błąd, który spowodował zawieszenie subskrypcji. Aby dowiedzieć się, jak korzystać z tej metody, zobacz Ponowne aktywowanie subskrypcji Google Workspace.
Żądanie HTTP
POST https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}:reactivate
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
To pole jest wymagane. Nazwa zasobu subskrypcji. Format: subscriptions/{subscription}
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Operation
.
- Pole
metadata
zawiera pustą tablicę. - Pole
response
zawiera zaktualizowaną instancję Subscription
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów 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
Więcej informacji znajdziesz w przewodniku po autoryzacji.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-05-03 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]