Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
A struct to define data stores to filter on in a search call and
configurations for those data stores. Otherwise, an INVALID_ARGUMENT
error
is returned.
Instance Attribute Summary collapse
-
#data_store ⇒ String
Required.
-
#filter ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec.
13532 13533 13534 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 13532 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_store ⇒ String
Required. Full resource name of DataStore, such as projects/
project/
locations/
location/collections/
collection_id/dataStores/
data_store_id`.
Corresponds to the JSON property
dataStore`
13523 13524 13525 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 13523 def data_store @data_store end |
#filter ⇒ String
Optional. Filter specification to filter documents in the data store specified
by data_store field. For more information on filtering, see Filtering
Corresponds to the JSON property filter
13530 13531 13532 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 13530 def filter @filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13537 13538 13539 13540 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 13537 def update!(**args) @data_store = args[:data_store] if args.key?(:data_store) @filter = args[:filter] if args.key?(:filter) end |