Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec
- 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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec
Returns a new instance of GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec.
6532 6533 6534 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6532 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`
6530 6531 6532 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6530 def data_store @data_store end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6537 6538 6539 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6537 def update!(**args) @data_store = args[:data_store] if args.key?(:data_store) end |