Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ToolCallResultError
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ToolCallResultError
- 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
Overview
An error produced by the tool call.
Instance Attribute Summary collapse
-
#message ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolCallResultError
constructor
A new instance of GoogleCloudDialogflowCxV3ToolCallResultError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolCallResultError
Returns a new instance of GoogleCloudDialogflowCxV3ToolCallResultError.
3215 3216 3217 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3215 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
Optional. The error message of the function.
Corresponds to the JSON property message
3213 3214 3215 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3213 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3220 3221 3222 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3220 def update!(**args) @message = args[:message] if args.key?(:message) end |