Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
Filter specification for data store queries.
Instance Attribute Summary collapse
-
#data_stores ⇒ Array<String>
Optional.
-
#filter ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs
constructor
A new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs
Returns a new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs.
21307 21308 21309 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21307 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_stores ⇒ Array<String>
Optional. The data store where the filter configuration is applied. Full
resource name of data store, such as projects/project/locations/location/
collections/collectionId/ dataStores/dataStoreId.
Corresponds to the JSON property dataStores
21298 21299 21300 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21298 def data_stores @data_stores end |
#filter ⇒ String
Optional. The filter expression to be applied. Expression syntax is documented
at https://cloud.google.com/generative-ai-app-builder/docs/filter-search-
metadata#filter-expression-syntax
Corresponds to the JSON property filter
21305 21306 21307 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21305 def filter @filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21312 21313 21314 21315 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21312 def update!(**args) @data_stores = args[:data_stores] if args.key?(:data_stores) @filter = args[:filter] if args.key?(:filter) end |