אופציונלי. המספר המקסימלי של מינויים שיוחזרו. יכול להיות שהשירות יחזיר פחות מהערך הזה.
אם לא מציינים ערך או אם הערך הוא 0, מוחזרים עד 50 מינויים.
הערך המקסימלי הוא 100. אם מציינים ערך שגדול מ-100, המערכת מחזירה רק 100 מינויים.
pageToken
string
אופציונלי. אסימון דף שהתקבל מקריאה קודמת של list subscriptions. צריך לציין את הפרמטר הזה כדי לאחזר את הדף הבא.
כשמבצעים חלוקה לעמודים, ערך המסנן צריך להיות זהה לקריאה שסיפקה את אסימון הדף. העברת ערך שונה עלולה להוביל לתוצאות בלתי צפויות.
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"]],["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eLists existing Google Workspace subscriptions, allowing developers to manage event delivery configurations.\u003c/p\u003e\n"],["\u003cp\u003eProvides filtering options by event types and target resources for refined subscription retrieval.\u003c/p\u003e\n"],["\u003cp\u003eUses pagination to handle large result sets, enabling retrieval of subscriptions in manageable chunks.\u003c/p\u003e\n"],["\u003cp\u003eRequires specific authorization scopes for access, ensuring secure management of sensitive data.\u003c/p\u003e\n"],["\u003cp\u003eAvailable within the Google Workspace Developer Preview Program, offering early access to this functionality.\u003c/p\u003e\n"]]],["This describes how to list Google Workspace subscriptions using a `GET` request to `https://workspaceevents.googleapis.com/v1beta/subscriptions`. You can filter subscriptions by event type and target resource using the `filter` query parameter. Optional parameters include `pageSize` (max 100) and `pageToken` for pagination. The request body must be empty. The response contains a list of subscriptions and a `nextPageToken` for subsequent pages. Access requires specified OAuth scopes.\n"],null,[]]