Class: Google::Cloud::Functions::V2::GenerateUploadUrlResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/functions/v2/functions.rb

Overview

Response of GenerateSourceUploadUrl method.

Instance Attribute Summary collapse

Instance Attribute Details

#storage_source::Google::Cloud::Functions::V2::StorageSource

Returns The location of the source code in the upload bucket.

Once the archive is uploaded using the upload_url use this field to set the function.build_config.source.storage_source during CreateFunction and UpdateFunction.

Generation defaults to 0, as Cloud Storage provides a new generation only upon uploading a new object or version of an object.

Returns:

  • (::Google::Cloud::Functions::V2::StorageSource)

    The location of the source code in the upload bucket.

    Once the archive is uploaded using the upload_url use this field to set the function.build_config.source.storage_source during CreateFunction and UpdateFunction.

    Generation defaults to 0, as Cloud Storage provides a new generation only upon uploading a new object or version of an object.



847
848
849
850
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 847

class GenerateUploadUrlResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#upload_url::String

Returns The generated Google Cloud Storage signed URL that should be used for a function source code upload. The uploaded file should be a zip archive which contains a function.

Returns:

  • (::String)

    The generated Google Cloud Storage signed URL that should be used for a function source code upload. The uploaded file should be a zip archive which contains a function.



847
848
849
850
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 847

class GenerateUploadUrlResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end