Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/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) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec.
16661 16662 16663 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16661 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`
16659 16660 16661 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16659 def data_store @data_store end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16666 16667 16668 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16666 def update!(**args) @data_store = args[:data_store] if args.key?(:data_store) end |