Optional. Das zu aktualisierende Feld. Wird diese Option nicht angegeben, werden alle in der Anfrage enthaltenen Felder aktualisiert.
Sie können eines der folgenden Felder in einem Abo aktualisieren:
expireTime: Der Zeitstempel, der angibt, wann das Abo abläuft.
ttl: Die Gültigkeitsdauer (TTL) oder Laufzeit des Abos.
eventTypes: Die Liste der Ereignistypen, die für die Zielressource empfangen werden sollen.
Wenn Sie das Platzhalterzeichen * (entspricht PUT) verwenden, werden ausgelassene Felder auf leere Werte gesetzt und abgelehnt, wenn sie ungültig sind.
validateOnly
boolean
Optional. Wenn true festgelegt ist, wird die Anfrage validiert und in der Vorschau angezeigt, aber das Abo wird nicht aktualisiert.
Anfragetext
Der Anfragetext enthält eine Instanz von Subscription.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Operation.
Das Feld metadata enthält ein leeres Array.
Das Feld response enthält eine aktualisierte Instanz von Subscription.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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"]]