Получает сведения о подписке Google Workspace. Чтобы узнать, как использовать этот метод, см . раздел Получение сведений о подписке Google Workspace .
HTTP-запрос
GET https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}
URL-адрес использует синтаксис gRPC Transcoding .
Параметры пути
| Параметры | |
|---|---|
name | Обязательно. Имя ресурса подписки. Формат: |
Текст запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит экземпляр 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 -
https://www.googleapis.com/auth/drive -
https://www.googleapis.com/auth/drive.file -
https://www.googleapis.com/auth/drive.metadata -
https://www.googleapis.com/auth/drive.metadata.readonly -
https://www.googleapis.com/auth/drive.readonly
Более подробную информацию см. в Руководстве по авторизации .