Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#tool_call ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCall
Corresponds to the JSON property
toolCall. -
#tool_call_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCallResult
Corresponds to the JSON property
toolCallResult.
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.
14220 14221 14222 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14220 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tool_call ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCall
Corresponds to the JSON property toolCall
14213 14214 14215 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14213 def tool_call @tool_call end |
#tool_call_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCallResult
Corresponds to the JSON property toolCallResult
14218 14219 14220 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14218 def tool_call_result @tool_call_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14225 14226 14227 14228 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14225 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 |