Name of the parent project. For example: projects/{$projectNumber} or projects/{$projectId}
Authorization requires the following IAM permission on the specified resource parent:
cloudbuild.integrations.create
Query parameters
Parameters
projectId (deprecated)
string
ID of the project.
gheConfigId
string
Optional. The ID to use for the GithubEnterpriseConfig, which will become the final component of the GithubEnterpriseConfig's resource name.
gheConfigId must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character
[[["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 details the process of associating a GCP project with a GitHub Enterprise server using the Cloud Build API.\u003c/p\u003e\n"],["\u003cp\u003eThe primary method is a \u003ccode\u003ePOST\u003c/code\u003e HTTP request to the specified URL, which utilizes gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter to identify the GCP project, and it needs \u003ccode\u003ecloudbuild.integrations.create\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eYou can also provide an optional \u003ccode\u003egheConfigId\u003c/code\u003e query parameter, which must meet specific alphanumeric and length requirements, for the GitHubEnterpriseConfig.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain a \u003ccode\u003eGitHubEnterpriseConfig\u003c/code\u003e instance, and a successful response will provide an \u003ccode\u003eOperation\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]