Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearch

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive. See https://cloud.google.com/products/agent- builder

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1VertexAiSearch

Returns a new instance of GoogleCloudAiplatformV1VertexAiSearch.



38779
38780
38781
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 38779

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

Instance Attribute Details

#datastoreString

Optional. Fully-qualified Vertex AI Search data store resource ID. Format: projects/project/locations/location/collections/collection/dataStores/ dataStore` Corresponds to the JSON propertydatastore`

Returns:

  • (String)


38770
38771
38772
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 38770

def datastore
  @datastore
end

#engineString

Optional. Fully-qualified Vertex AI Search engine resource ID. Format: projects/project/locations/location/collections/collection/engines/ engine` Corresponds to the JSON propertyengine`

Returns:

  • (String)


38777
38778
38779
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 38777

def engine
  @engine
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



38784
38785
38786
38787
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 38784

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