Google Cloud Functions V1 Client - Class GenerateUploadUrlResponse (1.6.5)

Reference documentation and code samples for the Google Cloud Functions V1 Client class GenerateUploadUrlResponse.

Response of GenerateSourceUploadUrl method.

Generated from protobuf message google.cloud.functions.v1.GenerateUploadUrlResponse

Namespace

Google \ Cloud \ Functions \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ upload_url 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.

getUploadUrl

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
Type Description
string

setUploadUrl

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.

Parameter
Name Description
var string
Returns
Type Description
$this