Class: Google::Cloud::Build::V1::Dependency::GitSourceDependency

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

Overview

Represents a git repository as a build dependency.

Instance Attribute Summary collapse

Instance Attribute Details

#depth::Integer

Returns Optional. How much history should be fetched for the build (default 1, -1 for all history).

Returns:

  • (::Integer)

    Optional. How much history should be fetched for the build (default 1, -1 for all history).



829
830
831
832
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 829

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

#dest_path::String

Returns Required. Where should the files be placed on the worker.

Returns:

  • (::String)

    Required. Where should the files be placed on the worker.



829
830
831
832
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 829

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

#recurse_submodules::Boolean

Returns Optional. True if submodules should be fetched too (default false).

Returns:

  • (::Boolean)

    Optional. True if submodules should be fetched too (default false).



829
830
831
832
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 829

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

#repository::Google::Cloud::Build::V1::Dependency::GitSourceRepository

Returns Required. The kind of repo (url or dev connect).

Returns:



829
830
831
832
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 829

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

#revision::String

Returns Required. The revision that we will fetch the repo at.

Returns:

  • (::String)

    Required. The revision that we will fetch the repo at.



829
830
831
832
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 829

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