Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::ExecuteToolResponse.
Response message for ToolService.ExecuteTool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#response
def response() -> ::Google::Protobuf::Struct- (::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.
#response=
def response=(value) -> ::Google::Protobuf::Struct- value (::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.
- (::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.
#tool
def tool() -> ::String-
(::String) — The name of the tool that got executed.
Format:
projects/{project}/locations/{location}/apps/{app}/tools/{tool}Note: The following fields are mutually exclusive:
tool,toolset_tool. If a field in that set is populated, all other fields in the set will automatically be cleared.
#tool=
def tool=(value) -> ::String-
value (::String) — The name of the tool that got executed.
Format:
projects/{project}/locations/{location}/apps/{app}/tools/{tool}Note: The following fields are mutually exclusive:
tool,toolset_tool. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — The name of the tool that got executed.
Format:
projects/{project}/locations/{location}/apps/{app}/tools/{tool}Note: The following fields are mutually exclusive:
tool,toolset_tool. If a field in that set is populated, all other fields in the set will automatically be cleared.
#toolset_tool
def toolset_tool() -> ::Google::Cloud::Ces::V1beta::ToolsetTool-
(::Google::Cloud::Ces::V1beta::ToolsetTool) — The toolset tool that got executed.
Note: The following fields are mutually exclusive:
toolset_tool,tool. If a field in that set is populated, all other fields in the set will automatically be cleared.
#toolset_tool=
def toolset_tool=(value) -> ::Google::Cloud::Ces::V1beta::ToolsetTool-
value (::Google::Cloud::Ces::V1beta::ToolsetTool) — The toolset tool that got executed.
Note: The following fields are mutually exclusive:
toolset_tool,tool. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Ces::V1beta::ToolsetTool) — The toolset tool that got executed.
Note: The following fields are mutually exclusive:
toolset_tool,tool. If a field in that set is populated, all other fields in the set will automatically be cleared.
#variables
def variables() -> ::Google::Protobuf::Struct- (::Google::Protobuf::Struct) — The variable values at the end of the tool execution.
#variables=
def variables=(value) -> ::Google::Protobuf::Struct- value (::Google::Protobuf::Struct) — The variable values at the end of the tool execution.
- (::Google::Protobuf::Struct) — The variable values at the end of the tool execution.