Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::GitHubEnterpriseConfig.
Configuration for connections to an instance of GitHub Enterprise.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#app_id
def app_id() -> ::Integer
Returns
- (::Integer) — Optional. ID of the GitHub App created from the manifest.
#app_id=
def app_id=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. ID of the GitHub App created from the manifest.
Returns
- (::Integer) — Optional. ID of the GitHub App created from the manifest.
#app_installation_id
def app_installation_id() -> ::Integer
Returns
- (::Integer) — Optional. ID of the installation of the GitHub App.
#app_installation_id=
def app_installation_id=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. ID of the installation of the GitHub App.
Returns
- (::Integer) — Optional. ID of the installation of the GitHub App.
#app_slug
def app_slug() -> ::String
Returns
- (::String) — Output only. The URL-friendly name of the GitHub App.
#host_uri
def host_uri() -> ::String
Returns
- (::String) — Required. The URI of the GitHub Enterprise host this connection is for.
#host_uri=
def host_uri=(value) -> ::String
Parameter
- value (::String) — Required. The URI of the GitHub Enterprise host this connection is for.
Returns
- (::String) — Required. The URI of the GitHub Enterprise host this connection is for.
#installation_uri
def installation_uri() -> ::String
Returns
- (::String) — Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.
#private_key_secret_version
def private_key_secret_version() -> ::String
Returns
-
(::String) — Optional. SecretManager resource containing the private key of the GitHub
App, formatted as
projects/*/secrets/*/versions/*
.
#private_key_secret_version=
def private_key_secret_version=(value) -> ::String
Parameter
-
value (::String) — Optional. SecretManager resource containing the private key of the GitHub
App, formatted as
projects/*/secrets/*/versions/*
.
Returns
-
(::String) — Optional. SecretManager resource containing the private key of the GitHub
App, formatted as
projects/*/secrets/*/versions/*
.
#server_version
def server_version() -> ::String
Returns
- (::String) — Output only. GitHub Enterprise version installed at the host_uri.
#service_directory_config
def service_directory_config() -> ::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig
Returns
- (::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig) — 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.
#service_directory_config=
def service_directory_config=(value) -> ::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig
Parameter
- value (::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig) — 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.
Returns
- (::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig) — 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.
#ssl_ca_certificate
def ssl_ca_certificate() -> ::String
Returns
- (::String) — Optional. SSL certificate to use for requests to GitHub Enterprise.
#ssl_ca_certificate=
def ssl_ca_certificate=(value) -> ::String
Parameter
- value (::String) — Optional. SSL certificate to use for requests to GitHub Enterprise.
Returns
- (::String) — Optional. SSL certificate to use for requests to GitHub Enterprise.
#webhook_secret_secret_version
def webhook_secret_secret_version() -> ::String
Returns
-
(::String) — Optional. SecretManager resource containing the webhook secret of the
GitHub App, formatted as
projects/*/secrets/*/versions/*
.
#webhook_secret_secret_version=
def webhook_secret_secret_version=(value) -> ::String
Parameter
-
value (::String) — Optional. SecretManager resource containing the webhook secret of the
GitHub App, formatted as
projects/*/secrets/*/versions/*
.
Returns
-
(::String) — Optional. SecretManager resource containing the webhook secret of the
GitHub App, formatted as
projects/*/secrets/*/versions/*
.