Google Cloud Functions V2 Client - Class GenerateDownloadUrlResponse (2.0.0)

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

Namespace

Google \ Cloud \ Functions \ V2

Methods

__construct

Constructor.

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

setDownloadUrl

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

Parameter
Name Description
var string
Returns
Type Description
$this