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.
8398 8399 8400 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8398 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
8376 8377 8378 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8376 def action @action end |
#display_name ⇒ String
Corresponds to the JSON property displayName
8381 8382 8383 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8381 def display_name @display_name end |
#input_action_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property inputActionParameters
8386 8387 8388 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8386 def input_action_parameters @input_action_parameters end |
#output_action_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property outputActionParameters
8391 8392 8393 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8391 def output_action_parameters @output_action_parameters end |
#tool ⇒ String
Corresponds to the JSON property tool
8396 8397 8398 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8396 def tool @tool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8403 8404 8405 8406 8407 8408 8409 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8403 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 |