Cloud Build V2 API - Class Google::Cloud::Build::V2::GitHubEnterpriseConfig (v0.5.2)

Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::GitHubEnterpriseConfig.

Configuration for connections to an instance of GitHub Enterprise.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#api_key

def api_key() -> ::String
Returns
  • (::String) — Required. API Key used for authentication of webhook events.

#api_key=

def api_key=(value) -> ::String
Parameter
  • value (::String) — Required. API Key used for authentication of webhook events.
Returns
  • (::String) — Required. API Key used for authentication of webhook events.

#app_id

def app_id() -> ::Integer
Returns
  • (::Integer) — Id of the GitHub App created from the manifest.

#app_id=

def app_id=(value) -> ::Integer
Parameter
  • value (::Integer) — Id of the GitHub App created from the manifest.
Returns
  • (::Integer) — Id of the GitHub App created from the manifest.

#app_installation_id

def app_installation_id() -> ::Integer
Returns
  • (::Integer) — ID of the installation of the GitHub App.

#app_installation_id=

def app_installation_id=(value) -> ::Integer
Parameter
  • value (::Integer) — ID of the installation of the GitHub App.
Returns
  • (::Integer) — ID of the installation of the GitHub App.

#app_slug

def app_slug() -> ::String
Returns
  • (::String) — The URL-friendly name of the GitHub App.

#app_slug=

def app_slug=(value) -> ::String
Parameter
  • value (::String) — The URL-friendly name of the GitHub App.
Returns
  • (::String) — 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.

#private_key_secret_version

def private_key_secret_version() -> ::String
Returns
  • (::String) — 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) — SecretManager resource containing the private key of the GitHub App, formatted as projects/*/secrets/*/versions/*.
Returns
  • (::String) — 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::Build::V2::ServiceDirectoryConfig
Returns
  • (::Google::Cloud::Build::V2::ServiceDirectoryConfig) — 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::Build::V2::ServiceDirectoryConfig
Parameter
  • value (::Google::Cloud::Build::V2::ServiceDirectoryConfig) — 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::Build::V2::ServiceDirectoryConfig) — 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

def ssl_ca() -> ::String
Returns
  • (::String) — SSL certificate to use for requests to GitHub Enterprise.

#ssl_ca=

def ssl_ca=(value) -> ::String
Parameter
  • value (::String) — SSL certificate to use for requests to GitHub Enterprise.
Returns
  • (::String) — SSL certificate to use for requests to GitHub Enterprise.

#webhook_secret_secret_version

def webhook_secret_secret_version() -> ::String
Returns
  • (::String) — 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) — SecretManager resource containing the webhook secret of the GitHub App, formatted as projects/*/secrets/*/versions/*.
Returns
  • (::String) — SecretManager resource containing the webhook secret of the GitHub App, formatted as projects/*/secrets/*/versions/*.