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.
13142 13143 13144 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13142 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
13110 13111 13112 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13110 def action @action end |
#data_store_tool_trace ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUseDataStoreToolTrace
Corresponds to the JSON property dataStoreToolTrace
13115 13116 13117 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13115 def data_store_tool_trace @data_store_tool_trace end |
#display_name ⇒ String
Corresponds to the JSON property displayName
13120 13121 13122 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13120 def display_name @display_name end |
#input_action_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property inputActionParameters
13125 13126 13127 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13125 def input_action_parameters @input_action_parameters end |
#output_action_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property outputActionParameters
13130 13131 13132 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13130 def output_action_parameters @output_action_parameters end |
#tool ⇒ String
Corresponds to the JSON property tool
13135 13136 13137 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13135 def tool @tool end |
#webhook_tool_trace ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUseWebhookToolTrace
Corresponds to the JSON property webhookToolTrace
13140 13141 13142 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13140 def webhook_tool_trace @webhook_tool_trace end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13147 13148 13149 13150 13151 13152 13153 13154 13155 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13147 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 |