זה שינוי אופציונלי. מספר המינויים המקסימלי שצריך להחזיר. השירות עשוי להחזיר פחות מהערך הזה.
אם לא צוין או מוגדר הערך 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-09-10 (שעון UTC)."],[[["Lists existing Google Workspace subscriptions, allowing developers to manage event delivery configurations."],["Provides filtering options by event types and target resources for refined subscription retrieval."],["Uses pagination to handle large result sets, enabling retrieval of subscriptions in manageable chunks."],["Requires specific authorization scopes for access, ensuring secure management of sensitive data."],["Available within the Google Workspace Developer Preview Program, offering early access to this functionality."]]],["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"]]