Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolCallResult
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolCallResult
- 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. -
#error ⇒ Google::Apis::DialogflowV3beta1::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.
12708 12709 12710 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12708 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
12691 12692 12693 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12691 def action @action end |
#error ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolCallResultError
Corresponds to the JSON property error
12696 12697 12698 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12696 def error @error end |
#output_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property outputParameters
12701 12702 12703 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12701 def output_parameters @output_parameters end |
#tool ⇒ String
Corresponds to the JSON property tool
12706 12707 12708 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12706 def tool @tool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12713 12714 12715 12716 12717 12718 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12713 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 |