Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
- 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. Otherwise, an INVALID_ARGUMENT error
is returned.
Instance Attribute Summary collapse
-
#boost_spec ⇒ Google::Apis::DiscoveryengineV1beta::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.
19887 19888 19889 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19887 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boost_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec
Boost specification to boost certain documents.
Corresponds to the JSON property boostSpec
19872 19873 19874 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19872 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 propertydataStore`
19878 19879 19880 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19878 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
19885 19886 19887 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19885 def filter @filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19892 19893 19894 19895 19896 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19892 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 |