Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::ToolCallResult.
The result of calling a tool's action that has been executed by the client.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#action
def action() -> ::String- (::String) — Required. The name of the tool's action associated with this call.
#action=
def action=(value) -> ::String- value (::String) — Required. The name of the tool's action associated with this call.
- (::String) — Required. The name of the tool's action associated with this call.
#error
def error() -> ::Google::Cloud::Dialogflow::CX::V3::ToolCallResult::Error-
(::Google::Cloud::Dialogflow::CX::V3::ToolCallResult::Error) — The tool call's error.
Note: The following fields are mutually exclusive:
error,output_parameters. If a field in that set is populated, all other fields in the set will automatically be cleared.
#error=
def error=(value) -> ::Google::Cloud::Dialogflow::CX::V3::ToolCallResult::Error-
value (::Google::Cloud::Dialogflow::CX::V3::ToolCallResult::Error) — The tool call's error.
Note: The following fields are mutually exclusive:
error,output_parameters. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::CX::V3::ToolCallResult::Error) — The tool call's error.
Note: The following fields are mutually exclusive:
error,output_parameters. If a field in that set is populated, all other fields in the set will automatically be cleared.
#output_parameters
def output_parameters() -> ::Google::Protobuf::Struct-
(::Google::Protobuf::Struct) — The tool call's output parameters.
Note: The following fields are mutually exclusive:
output_parameters,error. If a field in that set is populated, all other fields in the set will automatically be cleared.
#output_parameters=
def output_parameters=(value) -> ::Google::Protobuf::Struct-
value (::Google::Protobuf::Struct) — The tool call's output parameters.
Note: The following fields are mutually exclusive:
output_parameters,error. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Struct) — The tool call's output parameters.
Note: The following fields are mutually exclusive:
output_parameters,error. If a field in that set is populated, all other fields in the set will automatically be cleared.
#tool
def tool() -> ::String-
(::String) — Required. The tool associated with
this call. Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.
#tool=
def tool=(value) -> ::String-
value (::String) — Required. The tool associated with
this call. Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.
-
(::String) — Required. The tool associated with
this call. Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.