Method: subscriptions.get
HTTP-запрос
GET https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Необходимый. Имя ресурса подписки. Формат: subscriptions/{subscription} |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит экземпляр Subscription
.
Области авторизации
Требуется одна из следующих областей 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
Дополнительную информацию см. в руководстве по авторизации .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-10-26 UTC.
[null,null,["Последнее обновление: 2024-10-26 UTC."],[[["This method retrieves details about a specific Google Workspace subscription using an HTTP GET request."],["The request requires a path parameter specifying the subscription's resource name in the format `subscriptions/{subscription}`."],["A successful response includes a `Subscription` object containing the subscription details."],["Authorization requires one of the listed OAuth scopes, providing access to various Chat and Meetings features."],["You can refer to the provided links for detailed usage instructions and authorization guidance."]]],["This content describes how to retrieve details about a Google Workspace subscription. A `GET` HTTP request is sent to `https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}`, with the subscription's resource name in the URL's path. The request body must be empty. A successful response returns a `Subscription` object. One of the listed OAuth scopes is required for authorization, with a guide provided for more information on this matter.\n"]]