Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
Request and response for a tool call.
Instance Attribute Summary collapse
-
#tool_call ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCall
Represents a call of a specific tool's action with the specified inputs.
-
#tool_call_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCallResult
The result of calling a tool's action.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
constructor
A new instance of GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
Returns a new instance of GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo.
9217 9218 9219 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9217 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tool_call ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCall
Represents a call of a specific tool's action with the specified inputs.
Corresponds to the JSON property toolCall
9210 9211 9212 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9210 def tool_call @tool_call end |
#tool_call_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCallResult
The result of calling a tool's action.
Corresponds to the JSON property toolCallResult
9215 9216 9217 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9215 def tool_call_result @tool_call_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9222 9223 9224 9225 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9222 def update!(**args) @tool_call = args[:tool_call] if args.key?(:tool_call) @tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result) end |