Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ErrorEvent

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1ErrorEvent

Returns a new instance of GenaiVertexV1beta1ErrorEvent.



2173
2174
2175
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2173

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#errorGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1Error

Error message from an interaction. Corresponds to the JSON property error



2171
2172
2173
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2171

def error
  @error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2178
2179
2180
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2178

def update!(**args)
  @error = args[:error] if args.key?(:error)
end