Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResultError
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResultError
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
An error produced by the tool call.
Instance Attribute Summary collapse
-
#message ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolCallResultError
constructor
A new instance of GoogleCloudDialogflowV2beta1ToolCallResultError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolCallResultError
Returns a new instance of GoogleCloudDialogflowV2beta1ToolCallResultError.
24140 24141 24142 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 24140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
Optional. The error message of the function.
Corresponds to the JSON property message
24138 24139 24140 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 24138 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
24145 24146 24147 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 24145 def update!(**args) @message = args[:message] if args.key?(:message) end |