ঐচ্ছিক। ফেরত দিতে সাবস্ক্রিপশনের সর্বাধিক সংখ্যা। পরিষেবাটি এই মানের থেকে কম ফেরত দিতে পারে।
যদি অনির্দিষ্ট বা 0 তে সেট করা হয়, 50টি পর্যন্ত সদস্যতা ফেরত দেওয়া হয়।
সর্বাধিক মান হল 100৷ আপনি যদি 100-এর বেশি একটি মান নির্দিষ্ট করেন, তবে সিস্টেমটি শুধুমাত্র 100টি সদস্যতা প্রদান করে৷
pageToken
string
ঐচ্ছিক। একটি পৃষ্ঠা টোকেন, একটি পূর্ববর্তী তালিকা সদস্যতা কল থেকে প্রাপ্ত. পরবর্তী পৃষ্ঠাটি পুনরুদ্ধার করতে এই প্যারামিটারটি প্রদান করুন।
পেজিনেট করার সময়, ফিল্টারের মানটি সেই কলের সাথে মেলে যা পৃষ্ঠা টোকেন প্রদান করে। একটি ভিন্ন মান পাস অপ্রত্যাশিত ফলাফল হতে পারে.
filter
string
প্রয়োজন। একটি ক্যোয়ারী ফিল্টার।
আপনি ইভেন্ট টাইপ ( event_types ) এবং টার্গেট রিসোর্স ( target_resource ) দ্বারা সদস্যতা ফিল্টার করতে পারেন।
আপনার ক্যোয়ারীতে আপনাকে অবশ্যই অন্তত একটি ইভেন্টের ধরণ উল্লেখ করতে হবে। একাধিক ইভেন্ট প্রকারের জন্য ফিল্টার করতে, OR অপারেটর ব্যবহার করুন৷
ইভেন্টের ধরন এবং লক্ষ্য সংস্থান উভয় দ্বারা ফিল্টার করতে, AND অপারেটর ব্যবহার করুন এবং সম্পূর্ণ সম্পদের নাম নির্দিষ্ট করুন, যেমন //chat.googleapis.com/spaces/{space} ।
উদাহরণস্বরূপ, নিম্নলিখিত প্রশ্নগুলি বৈধ:
event_types:"google.workspace.chat.membership.v1.updated" OR
event_types:"google.workspace.chat.message.v1.created"
event_types:"google.workspace.chat.message.v1.created" AND
target_resource="//chat.googleapis.com/spaces/{space}"
( event_types:"google.workspace.chat.membership.v1.updated" OR
event_types:"google.workspace.chat.message.v1.created" ) AND
target_resource="//chat.googleapis.com/spaces/{space}"
সার্ভারটি একটি INVALID_ARGUMENT ত্রুটি সহ অবৈধ প্রশ্নগুলি প্রত্যাখ্যান করে৷
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2024-11-12 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Lists existing Google Workspace subscriptions, allowing retrieval of details like event types and target resources."],["Enables filtering of subscriptions by event types and target resource using query parameters, requiring at least one event type for filtering."],["Uses pagination to retrieve large lists of subscriptions, providing a `nextPageToken` for accessing subsequent pages."],["Requires specific OAuth scopes for authorization, such as `https://www.googleapis.com/auth/chat.bot` or `https://www.googleapis.com/auth/chat.spaces`, to access and manage subscriptions."],["Returns a response body containing a list of subscriptions and a token for pagination if further pages exist."]]],["This document outlines how to list Google Workspace subscriptions using a `GET` request to `https://workspaceevents.googleapis.com/v1/subscriptions`. Key parameters include `pageSize` (max 100) to limit results, `pageToken` for pagination, and a mandatory `filter` to specify event types and/or target resources using `OR` and `AND` operators. The request body is empty. The response body contains a list of `subscriptions` and an optional `nextPageToken` for subsequent pages. Specific OAuth scopes are required for authorization.\n"]]