Cloud Build V1 API - Class Google::Cloud::Build::V1::GitHubEnterpriseConfig (v0.27.0)

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#app_id

def app_id() -> ::Integer
Returns
  • (::Integer) — Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.

#app_id=

def app_id=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
Returns
  • (::Integer) — Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Name to display for this config.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Name to display for this config.
Returns
  • (::String) — Name to display for this config.

#host_url

def host_url() -> ::String
Returns
  • (::String) — The URL of the github enterprise host the configuration is for.

#host_url=

def host_url=(value) -> ::String
Parameter
  • value (::String) — The URL of the github enterprise host the configuration is for.
Returns
  • (::String) — The URL of the github enterprise host the configuration is for.

#name

def name() -> ::String
Returns
  • (::String) — Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
Returns
  • (::String) — Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

#peered_network

def peered_network() -> ::String
Returns
  • (::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.

#peered_network=

def peered_network=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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

def secrets() -> ::Google::Cloud::Build::V1::GitHubEnterpriseSecrets
Returns

#secrets=

def secrets=(value) -> ::Google::Cloud::Build::V1::GitHubEnterpriseSecrets
Parameter
Returns

#ssl_ca

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

#ssl_ca=

def ssl_ca=(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_key

def webhook_key() -> ::String
Returns
  • (::String) — The key that should be attached to webhook calls to the ReceiveWebhook endpoint.

#webhook_key=

def webhook_key=(value) -> ::String
Parameter
  • value (::String) — The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
Returns
  • (::String) — The key that should be attached to webhook calls to the ReceiveWebhook endpoint.