Class: Google::Cloud::Build::V2::Connection
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V2::Connection
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/cloudbuild/v2/repositories.rb
Overview
A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center, Bitbucket Cloud or GitLab.
Defined Under Namespace
Classes: AnnotationsEntry
Instance Attribute Summary collapse
-
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Allows clients to store small amounts of arbitrary data.
-
#bitbucket_cloud_config ⇒ ::Google::Cloud::Build::V2::BitbucketCloudConfig
Configuration for connections to Bitbucket Cloud.
-
#bitbucket_data_center_config ⇒ ::Google::Cloud::Build::V2::BitbucketDataCenterConfig
Configuration for connections to Bitbucket Data Center.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#disabled ⇒ ::Boolean
If disabled is set to true, functionality is disabled for this connection.
-
#etag ⇒ ::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 ⇒ ::Google::Cloud::Build::V2::GitHubConfig
Configuration for connections to github.com.
-
#github_enterprise_config ⇒ ::Google::Cloud::Build::V2::GitHubEnterpriseConfig
Configuration for connections to an instance of GitHub Enterprise.
-
#gitlab_config ⇒ ::Google::Cloud::Build::V2::GitLabConfig
Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
-
#installation_state ⇒ ::Google::Cloud::Build::V2::InstallationState
readonly
Output only.
-
#name ⇒ ::String
Immutable.
-
#reconciling ⇒ ::Boolean
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Allows clients to store small amounts of arbitrary data.
72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 72 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#bitbucket_cloud_config ⇒ ::Google::Cloud::Build::V2::BitbucketCloudConfig
Returns Configuration for connections to Bitbucket Cloud.
72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 72 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#bitbucket_data_center_config ⇒ ::Google::Cloud::Build::V2::BitbucketDataCenterConfig
Returns Configuration for connections to Bitbucket Data Center.
72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 72 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Server assigned timestamp for when the connection was created.
72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 72 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#disabled ⇒ ::Boolean
Returns 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.
72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 72 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#etag ⇒ ::String
Returns 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.
72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 72 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#github_config ⇒ ::Google::Cloud::Build::V2::GitHubConfig
Returns Configuration for connections to github.com.
72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 72 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#github_enterprise_config ⇒ ::Google::Cloud::Build::V2::GitHubEnterpriseConfig
Returns Configuration for connections to an instance of GitHub Enterprise.
72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 72 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#gitlab_config ⇒ ::Google::Cloud::Build::V2::GitLabConfig
Returns Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 72 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#installation_state ⇒ ::Google::Cloud::Build::V2::InstallationState (readonly)
Returns Output only. Installation state of the Connection.
72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 72 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String
Returns Immutable. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}
.
72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 72 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#reconciling ⇒ ::Boolean (readonly)
Returns Output only. Set to true when the connection is being set up or updated in the background.
72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 72 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Server assigned timestamp for when the connection was updated.
72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 72 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |