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
  • 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

আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।