[[["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 webpage documents how to create a new \u003ccode\u003eBuildTrigger\u003c/code\u003e using a POST request to the specified URL endpoint: \u003ccode\u003ehttps://cloudbuild.googleapis.com/v1/projects/{projectId}/triggers\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe creation of a \u003ccode\u003eBuildTrigger\u003c/code\u003e requires a \u003ccode\u003eprojectId\u003c/code\u003e as a path parameter and a \u003ccode\u003eparent\u003c/code\u003e parameter within query parameters, with the parent parameter needing specific IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain an instance of \u003ccode\u003eBuildTrigger\u003c/code\u003e, while the response body, if successful, will contain the newly created \u003ccode\u003eBuildTrigger\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eTo authorize the request, the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e is required, as detailed in the authentication overview.\u003c/p\u003e\n"]]],[],null,["# Method: projects.triggers.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a new `BuildTrigger`.\n\n### HTTP request\n\n`POST https://cloudbuild.googleapis.com/v1/projects/{projectId}/triggers`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [BuildTrigger](/build/docs/api/reference/rest/v1/projects.locations.triggers#BuildTrigger).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [BuildTrigger](/build/docs/api/reference/rest/v1/projects.locations.triggers#BuildTrigger).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]