Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ToolCallResult.
The result of calling a tool's action that has been executed by the client.
Generated from protobuf message google.cloud.dialogflow.cx.v3.ToolCallResult
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ tool
string
Required. The tool
associated with this call. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>
.
↳ action
string
Required. The name of the tool's action associated with this call.
↳ error
↳ output_parameters
getTool
Required. The tool
associated with
this call. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>
.
string
setTool
Required. The tool
associated with
this call. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>
.
var
string
$this
getAction
Required. The name of the tool's action associated with this call.
string
setAction
Required. The name of the tool's action associated with this call.
var
string
$this
getError
The tool call's error.
hasError
setError
The tool call's error.
$this
getOutputParameters
The tool call's output parameters.
hasOutputParameters
setOutputParameters
The tool call's output parameters.
$this
getResult
string

