Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb

Overview

A struct to define data stores to filter on in a search call and configurations for those data stores. A maximum of 1 DataStoreSpec per data_store is allowed. Otherwise, an INVALID_ARGUMENT error is returned.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec

Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec.



11648
11649
11650
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11648

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

Instance Attribute Details

#data_storeString

Required. Full resource name of DataStore, such as projects/project/ locations/location/collections/collection_id/dataStores/data_store_id`. Corresponds to the JSON propertydataStore`

Returns:

  • (String)


11646
11647
11648
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11646

def data_store
  @data_store
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11653
11654
11655
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11653

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