Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec

Returns a new instance of GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec.



4094
4095
4096
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4094

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)


4092
4093
4094
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4092

def data_store
  @data_store
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4099
4100
4101
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4099

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