Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1RetrievalResultStep
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1RetrievalResultStep
- 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
Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
Instance Attribute Summary collapse
-
#is_error ⇒ Boolean
(also: #is_error?)
Whether the retrieval resulted in an error.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1RetrievalResultStep
constructor
A new instance of GenaiVertexV1beta1RetrievalResultStep.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1RetrievalResultStep
Returns a new instance of GenaiVertexV1beta1RetrievalResultStep.
5050 5051 5052 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5050 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_error ⇒ Boolean Also known as: is_error?
Whether the retrieval resulted in an error.
Corresponds to the JSON property isError
5047 5048 5049 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5047 def is_error @is_error end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5055 5056 5057 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5055 def update!(**args) @is_error = args[:is_error] if args.key?(:is_error) end |