Google Cloud Functions V1 Client - Class GenerateDownloadUrlResponse (1.2.0)

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

Response of GenerateDownloadUrl method.

Generated from protobuf message google.cloud.functions.v1.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