Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#action ⇒ String
Corresponds to the JSON property
action. -
#data_store_tool_trace ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUseDataStoreToolTrace
Corresponds to the JSON property
dataStoreToolTrace. -
#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. -
#webhook_tool_trace ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUseWebhookToolTrace
Corresponds to the JSON property
webhookToolTrace.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolUse
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ToolUse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolUse
Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolUse.
13130 13131 13132 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13130 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
13098 13099 13100 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13098 def action @action end |
#data_store_tool_trace ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUseDataStoreToolTrace
Corresponds to the JSON property dataStoreToolTrace
13103 13104 13105 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13103 def data_store_tool_trace @data_store_tool_trace end |
#display_name ⇒ String
Corresponds to the JSON property displayName
13108 13109 13110 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13108 def display_name @display_name end |
#input_action_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property inputActionParameters
13113 13114 13115 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13113 def input_action_parameters @input_action_parameters end |
#output_action_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property outputActionParameters
13118 13119 13120 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13118 def output_action_parameters @output_action_parameters end |
#tool ⇒ String
Corresponds to the JSON property tool
13123 13124 13125 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13123 def tool @tool end |
#webhook_tool_trace ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUseWebhookToolTrace
Corresponds to the JSON property webhookToolTrace
13128 13129 13130 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13128 def webhook_tool_trace @webhook_tool_trace end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13135 13136 13137 13138 13139 13140 13141 13142 13143 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13135 def update!(**args) @action = args[:action] if args.key?(:action) @data_store_tool_trace = args[:data_store_tool_trace] if args.key?(:data_store_tool_trace) @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) @webhook_tool_trace = args[:webhook_tool_trace] if args.key?(:webhook_tool_trace) end |