Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1RetrievalResultDelta

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

Overview

Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. ToolResultDelta.type

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1RetrievalResultDelta

Returns a new instance of GenaiVertexV1beta1RetrievalResultDelta.



5035
5036
5037
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5035

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

Instance Attribute Details

#is_errorBoolean Also known as: is_error?

Whether the retrieval resulted in an error. Corresponds to the JSON property isError

Returns:

  • (Boolean)


5032
5033
5034
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5032

def is_error
  @is_error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5040
5041
5042
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5040

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