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.
1953 1954 1955 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1953 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
A URI that identifies the error type.
Corresponds to the JSON property code
1946 1947 1948 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1946 def code @code end |
#message ⇒ String
A human-readable error message.
Corresponds to the JSON property message
1951 1952 1953 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1951 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1958 1959 1960 1961 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1958 def update!(**args) @code = args[:code] if args.key?(:code) @message = args[:message] if args.key?(:message) end |