Cloud Functions V2 API - Class Google::Cloud::Functions::V2::StorageSource (v0.8.0)

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
Returns

#bucket=

def bucket=(value) -> ::String
Parameter
Returns

#generation

def generation() -> ::Integer
Returns
  • (::Integer) — Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

#generation=

def generation=(value) -> ::Integer
Parameter
  • value (::Integer) — Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
Returns
  • (::Integer) — Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

#object

def object() -> ::String
Returns
  • (::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
Parameter
  • value (::String) — Google Cloud Storage object containing the source.

    This object must be a gzipped archive file (.tar.gz) containing source to build.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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.