Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall
- 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
-
#action ⇒ String
Corresponds to the JSON property
action. -
#input_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property
inputParameters. -
#tool ⇒ String
Corresponds to the JSON property
tool.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolCall
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ToolCall.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolCall
Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolCall.
12360 12361 12362 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12360 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
12348 12349 12350 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12348 def action @action end |
#input_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property inputParameters
12353 12354 12355 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12353 def input_parameters @input_parameters end |
#tool ⇒ String
Corresponds to the JSON property tool
12358 12359 12360 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12358 def tool @tool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12365 12366 12367 12368 12369 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12365 def update!(**args) @action = args[:action] if args.key?(:action) @input_parameters = args[:input_parameters] if args.key?(:input_parameters) @tool = args[:tool] if args.key?(:tool) end |