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.