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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec

Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec.



7137
7138
7139
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7137

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)


7135
7136
7137
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7135

def data_store
  @data_store
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7142
7143
7144
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7142

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