একটি Google Workspace সদস্যতা তৈরি করে। এই পদ্ধতিটি কীভাবে ব্যবহার করবেন তা জানতে, একটি Google Workspace সদস্যতা তৈরি করুন দেখুন।
HTTP অনুরোধ
POST https://workspaceevents.googleapis.com/v1/subscriptions
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
ক্যোয়ারী প্যারামিটার
| পরামিতি | |
|---|---|
validateOnly | ঐচ্ছিক। |
শরীরের অনুরোধ
অনুরোধের মূল অংশে Subscription একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, রেসপন্স বডিতে Operation একটি নতুন তৈরি উদাহরণ থাকে।
-
metadataফিল্ডে একটি খালি অ্যারে রয়েছে। -
responseক্ষেত্রেSubscriptionএকটি নতুন উদাহরণ রয়েছে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
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
আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।