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
-
#boost_spec ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec
Boost specification to boost certain documents.
-
#data_store ⇒ String
Required.
-
#filter ⇒ String
Optional.
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.
21761 21762 21763 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 21761 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boost_spec ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec
Boost specification to boost certain documents.
Corresponds to the JSON property boostSpec
21746 21747 21748 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 21746 def boost_spec @boost_spec end |
#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`
21752 21753 21754 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 21752 def data_store @data_store end |
#filter ⇒ String
Optional. Filter specification to filter documents in the data store specified
by data_store field. For more information on filtering, see Filtering
Corresponds to the JSON property filter
21759 21760 21761 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 21759 def filter @filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21766 21767 21768 21769 21770 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 21766 def update!(**args) @boost_spec = args[:boost_spec] if args.key?(:boost_spec) @data_store = args[:data_store] if args.key?(:data_store) @filter = args[:filter] if args.key?(:filter) end |