Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCallResultError
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCallResultError
- 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
Overview
An error produced by the tool call.
Instance Attribute Summary collapse
-
#message ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolCallResultError
constructor
A new instance of GoogleCloudDialogflowV2ToolCallResultError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolCallResultError
Returns a new instance of GoogleCloudDialogflowV2ToolCallResultError.
18894 18895 18896 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18894 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
Optional. The error message of the function.
Corresponds to the JSON property message
18892 18893 18894 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18892 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18899 18900 18901 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18899 def update!(**args) @message = args[:message] if args.key?(:message) end |