Reference documentation and code samples for the Google Cloud Ces V1 Client class ExecuteToolResponse.
Response message for ToolService.ExecuteTool .
Generated from protobuf message google.cloud.ces.v1.ExecuteToolResponse
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ tool
string
The name of the tool that got executed. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
↳ toolset_tool
↳ response
Google\Protobuf\Struct
The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result.
↳ variables
getTool
The name of the tool that got executed.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string
hasTool
setTool
The name of the tool that got executed.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
var
string
$this
getToolsetTool
The toolset tool that got executed.
hasToolsetTool
setToolsetTool
The toolset tool that got executed.
$this
getResponse
The tool execution result in JSON object format.
Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result.
hasResponse
clearResponse
setResponse
The tool execution result in JSON object format.
Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result.
$this
getVariables
The variable values at the end of the tool execution.
hasVariables
clearVariables
setVariables
The variable values at the end of the tool execution.
$this
getToolIdentifier
string

