Class StorageSource (3.25.0)

StorageSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Location of the source in an archive file in Cloud Storage.

Attributes

Name Description
bucket str
Cloud Storage bucket containing the source (see `Bucket Name Requirements
object_ str
Cloud Storage object containing the source. This object must be a zipped (.zip) or gzipped archive file (.tar.gz) containing source to build.
generation int
Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
source_fetcher google.cloud.devtools.cloudbuild_v1.types.StorageSource.SourceFetcher
Option to specify the tool to fetch the source file for the build.

Classes

SourceFetcher

SourceFetcher(value)

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