Method: subscriptions.get
Solicitação HTTP
GET https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}
O URL usa a sintaxe de transcodificação gRPC.
Parâmetros de caminho
Parâmetros |
name |
string
Obrigatório. Nome do recurso da assinatura. Formato: subscriptions/{subscription}
|
Corpo da solicitação
O corpo da solicitação precisa estar vazio.
Corpo da resposta
Se a solicitação for bem-sucedida, o corpo da resposta conterá uma instância de Subscription
.
Escopos de autorização
Requer um dos seguintes escopos de 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
Para mais informações, consulte o Guia de autorização.
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-05-03 UTC.
[null,null,["Última atualização 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"]]