Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
- 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::GoogleCloudDialogflowV2beta1ToolCall
Corresponds to the JSON property
toolCall. -
#tool_call_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCallResult
Corresponds to the JSON property
toolCallResult.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
constructor
A new instance of GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
Returns a new instance of GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo.
17950 17951 17952 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17950 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tool_call ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCall
Corresponds to the JSON property toolCall
17943 17944 17945 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17943 def tool_call @tool_call end |
#tool_call_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCallResult
Corresponds to the JSON property toolCallResult
17948 17949 17950 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17948 def tool_call_result @tool_call_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17955 17956 17957 17958 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17955 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 |