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

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.