Cloud Build V1 API - Class Google::Cloud::Build::V1::Dependency::GitSourceDependency (v1.5.0)

Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::Dependency::GitSourceDependency.

Represents a git repository as a build dependency.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#depth

def depth() -> ::Integer
Returns
  • (::Integer) — Optional. How much history should be fetched for the build (default 1, -1 for all history).

#depth=

def depth=(value) -> ::Integer
Parameter
  • value (::Integer) — 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).

#dest_path

def dest_path() -> ::String
Returns
  • (::String) — Required. Where should the files be placed on the worker.

#dest_path=

def dest_path=(value) -> ::String
Parameter
  • value (::String) — Required. Where should the files be placed on the worker.
Returns
  • (::String) — Required. Where should the files be placed on the worker.

#recurse_submodules

def recurse_submodules() -> ::Boolean
Returns
  • (::Boolean) — Optional. True if submodules should be fetched too (default false).

#recurse_submodules=

def recurse_submodules=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. True if submodules should be fetched too (default false).
Returns
  • (::Boolean) — Optional. True if submodules should be fetched too (default false).

#repository

def repository() -> ::Google::Cloud::Build::V1::Dependency::GitSourceRepository
Returns

#repository=

def repository=(value) -> ::Google::Cloud::Build::V1::Dependency::GitSourceRepository
Parameter
Returns

#revision

def revision() -> ::String
Returns
  • (::String) — Required. The revision that we will fetch the repo at.

#revision=

def revision=(value) -> ::String
Parameter
  • value (::String) — Required. The revision that we will fetch the repo at.
Returns
  • (::String) — Required. The revision that we will fetch the repo at.