Mendapatkan detail tentang langganan Google Workspace. Untuk mempelajari cara menggunakan metode ini, lihat Mendapatkan detail tentang langganan Google Workspace.
Permintaan HTTP
GET https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
| Parameter | |
|---|---|
| name | 
 Wajib. Nama resource langganan. Format:  | 
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons memuat instance Subscription.
Cakupan otorisasi
Memerlukan salah satu cakupan OAuth berikut:
- 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
Untuk mengetahui informasi selengkapnya, lihat Panduan otorisasi.