Update a single trigger.
HTTP request
PATCH https://eventarc.googleapis.com/v1/{trigger.name=projects/*/locations/*/triggers/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
trigger.name |
Required. The resource name of the trigger. Must be unique within the location of the project and must be in |
Query parameters
Parameters | |
---|---|
updateMask |
The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". This is a comma-separated list of fully qualified names of fields. Example: |
allowMissing |
If set to true, and the trigger is not found, a new trigger will be created. In this situation, |
validateOnly |
Optional. If set, validate the request and preview the review, but do not post it. |
Request body
The request body contains an instance of Trigger
.
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.