Method: subscriptions.get

Google Workspace aboneliği hakkında ayrıntılı bilgi edinir. Bu yöntemi kullanmayı öğrenmek için Google Workspace aboneliği hakkında ayrıntılı bilgi edinme başlıklı makaleyi inceleyin.

HTTP isteği

GET https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}

URL, gRPC Kod Dönüştürme söz dizimini kullanır.

Yol parametreleri

Parametreler
name

string

Zorunlu. Aboneliğin kaynak adı.

Biçim: subscriptions/{subscription}

İstek içeriği

İstek metni boş olmalıdır.

Yanıt metni

Başarılıysa yanıt metni, Subscription öğesinin bir örneğini içerir.

Yetkilendirme kapsamları

Aşağıdaki OAuth kapsamlarından birini gerektirir:

  • 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

Daha fazla bilgi için Yetkilendirme kılavuzu'na bakın.