Class StorageSource (1.18.0)

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

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

Attributes

Name Description
bucket str
Google Cloud Storage bucket containing the source (see `Bucket Name Requirements
object_ str
Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.
generation int
Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
source_upload_url str
When the specified storage bucket is a 1st gen function uploard url bucket, this field should be set as the generated upload url for 1st gen deployment.