Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ToolUse.
Stores metadata of the invocation of an action supported by a tool.
Generated from protobuf message google.cloud.dialogflow.cx.v3.ToolUse
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ tool
string
Required. The tool
that should be used. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>
.
↳ display_name
string
Output only. The display name of the tool.
↳ action
string
Optional. Name of the action to be called during the tool use.
↳ input_action_parameters
↳ output_action_parameters
getTool
Required. The tool
that should be
used. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>
.
string
setTool
Required. The tool
that should be
used. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>
.
var
string
$this
getDisplayName
Output only. The display name of the tool.
string
setDisplayName
Output only. The display name of the tool.
var
string
$this
getAction
Optional. Name of the action to be called during the tool use.
string
setAction
Optional. Name of the action to be called during the tool use.
var
string
$this
getInputActionParameters
Optional. A list of input parameters for the action.
hasInputActionParameters
clearInputActionParameters
setInputActionParameters
Optional. A list of input parameters for the action.
$this
getOutputActionParameters
Optional. A list of output parameters generated by the action.
hasOutputActionParameters
clearOutputActionParameters
setOutputActionParameters
Optional. A list of output parameters generated by the action.
$this

