Method: subscriptions.reactivate
Ponownie aktywuje zawieszony abonament Google Workspace.Ta metoda resetuje pole State
subskrypcji do wartości ACTIVE
. Zanim skorzystasz z tej metody, musisz naprawić błąd, który powodował zawieszenie subskrypcji. Aby dowiedzieć się, jak korzystać z tej metody, zobacz Ponowne aktywowanie subskrypcji Google Workspace.
Żądanie HTTP
POST https://workspaceevents.googleapis.com/v1beta/{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."],[[["This method reactivates a suspended Google Workspace subscription by resetting its state to `ACTIVE` after addressing the suspension cause."],["It requires an HTTP `POST` request to a specific URL with the subscription name as a path parameter and an empty request body."],["A successful response includes an `Operation` object containing the updated `Subscription` details in the `response` field."],["Authorization is necessary, utilizing one of the specified OAuth scopes related to Google Chat or Google Meet functionalities, as detailed in the Authorization guide."]]],["This API method reactivates a suspended Google Workspace subscription, setting its `State` to `ACTIVE`. It utilizes a `POST` request to a specific URL, defined by gRPC Transcoding syntax, with a required `name` path parameter indicating the subscription's resource name. The request body must be empty. A successful response returns an `Operation` instance containing an updated `Subscription`, and it requires one of several OAuth scopes for authorization.\n"]]