Google Cloud Functions V2 Client - Class GenerateDownloadUrlResponse (1.1.2)

Reference documentation and code samples for the Google Cloud Functions V2 Client class GenerateDownloadUrlResponse.

Response of GenerateDownloadUrl method.

Generated from protobuf message google.cloud.functions.v2.GenerateDownloadUrlResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ download_url string

The generated Google Cloud Storage signed URL that should be used for function source code download.

getDownloadUrl

The generated Google Cloud Storage signed URL that should be used for function source code download.

Returns
TypeDescription
string

setDownloadUrl

The generated Google Cloud Storage signed URL that should be used for function source code download.

Parameter
NameDescription
var string
Returns
TypeDescription
$this