Method: projects.locations.githubEnterpriseConfigs.get

Retrieve a GitHubEnterpriseConfig.

HTTP request

GET https://cloudbuild.googleapis.com/v1/{name=projects/*/locations/*/githubEnterpriseConfigs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

This field should contain the name of the enterprise config resource. For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"

Authorization requires the following IAM permission on the specified resource name:

  • cloudbuild.integrations.get

Query parameters

Parameters
projectId
(deprecated)

string

ID of the project

configId
(deprecated)

string

Unique identifier of the GitHubEnterpriseConfig

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of GitHubEnterpriseConfig.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.