Method: projects.locations.connections.eventSubscriptions.patch

Updates the parameters of a single EventSubscription.

HTTP request

PATCH https://connectors.googleapis.com/v1/{eventSubscription.name=projects/*/locations/*/connections/*/eventSubscriptions/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
eventSubscription.name

string

Required. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{eventSubscription}

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The list of fields to update. Fields are specified relative to the Subscription. A field will be overwritten if it is in the mask. You can modify only the fields listed below. To update the EventSubscription details: * serviceAccount

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of EventSubscription .

Response body

If successful, the response body contains an instance of Operation .

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年06月27日 UTC.