Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FilterSpecs

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Overview

Filter specifications for data stores.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1FilterSpecs

Returns a new instance of GoogleCloudDialogflowCxV3beta1FilterSpecs.



7319
7320
7321
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7319

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#data_storesArray<String>

Optional. Data Stores where the boosting configuration is applied. The full names of the referenced data stores. Formats: projects/project/locations/ location/collections/collection/dataStores/data_store`projects/project /locations/location/dataStores/data_store Corresponds to the JSON property dataStores

Returns:

  • (Array<String>)


7310
7311
7312
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7310

def data_stores
  @data_stores
end

#filterString

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

Returns:

  • (String)


7317
7318
7319
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7317

def filter
  @filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7324
7325
7326
7327
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7324

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