Method: subscriptions.get
Żądanie HTTP
GET https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}
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 Subscription
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/chat.bot
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 retrieves details about a specific Google Workspace subscription, providing information like its configuration and status."],["An HTTP GET request is made to a specific URL, requiring the subscription's resource name as a path parameter."],["The request body should be empty, and a successful response includes a `Subscription` object containing the subscription's details."],["Authorization is necessary using one of the listed OAuth scopes, which grant access to various Chat and Meetings features depending on the chosen scope."],["This feature is currently in Developer Preview and available through the Google Workspace Developer Preview Program."]]],["This API method retrieves details about a Google Workspace subscription using a `GET` request to the specified URL. The required `name` parameter, formatted as `subscriptions/{subscription}`, is included in the URL path. The request body must be empty. A successful response returns a `Subscription` object. The method needs one of the listed OAuth scopes, related to chat and meeting spaces, for authorization. This feature is available as part of the Google Workspace Developer Preview Program.\n"]]