Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResultError
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResultError
- 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
-
#message ⇒ String
Corresponds to the JSON property
message. -
#retryable ⇒ Boolean
(also: #retryable?)
Corresponds to the JSON property
retryable.
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.
22221 22222 22223 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22221 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
Corresponds to the JSON property message
22213 22214 22215 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22213 def @message end |
#retryable ⇒ Boolean Also known as: retryable?
Corresponds to the JSON property retryable
22218 22219 22220 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22218 def retryable @retryable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22226 22227 22228 22229 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22226 def update!(**args) @message = args[:message] if args.key?(:message) @retryable = args[:retryable] if args.key?(:retryable) end |