Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolUse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolUse
- 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. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#input_action_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property
inputActionParameters. -
#output_action_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property
outputActionParameters. -
#tool ⇒ String
Corresponds to the JSON property
tool.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolUse
constructor
A new instance of GoogleCloudDialogflowCxV3ToolUse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolUse
Returns a new instance of GoogleCloudDialogflowCxV3ToolUse.
8404 8405 8406 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8404 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
8382 8383 8384 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8382 def action @action end |
#display_name ⇒ String
Corresponds to the JSON property displayName
8387 8388 8389 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8387 def display_name @display_name end |
#input_action_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property inputActionParameters
8392 8393 8394 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8392 def input_action_parameters @input_action_parameters end |
#output_action_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property outputActionParameters
8397 8398 8399 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8397 def output_action_parameters @output_action_parameters end |
#tool ⇒ String
Corresponds to the JSON property tool
8402 8403 8404 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8402 def tool @tool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8409 8410 8411 8412 8413 8414 8415 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8409 def update!(**args) @action = args[:action] if args.key?(:action) @display_name = args[:display_name] if args.key?(:display_name) @input_action_parameters = args[:input_action_parameters] if args.key?(:input_action_parameters) @output_action_parameters = args[:output_action_parameters] if args.key?(:output_action_parameters) @tool = args[:tool] if args.key?(:tool) end |