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 Data Center, Bitbucket Cloud or GitLab.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — Allows clients to store small amounts of arbitrary data.
 
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — Allows clients to store small amounts of arbitrary data.
 
- (::Google::Protobuf::Map{::String => ::String}) — Allows clients to store small amounts of arbitrary data.
 
#bitbucket_cloud_config
def bitbucket_cloud_config() -> ::Google::Cloud::Build::V2::BitbucketCloudConfig-  (::Google::Cloud::Build::V2::BitbucketCloudConfig) — Configuration for connections to Bitbucket Cloud.
Note: The following fields are mutually exclusive:
bitbucket_cloud_config,github_config,github_enterprise_config,gitlab_config,bitbucket_data_center_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#bitbucket_cloud_config=
def bitbucket_cloud_config=(value) -> ::Google::Cloud::Build::V2::BitbucketCloudConfig-  value (::Google::Cloud::Build::V2::BitbucketCloudConfig) — Configuration for connections to Bitbucket Cloud.
Note: The following fields are mutually exclusive:
bitbucket_cloud_config,github_config,github_enterprise_config,gitlab_config,bitbucket_data_center_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
-  (::Google::Cloud::Build::V2::BitbucketCloudConfig) — Configuration for connections to Bitbucket Cloud.
Note: The following fields are mutually exclusive:
bitbucket_cloud_config,github_config,github_enterprise_config,gitlab_config,bitbucket_data_center_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#bitbucket_data_center_config
def bitbucket_data_center_config() -> ::Google::Cloud::Build::V2::BitbucketDataCenterConfig-  (::Google::Cloud::Build::V2::BitbucketDataCenterConfig) — Configuration for connections to Bitbucket Data Center.
Note: The following fields are mutually exclusive:
bitbucket_data_center_config,github_config,github_enterprise_config,gitlab_config,bitbucket_cloud_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#bitbucket_data_center_config=
def bitbucket_data_center_config=(value) -> ::Google::Cloud::Build::V2::BitbucketDataCenterConfig-  value (::Google::Cloud::Build::V2::BitbucketDataCenterConfig) — Configuration for connections to Bitbucket Data Center.
Note: The following fields are mutually exclusive:
bitbucket_data_center_config,github_config,github_enterprise_config,gitlab_config,bitbucket_cloud_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
-  (::Google::Cloud::Build::V2::BitbucketDataCenterConfig) — Configuration for connections to Bitbucket Data Center.
Note: The following fields are mutually exclusive:
bitbucket_data_center_config,github_config,github_enterprise_config,gitlab_config,bitbucket_cloud_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Server assigned timestamp for when the connection was created.
 
#disabled
def disabled() -> ::Boolean- (::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- 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.
 
- (::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- (::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- 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.
 
- (::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-  (::Google::Cloud::Build::V2::GitHubConfig) — Configuration for connections to github.com.
Note: The following fields are mutually exclusive:
github_config,github_enterprise_config,gitlab_config,bitbucket_data_center_config,bitbucket_cloud_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#github_config=
def github_config=(value) -> ::Google::Cloud::Build::V2::GitHubConfig-  value (::Google::Cloud::Build::V2::GitHubConfig) — Configuration for connections to github.com.
Note: The following fields are mutually exclusive:
github_config,github_enterprise_config,gitlab_config,bitbucket_data_center_config,bitbucket_cloud_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
-  (::Google::Cloud::Build::V2::GitHubConfig) — Configuration for connections to github.com.
Note: The following fields are mutually exclusive:
github_config,github_enterprise_config,gitlab_config,bitbucket_data_center_config,bitbucket_cloud_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#github_enterprise_config
def github_enterprise_config() -> ::Google::Cloud::Build::V2::GitHubEnterpriseConfig-  (::Google::Cloud::Build::V2::GitHubEnterpriseConfig) — Configuration for connections to an instance of GitHub Enterprise.
Note: The following fields are mutually exclusive:
github_enterprise_config,github_config,gitlab_config,bitbucket_data_center_config,bitbucket_cloud_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#github_enterprise_config=
def github_enterprise_config=(value) -> ::Google::Cloud::Build::V2::GitHubEnterpriseConfig-  value (::Google::Cloud::Build::V2::GitHubEnterpriseConfig) — Configuration for connections to an instance of GitHub Enterprise.
Note: The following fields are mutually exclusive:
github_enterprise_config,github_config,gitlab_config,bitbucket_data_center_config,bitbucket_cloud_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
-  (::Google::Cloud::Build::V2::GitHubEnterpriseConfig) — Configuration for connections to an instance of GitHub Enterprise.
Note: The following fields are mutually exclusive:
github_enterprise_config,github_config,gitlab_config,bitbucket_data_center_config,bitbucket_cloud_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#gitlab_config
def gitlab_config() -> ::Google::Cloud::Build::V2::GitLabConfig-  (::Google::Cloud::Build::V2::GitLabConfig) — Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
Note: The following fields are mutually exclusive:
gitlab_config,github_config,github_enterprise_config,bitbucket_data_center_config,bitbucket_cloud_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#gitlab_config=
def gitlab_config=(value) -> ::Google::Cloud::Build::V2::GitLabConfig-  value (::Google::Cloud::Build::V2::GitLabConfig) — Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
Note: The following fields are mutually exclusive:
gitlab_config,github_config,github_enterprise_config,bitbucket_data_center_config,bitbucket_cloud_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
-  (::Google::Cloud::Build::V2::GitLabConfig) — Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
Note: The following fields are mutually exclusive:
gitlab_config,github_config,github_enterprise_config,bitbucket_data_center_config,bitbucket_cloud_config. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#installation_state
def installation_state() -> ::Google::Cloud::Build::V2::InstallationState- (::Google::Cloud::Build::V2::InstallationState) — Output only. Installation state of the Connection.
 
#name
def name() -> ::String-  (::String) — Immutable. The resource name of the connection, in the format 
projects/{project}/locations/{location}/connections/{connection_id}. 
#name=
def name=(value) -> ::String-  value (::String) — Immutable. The resource name of the connection, in the format 
projects/{project}/locations/{location}/connections/{connection_id}. 
-  (::String) — Immutable. The resource name of the connection, in the format 
projects/{project}/locations/{location}/connections/{connection_id}. 
#reconciling
def reconciling() -> ::Boolean- (::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- (::Google::Protobuf::Timestamp) — Output only. Server assigned timestamp for when the connection was updated.