Google Cloud Functions V1 Client - Class CallFunctionRequest (1.2.0)

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

Request for the CallFunction method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the function to be called.

↳ data string

Required. Input to be passed to the function.

getName

Required. The name of the function to be called.

Returns
TypeDescription
string

setName

Required. The name of the function to be called.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getData

Required. Input to be passed to the function.

Returns
TypeDescription
string

setData

Required. Input to be passed to the function.

Parameter
NameDescription
var string
Returns
TypeDescription
$this