Class: Google::Cloud::Build::V1::ConnectedRepository

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb

Overview

Location of the source in a 2nd-gen Google Cloud Build repository resource.

Instance Attribute Summary collapse

Instance Attribute Details

#dir::String

Returns Optional. Directory, relative to the source root, in which to run the build.

Returns:

  • (::String)

    Optional. Directory, relative to the source root, in which to run the build.



253
254
255
256
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 253

class ConnectedRepository
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#repository::String

Returns Required. Name of the Google Cloud Build repository, formatted as projects/*/locations/*/connections/*/repositories/*.

Returns:

  • (::String)

    Required. Name of the Google Cloud Build repository, formatted as projects/*/locations/*/connections/*/repositories/*.



253
254
255
256
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 253

class ConnectedRepository
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#revision::String

Returns Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.

Returns:

  • (::String)

    Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.



253
254
255
256
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 253

class ConnectedRepository
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end