Method: projects.triggers.patch

Updates a BuildTrigger by its project ID and trigger ID.

This API is experimental.

HTTP request

PATCH https://cloudbuild.googleapis.com/v1/projects/{projectId}/triggers/{triggerId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectId

string

Required. ID of the project that owns the trigger.

triggerId

string

Required. ID of the BuildTrigger to update.

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.

Try it!

Was deze pagina nuttig? Laat ons weten hoe goed we u hebben geholpen:

Feedback verzenden over...

Cloud Build Documentation