Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexVectorSearch

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

The config for the Vertex Vector Search.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexVectorSearch

Returns a new instance of GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexVectorSearch.



26856
26857
26858
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26856

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

Instance Attribute Details

#indexString

The resource name of the Index. Format: projects/project/locations/ location/indexes/index` Corresponds to the JSON propertyindex`

Returns:

  • (String)


26848
26849
26850
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26848

def index
  @index
end

#index_endpointString

The resource name of the Index Endpoint. Format: projects/project/locations/ location/indexEndpoints/index_endpoint` Corresponds to the JSON propertyindexEndpoint`

Returns:

  • (String)


26854
26855
26856
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26854

def index_endpoint
  @index_endpoint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26861
26862
26863
26864
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26861

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