Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VertexAiSearchConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VertexAiSearchConfig
- 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
-
#datastores ⇒ Array<String>
Optional.
-
#engine ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1VertexAiSearchConfig
constructor
A new instance of GenaiVertexV1beta1VertexAiSearchConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1VertexAiSearchConfig
Returns a new instance of GenaiVertexV1beta1VertexAiSearchConfig.
5257 5258 5259 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5257 def initialize(**args) update!(**args) end |
Instance Attribute Details
#datastores ⇒ Array<String>
Optional. Used to specify Vertex AI Search datastores.
Corresponds to the JSON property datastores
5250 5251 5252 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5250 def datastores @datastores end |
#engine ⇒ String
Optional. Used to specify Vertex AI Search engine.
Corresponds to the JSON property engine
5255 5256 5257 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5255 def engine @engine end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5262 5263 5264 5265 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5262 def update!(**args) @datastores = args[:datastores] if args.key?(:datastores) @engine = args[:engine] if args.key?(:engine) end |