Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCallResult
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCallResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#action ⇒ String
Corresponds to the JSON property
action. -
#error ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCallResultError
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) ⇒ GoogleCloudDialogflowCxV3ToolCallResult
constructor
A new instance of GoogleCloudDialogflowCxV3ToolCallResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolCallResult
Returns a new instance of GoogleCloudDialogflowCxV3ToolCallResult.
2691 2692 2693 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2691 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
2674 2675 2676 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2674 def action @action end |
#error ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCallResultError
Corresponds to the JSON property error
2679 2680 2681 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2679 def error @error end |
#output_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property outputParameters
2684 2685 2686 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2684 def output_parameters @output_parameters end |
#tool ⇒ String
Corresponds to the JSON property tool
2689 2690 2691 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2689 def tool @tool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2696 2697 2698 2699 2700 2701 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2696 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 |