Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResultError
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResultError
- 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
Overview
An error produced by the tool call.
Instance Attribute Summary collapse
-
#message ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolCallResultError
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ToolCallResultError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolCallResultError
Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolCallResultError.
7099 7100 7101 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7099 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
Optional. The error message of the function.
Corresponds to the JSON property message
7097 7098 7099 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7097 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7104 7105 7106 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7104 def update!(**args) @message = args[:message] if args.key?(:message) end |