Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class GitHubEnterpriseConfig.
Configuration for connections to an instance of GitHub Enterprise.
Generated from protobuf message google.cloud.developerconnect.v1.GitHubEnterpriseConfig
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
data
mixed
getHostUri
Required. The URI of the GitHub Enterprise host this connection is for.
string
setHostUri
Required. The URI of the GitHub Enterprise host this connection is for.
var
string
$this
getAppId
Optional. ID of the GitHub App created from the manifest.
int|string
setAppId
Optional. ID of the GitHub App created from the manifest.
var
int|string
$this
getAppSlug
Output only. The URL-friendly name of the GitHub App.
string
setAppSlug
Output only. The URL-friendly name of the GitHub App.
var
string
$this
getPrivateKeySecretVersion
Optional. SecretManager resource containing the private key of the GitHub
App, formatted as projects/*/secrets/*/versions/*
or projects/*/locations/*/secrets/*/versions/*
(if regional secrets are
supported in that location).
string
setPrivateKeySecretVersion
Optional. SecretManager resource containing the private key of the GitHub
App, formatted as projects/*/secrets/*/versions/*
or projects/*/locations/*/secrets/*/versions/*
(if regional secrets are
supported in that location).
var
string
$this
getWebhookSecretSecretVersion
Optional. SecretManager resource containing the webhook secret of the
GitHub App, formatted as projects/*/secrets/*/versions/*
or projects/*/locations/*/secrets/*/versions/*
(if regional secrets are
supported in that location).
string
setWebhookSecretSecretVersion
Optional. SecretManager resource containing the webhook secret of the
GitHub App, formatted as projects/*/secrets/*/versions/*
or projects/*/locations/*/secrets/*/versions/*
(if regional secrets are
supported in that location).
var
string
$this
getAppInstallationId
Optional. ID of the installation of the GitHub App.
int|string
setAppInstallationId
Optional. ID of the installation of the GitHub App.
var
int|string
$this
getInstallationUri
Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.
string
setInstallationUri
Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.
var
string
$this
getServiceDirectoryConfig
Optional. Configuration for using Service Directory to privately connect to a GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub Enterprise server will be made over the public internet.
hasServiceDirectoryConfig
clearServiceDirectoryConfig
setServiceDirectoryConfig
Optional. Configuration for using Service Directory to privately connect to a GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub Enterprise server will be made over the public internet.
$this
getServerVersion
Output only. GitHub Enterprise version installed at the host_uri.
string
setServerVersion
Output only. GitHub Enterprise version installed at the host_uri.
var
string
$this
getSslCaCertificate
Optional. SSL certificate to use for requests to GitHub Enterprise.
string
setSslCaCertificate
Optional. SSL certificate to use for requests to GitHub Enterprise.
var
string
$this
getOrganization
Optional. Immutable. GitHub Enterprise organization in which the GitHub App is created.
string
setOrganization
Optional. Immutable. GitHub Enterprise organization in which the GitHub App is created.
var
string
$this

