Class: Google::Cloud::Build::V1::Dependency::GitSourceDependency
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::Dependency::GitSourceDependency
- 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
-
#depth ⇒ ::Integer
Optional.
-
#dest_path ⇒ ::String
Required.
-
#recurse_submodules ⇒ ::Boolean
Optional.
-
#repository ⇒ ::Google::Cloud::Build::V1::Dependency::GitSourceRepository
Required.
-
#revision ⇒ ::String
Required.
Instance Attribute Details
#depth ⇒ ::Integer
Returns 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.
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).
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).
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.
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 |