Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult
- 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. -
#error ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResultError
Corresponds to the JSON property
error. -
#output_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property
outputParameters. -
#tool ⇒ String
Corresponds to the JSON property
tool.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolCallResult
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ToolCallResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolCallResult
Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolCallResult.
12384 12385 12386 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12384 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
12367 12368 12369 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12367 def action @action end |
#error ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResultError
Corresponds to the JSON property error
12372 12373 12374 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12372 def error @error end |
#output_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property outputParameters
12377 12378 12379 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12377 def output_parameters @output_parameters end |
#tool ⇒ String
Corresponds to the JSON property tool
12382 12383 12384 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12382 def tool @tool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12389 12390 12391 12392 12393 12394 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12389 def update!(**args) @action = args[:action] if args.key?(:action) @error = args[:error] if args.key?(:error) @output_parameters = args[:output_parameters] if args.key?(:output_parameters) @tool = args[:tool] if args.key?(:tool) end |