Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VertexAiSearchConfig

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 to specify configuration for VertexAISearch.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1VertexAiSearchConfig

Returns a new instance of GenaiVertexV1beta1VertexAiSearchConfig.



5668
5669
5670
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5668

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

Instance Attribute Details

#datastoresArray<String>

Optional. Used to specify Vertex AI Search datastores. Corresponds to the JSON property datastores

Returns:

  • (Array<String>)


5661
5662
5663
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5661

def datastores
  @datastores
end

#engineString

Optional. Used to specify Vertex AI Search engine. Corresponds to the JSON property engine

Returns:

  • (String)


5666
5667
5668
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5666

def engine
  @engine
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5673
5674
5675
5676
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5673

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