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 endpoint creates an association between a GCP project and a GitHub Enterprise server using a \u003ccode\u003ePOST\u003c/code\u003e request to a specific URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the parent project in the path and allows for an optional ID for the GitHub Enterprise Config.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include an instance of \u003ccode\u003eGitHubEnterpriseConfig\u003c/code\u003e, defining the details of the connection.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful creation, the response body contains an instance of \u003ccode\u003eOperation\u003c/code\u003e indicating the outcome.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the \u003ccode\u003ecloudbuild.integrations.create\u003c/code\u003e IAM permission on the parent resource, and the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]