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 2025-07-17 UTC."],[[["\u003cp\u003eThis endpoint runs a \u003ccode\u003eBuildTrigger\u003c/code\u003e at a specified source revision, supporting both regional/global triggers with location-specific or global-only URL paths.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request utilizes a \u003ccode\u003ePOST\u003c/code\u003e method with a defined URL structure including project and trigger IDs as path parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a project ID and a trigger ID, while the \u003ccode\u003ename\u003c/code\u003e of the trigger, which includes project, location, and trigger, is used as a query parameter, requiring \u003ccode\u003ecloudbuild.builds.create\u003c/code\u003e permissions.\u003c/p\u003e\n"],["\u003cp\u003eThe request body expects an instance of \u003ccode\u003eRepoSource\u003c/code\u003e, and a successful response will contain an instance of \u003ccode\u003eOperation\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]