github_enterprise_configs
Overview
Name | github_enterprise_configs |
Type | Resource |
Id | google.cloudbuild.github_enterprise_configs |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" |
appId | string | Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server. |
displayName | string | Name to display for this config. |
webhookKey | string | The key that should be attached to webhook calls to the ReceiveWebhook endpoint. |
peeredNetwork | string | 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 projects/{project}/global/networks/{network} , where {project} is a project number or id and {network} is the name of a VPC network in the project. |
secrets | object | GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/. |
createTime | string | Output only. Time when the installation was associated with the project. |
hostUrl | string | The URL of the github enterprise host the configuration is for. |
sslCa | string | Optional. SSL certificate to use for requests to GitHub Enterprise. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_github_enterprise_configs_get | SELECT | githubEnterpriseConfigsId, projectsId | Retrieve a GitHubEnterpriseConfig. |
projects_github_enterprise_configs_list | SELECT | projectsId | List all GitHubEnterpriseConfigs for a given project. |
projects_locations_github_enterprise_configs_get | SELECT | githubEnterpriseConfigsId, locationsId, projectsId | Retrieve a GitHubEnterpriseConfig. |
projects_locations_github_enterprise_configs_list | SELECT | locationsId, projectsId | List all GitHubEnterpriseConfigs for a given project. |
projects_github_enterprise_configs_create | INSERT | projectsId | Create an association between a GCP project and a GitHub Enterprise server. |
projects_locations_github_enterprise_configs_create | INSERT | locationsId, projectsId | Create an association between a GCP project and a GitHub Enterprise server. |
projects_github_enterprise_configs_delete | DELETE | githubEnterpriseConfigsId, projectsId | Delete an association between a GCP project and a GitHub Enterprise server. |
projects_locations_github_enterprise_configs_delete | DELETE | githubEnterpriseConfigsId, locationsId, projectsId | Delete an association between a GCP project and a GitHub Enterprise server. |
projects_github_enterprise_configs_patch | EXEC | githubEnterpriseConfigsId, projectsId | Update an association between a GCP project and a GitHub Enterprise server. |
projects_locations_github_enterprise_configs_patch | EXEC | githubEnterpriseConfigsId, locationsId, projectsId | Update an association between a GCP project and a GitHub Enterprise server. |