Google Cloud Functions V1 Client - Class GenerateUploadUrlResponse (1.4.2)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this