Google Cloud Build V1 Client - Class SourceFetcher (0.15.0)

Reference documentation and code samples for the Google Cloud Build V1 Client class SourceFetcher.

Specifies the tool to fetch the source file for the build.

Protobuf type google.devtools.cloudbuild.v1.StorageSource.SourceFetcher

Namespace

Google \ Cloud \ Build \ V1 \ StorageSource

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

SOURCE_FETCHER_UNSPECIFIED

Value: 0

Unspecified. Defaults to GSUTIL.

Generated from protobuf enum SOURCE_FETCHER_UNSPECIFIED = 0;

GSUTIL

Value: 1

Use the "gsutil" tool to download the source file.

Generated from protobuf enum GSUTIL = 1;

GCS_FETCHER

Value: 2

Use the Cloud Storage Fetcher tool to download the source file.

Generated from protobuf enum GCS_FETCHER = 2;