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.



1737
1738
1739
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1737

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

Instance Attribute Details

#errorGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1Error

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



1735
1736
1737
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1735

def error
  @error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1742
1743
1744
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1742

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