Class: Google::Cloud::Build::V2::Connection

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#annotations::Google::Protobuf::Map{::String => ::String}

Returns Allows clients to store small amounts of arbitrary data.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    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.

Returns:



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.

Returns:



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.

Returns:



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.

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.



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.

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.



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.

Returns:



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.

Returns:



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.

Returns:



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.

Returns:



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}.

Returns:

  • (::String)

    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.

Returns:

  • (::Boolean)

    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.

Returns:



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