Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/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) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs
constructor
A new instance of GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs
Returns a new instance of GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs.
16797 16798 16799 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16797 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
16788 16789 16790 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16788 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
16795 16796 16797 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16795 def filter @filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16802 16803 16804 16805 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16802 def update!(**args) @data_stores = args[:data_stores] if args.key?(:data_stores) @filter = args[:filter] if args.key?(:filter) end |