Method: projects.locations.githubEnterpriseConfigs.create

Create an association between a GCP project and a GitHub Enterprise server.

HTTP request

POST https://cloudbuild.googleapis.com/v1/{parent=projects/*/locations/*}/githubEnterpriseConfigs

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Name of the parent project. For example: projects/{$projectNumber} or projects/{$projectId}

Query parameters

Parameters
projectId
(deprecated)

string

ID of the project.

Request body

The request body contains an instance of GitHubEnterpriseConfig.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.