Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolCall
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolCall
- 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) ⇒ GoogleCloudDialogflowCxV3ToolCall
constructor
A new instance of GoogleCloudDialogflowCxV3ToolCall.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolCall
Returns a new instance of GoogleCloudDialogflowCxV3ToolCall.
8137 8138 8139 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
8125 8126 8127 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8125 def action @action end |
#input_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property inputParameters
8130 8131 8132 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8130 def input_parameters @input_parameters end |
#tool ⇒ String
Corresponds to the JSON property tool
8135 8136 8137 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8135 def tool @tool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8142 8143 8144 8145 8146 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8142 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 |