Google Cloud Functions V1 Client - Class GenerateDownloadUrlRequest (1.2.0)

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

Methods

__construct

Constructor.

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

setName

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getVersionId

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

Returns
Type
Description
int|string

setVersionId

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

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: