Method: projects.triggers.run

Runs a BuildTrigger at a particular source revision.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectId

string

ID of the project.

triggerId

string

ID of the trigger.

Request body

The request body contains an instance of RepoSource.

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.

Try it!

Şunun hakkında geri bildirim gönderin...