Runs a BuildTrigger at a particular source revision.
To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.
HTTP request
POST https://cloudbuild.googleapis.com/v1/projects/{projectId}/triggers/{triggerId}:run
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-18 UTC."],[[["This endpoint runs a `BuildTrigger` at a specified source revision, supporting both regional/global triggers with location-specific or global-only URL paths."],["The HTTP request utilizes a `POST` method with a defined URL structure including project and trigger IDs as path parameters."],["The request requires a project ID and a trigger ID, while the `name` of the trigger, which includes project, location, and trigger, is used as a query parameter, requiring `cloudbuild.builds.create` permissions."],["The request body expects an instance of `RepoSource`, and a successful response will contain an instance of `Operation`."],["Authorization for this operation requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]