Class: Google::Apis::CesV1::DataStoreToolDataStoreSource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataStoreToolDataStoreSource

Returns a new instance of DataStoreToolDataStoreSource.



2554
2555
2556
# File 'lib/google/apis/ces_v1/classes.rb', line 2554

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

Instance Attribute Details

#data_storeGoogle::Apis::CesV1::DataStore

A DataStore resource in Vertex AI Search. Corresponds to the JSON property dataStore



2546
2547
2548
# File 'lib/google/apis/ces_v1/classes.rb', line 2546

def data_store
  @data_store
end

#filterString

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

Returns:

  • (String)


2552
2553
2554
# File 'lib/google/apis/ces_v1/classes.rb', line 2552

def filter
  @filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2559
2560
2561
2562
# File 'lib/google/apis/ces_v1/classes.rb', line 2559

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