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.
1838 1839 1840 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1838 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
A URI that identifies the error type.
Corresponds to the JSON property code
1831 1832 1833 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1831 def code @code end |
#message ⇒ String
A human-readable error message.
Corresponds to the JSON property message
1836 1837 1838 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1836 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1843 1844 1845 1846 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1843 def update!(**args) @code = args[:code] if args.key?(:code) @message = args[:message] if args.key?(:message) end |