Reference documentation and code samples for the Cloud Functions V2 API class Google::Cloud::Functions::V2::StorageSource.
Location of the source in an archive file in Google Cloud Storage.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#bucket
def bucket() -> ::String- (::String) — Google Cloud Storage bucket containing the source (see Bucket Name Requirements).
 
#bucket=
def bucket=(value) -> ::String- value (::String) — Google Cloud Storage bucket containing the source (see Bucket Name Requirements).
 
- (::String) — Google Cloud Storage bucket containing the source (see Bucket Name Requirements).
 
#generation
def generation() -> ::Integer- (::Integer) — Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
 
#generation=
def generation=(value) -> ::Integer- value (::Integer) — Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
 
- (::Integer) — Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
 
#object
def object() -> ::String- 
        (::String) — Google Cloud Storage object containing the source.
This object must be a gzipped archive file (
.tar.gz) containing source to build. 
#object=
def object=(value) -> ::String- 
        value (::String) — Google Cloud Storage object containing the source.
This object must be a gzipped archive file (
.tar.gz) containing source to build. 
- 
        (::String) — Google Cloud Storage object containing the source.
This object must be a gzipped archive file (
.tar.gz) containing source to build. 
#source_upload_url
def source_upload_url() -> ::String- (::String) — 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.
 
#source_upload_url=
def source_upload_url=(value) -> ::String- value (::String) — 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.
 
- (::String) — 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.