Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs

Returns a new instance of GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs.



15198
15199
15200
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15198

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

Instance Attribute Details

#data_storesArray<String>

Corresponds to the JSON property dataStores

Returns:

  • (Array<String>)


15191
15192
15193
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15191

def data_stores
  @data_stores
end

#filterString

Corresponds to the JSON property filter

Returns:

  • (String)


15196
15197
15198
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15196

def filter
  @filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15203
15204
15205
15206
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15203

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