Reference documentation and code samples for the Google Cloud Functions V1 Client class CallFunctionResponse.
Response of CallFunction
method.
Generated from protobuf message google.cloud.functions.v1.CallFunctionResponse
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ execution_id
string
Execution id of function invocation.
↳ result
string
Result populated for successful execution of synchronous function. Will not be populated if function does not return a result through context.
↳ error
string
Either system or user-function generated error. Set if execution was not successful.
getExecutionId
Execution id of function invocation.
string
setExecutionId
Execution id of function invocation.
var
string
$this
getResult
Result populated for successful execution of synchronous function. Will not be populated if function does not return a result through context.
string
setResult
Result populated for successful execution of synchronous function. Will not be populated if function does not return a result through context.
var
string
$this
getError
Either system or user-function generated error. Set if execution was not successful.
string
setError
Either system or user-function generated error. Set if execution was not successful.
var
string
$this