Class: Google::Apis::CesV1::DataStoreToolDataStoreSource
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::DataStoreToolDataStoreSource
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Configuration for searching within a specific DataStore.
Instance Attribute Summary collapse
-
#data_store ⇒ Google::Apis::CesV1::DataStore
A DataStore resource in Vertex AI Search.
-
#filter ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataStoreToolDataStoreSource
constructor
A new instance of DataStoreToolDataStoreSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataStoreToolDataStoreSource
Returns a new instance of DataStoreToolDataStoreSource.
2457 2458 2459 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2457 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_store ⇒ Google::Apis::CesV1::DataStore
A DataStore resource in Vertex AI Search.
Corresponds to the JSON property dataStore
2449 2450 2451 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2449 def data_store @data_store end |
#filter ⇒ String
Optional. Filter specification for the DataStore. See: https://cloud.google.
com/generative-ai-app-builder/docs/filter-search-metadata
Corresponds to the JSON property filter
2455 2456 2457 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2455 def filter @filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2462 2463 2464 2465 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2462 def update!(**args) @data_store = args[:data_store] if args.key?(:data_store) @filter = args[:filter] if args.key?(:filter) end |