- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates a BuildTrigger
by its project ID and trigger ID.
HTTP request
PATCH https://cloudbuild.googleapis.com/v1/projects/{projectId}/triggers/{triggerId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
projectId |
Required. ID of the project that owns the trigger. Authorization requires the following IAM permission on the specified resource
|
triggerId |
Required. ID of the |
Query parameters
Parameters | |
---|---|
updateMask |
Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of BuildTrigger
.
Response body
If successful, the response body contains an instance of BuildTrigger
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.