# Class StorageSource (1.24.0)

1.24.0 (latest) 1.23.0 1.22.0 1.21.0 1.20.4 1.19.0 1.18.1 1.16.5 1.15.0 1.14.0 1.13.2 1.12.0 1.11.0 1.10.1 1.9.0 1.8.3 1.7.0 1.6.0 1.5.2 1.4.0 1.3.1 1.2.0 1.1.1 1.0.4 0.7.2 0.6.1 0.5.1 0.4.0 0.1.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. |