İsteğe bağlı. Döndürülecek maksimum abonelik sayısı. Hizmet bu değerden daha az değer döndürebilir.
Belirtilmezse veya 0 olarak ayarlanırsa en fazla 50 abonelik döndürülür.
Maksimum değer 100'dür. 100'den büyük bir değer belirtirseniz sistem yalnızca 100 abonelik döndürür.
pageToken
string
İsteğe bağlı. Önceki bir liste abonelikleri çağrısından alınan bir sayfa jetonu. Sonraki sayfayı almak için bu parametreyi sağlayın.
Sayfalara ayırırken filtre değeri, sayfa jetonunu sağlayan çağrıyla eşleşmelidir. Farklı bir değer iletmek, beklenmedik sonuçlara yol açabilir.
filter
string
Zorunlu. Sorgu filtresi.
Abonelikleri etkinlik türüne (event_types) ve hedef kaynağa (target_resource) göre filtreleyebilirsiniz.
Sorgunuzda en az bir etkinlik türü belirtmelisiniz. Birden fazla etkinlik türünü filtrelemek için OR operatörünü kullanın.
Hem etkinlik türüne hem de hedef kaynağa göre filtrelemek için AND operatörünü kullanarak tam kaynak adını belirtin (ör. //chat.googleapis.com/spaces/{space}).
Örneğin, aşağıdaki sorgular geçerlidir:
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}"
Sunucu, INVALID_ARGUMENT hatası vererek geçersiz sorguları reddeder.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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"]]