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

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

A dependency that the Cloud Build worker will fetch before executing user steps.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#empty

def empty() -> ::Boolean
Returns
  • (::Boolean) — If set to true disable all dependency fetching (ignoring the default source as well).

    Note: The following fields are mutually exclusive: empty, git_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

#empty=

def empty=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set to true disable all dependency fetching (ignoring the default source as well).

    Note: The following fields are mutually exclusive: empty, git_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Boolean) — If set to true disable all dependency fetching (ignoring the default source as well).

    Note: The following fields are mutually exclusive: empty, git_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

#git_source

def git_source() -> ::Google::Cloud::Build::V1::Dependency::GitSourceDependency
Returns

#git_source=

def git_source=(value) -> ::Google::Cloud::Build::V1::Dependency::GitSourceDependency
Parameter
Returns