Google Cloud Functions V1 Client - Class GenerateDownloadUrlRequest (1.3.1)

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

Request of GenerateDownloadUrl method.

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

Namespace

Google \ Cloud \ Functions \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The name of function for which source code Google Cloud Storage signed URL should be generated.

↳ version_id int|string

The optional version of function. If not set, default, current version is used.

getName

The name of function for which source code Google Cloud Storage signed URL should be generated.

Returns
TypeDescription
string

setName

The name of function for which source code Google Cloud Storage signed URL should be generated.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVersionId

The optional version of function. If not set, default, current version is used.

Returns
TypeDescription
int|string

setVersionId

The optional version of function. If not set, default, current version is used.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this