Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::GeneratorSuggestion::ToolCallInfo.
Request and response for a tool call.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#tool_call
def tool_call() -> ::Google::Cloud::Dialogflow::V2::ToolCall
Returns
- (::Google::Cloud::Dialogflow::V2::ToolCall) — Required. Request for a tool call.
#tool_call=
def tool_call=(value) -> ::Google::Cloud::Dialogflow::V2::ToolCall
Parameter
- value (::Google::Cloud::Dialogflow::V2::ToolCall) — Required. Request for a tool call.
Returns
- (::Google::Cloud::Dialogflow::V2::ToolCall) — Required. Request for a tool call.
#tool_call_result
def tool_call_result() -> ::Google::Cloud::Dialogflow::V2::ToolCallResult
Returns
- (::Google::Cloud::Dialogflow::V2::ToolCallResult) — Required. Response for a tool call.
#tool_call_result=
def tool_call_result=(value) -> ::Google::Cloud::Dialogflow::V2::ToolCallResult
Parameter
- value (::Google::Cloud::Dialogflow::V2::ToolCallResult) — Required. Response for a tool call.
Returns
- (::Google::Cloud::Dialogflow::V2::ToolCallResult) — Required. Response for a tool call.