Cloud Build V2 API - Class Google::Cloud::Build::V2::Connection (v0.3.0)

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

A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Server or GitLab.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#annotations

def annotations() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Allows clients to store small amounts of arbitrary data.

#annotations=

def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Allows clients to store small amounts of arbitrary data.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Allows clients to store small amounts of arbitrary data.

#create_time

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

#disabled

def disabled() -> ::Boolean
Returns
  • (::Boolean) — If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.

#disabled=

def disabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
Returns
  • (::Boolean) — If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.

#etag

def etag() -> ::String
Returns
  • (::String) — This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Returns
  • (::String) — This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

#github_config

def github_config() -> ::Google::Cloud::Build::V2::GitHubConfig
Returns

#github_config=

def github_config=(value) -> ::Google::Cloud::Build::V2::GitHubConfig
Parameter
Returns

#github_enterprise_config

def github_enterprise_config() -> ::Google::Cloud::Build::V2::GitHubEnterpriseConfig
Returns

#github_enterprise_config=

def github_enterprise_config=(value) -> ::Google::Cloud::Build::V2::GitHubEnterpriseConfig
Parameter
Returns

#gitlab_config

def gitlab_config() -> ::Google::Cloud::Build::V2::GitLabConfig
Returns

#gitlab_config=

def gitlab_config=(value) -> ::Google::Cloud::Build::V2::GitLabConfig
Parameter
Returns

#installation_state

def installation_state() -> ::Google::Cloud::Build::V2::InstallationState
Returns

#name

def name() -> ::String
Returns
  • (::String) — Immutable. The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Immutable. The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}.
Returns
  • (::String) — Immutable. The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}.

#reconciling

def reconciling() -> ::Boolean
Returns
  • (::Boolean) — Output only. Set to true when the connection is being set up or updated in the background.

#update_time

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