Resource: GitHubEnterpriseConfig
GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
JSON representation |
---|
{
"name": string,
"hostUrl": string,
"appId": string,
"createTime": string,
"webhookKey": string,
"peeredNetwork": string,
"secrets": {
object ( |
Fields | |
---|---|
name |
The full resource name for the GitHubEnterpriseConfig For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}" |
hostUrl |
The URL of the github enterprise host the configuration is for. |
appId |
Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server. |
createTime |
Output only. Time when the installation was associated with the project. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
webhookKey |
The key that should be attached to webhook calls to the v1.webhook endpoint. |
peeredNetwork |
Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format |
secrets |
Optional. Names of secrets in Secret Manager. |
displayName |
Optional. Name to display for this config. |
sslCa |
Optional. SSL certificate to use for requests to GitHub Enterprise. |
Methods |
|
---|---|
|
Create an association between a GCP project and a GitHub Enterprise server. |
|
Delete an association between a GCP project and a GitHub Enterprise server. |
|
Retrieve a GitHubEnterpriseConfig. |
|
List all GitHubEnterpriseConfigs for a given project. |
|
Update an association between a GCP project and a GitHub Enterprise server. |