Reference documentation and code samples for the Google Cloud Build V1 Client class GitHubEnterpriseConfig.
Generated from protobuf message google.devtools.cloudbuild.v1.GitHubEnterpriseConfig
Namespace
Google \ Cloud \ Build \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
↳ host_url
string
The URL of the github enterprise host the configuration is for.
↳ app_id
int|string
Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
↳ create_time
↳ webhook_key
string
The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
↳ peered_network
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
↳ display_name
string
Name to display for this config.
↳ ssl_ca
string
Optional. SSL certificate to use for requests to GitHub Enterprise.
getName
Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
string
setName
Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
var
string
$this
getHostUrl
The URL of the github enterprise host the configuration is for.
string
setHostUrl
The URL of the github enterprise host the configuration is for.
var
string
$this
getAppId
Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
int|string
setAppId
Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
var
int|string
$this
getCreateTime
Output only. Time when the installation was associated with the project.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Time when the installation was associated with the project.
$this
getWebhookKey
The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
string
setWebhookKey
The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
var
string
$this
getPeeredNetwork
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.
string
setPeeredNetwork
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.
var
string
$this
getSecrets
Names of secrets in Secret Manager.
hasSecrets
clearSecrets
setSecrets
Names of secrets in Secret Manager.
$this
getDisplayName
Name to display for this config.
string
setDisplayName
Name to display for this config.
var
string
$this
getSslCa
Optional. SSL certificate to use for requests to GitHub Enterprise.
string
setSslCa
Optional. SSL certificate to use for requests to GitHub Enterprise.
var
string
$this