Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Error
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Error
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Error message from an interaction.
Instance Attribute Summary collapse
-
#code ⇒ String
A URI that identifies the error type.
-
#message ⇒ String
A human-readable error message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1Error
constructor
A new instance of GenaiVertexV1beta1Error.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1Error
Returns a new instance of GenaiVertexV1beta1Error.
1717 1718 1719 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1717 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
A URI that identifies the error type.
Corresponds to the JSON property code
1710 1711 1712 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1710 def code @code end |
#message ⇒ String
A human-readable error message.
Corresponds to the JSON property message
1715 1716 1717 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1715 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1722 1723 1724 1725 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1722 def update!(**args) @code = args[:code] if args.key?(:code) @message = args[:message] if args.key?(:message) end |