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.



2392
2393
2394
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2392

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

Instance Attribute Details

#errorGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1Error

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



2390
2391
2392
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2390

def error
  @error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2397
2398
2399
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2397

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