eventTypes: lista typów zdarzeń, które mają być otrzymywane w związku z zasobem docelowym.
Jeśli użyjesz symbolu wieloznacznego * (odpowiednika symbolu PUT), pominięte pola zostaną ustawione na puste wartości i odrzucone, jeśli będą nieprawidłowe.
validateOnly
boolean
Opcjonalnie. Jeśli ma wartość true, weryfikuje i wyświetla podgląd żądania, ale nie aktualizuje subskrypcji.
Treść żądania
Treść żądania zawiera wystąpienie elementu Subscription.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Operation.
Pole metadata zawiera pustą tablicę.
Pole response zawiera zaktualizowane wystąpienie elementu Subscription.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-10 UTC."],[[["This method updates or renews a Google Workspace subscription using a PATCH request to the specified endpoint."],["Developers can update subscription fields like expireTime, ttl, and eventTypes using the updateMask query parameter."],["Request bodies should contain a Subscription object, while successful responses include an Operation object with the updated Subscription."],["Authorization requires one of the listed OAuth scopes, such as `https://www.googleapis.com/auth/chat.spaces` or similar, granting specific permissions."]]],["This describes how to update or renew a Google Workspace subscription via a `PATCH` HTTP request to the specified URL `https://workspaceevents.googleapis.com/v1/{subscription.name=subscriptions/*}`. The request utilizes path parameters for the subscription name and optional query parameters, `updateMask` and `validateOnly`, to control updates and validation. The request body contains subscription details, while the successful response body contains an operation and updated subscription instance. Updating the subscription also require one of the specific OAuth scopes.\n"]]