Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SearchConfig

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

Search configuration for UCS search queries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SearchConfig

Returns a new instance of GoogleCloudDialogflowCxV3beta1SearchConfig.



12200
12201
12202
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12200

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

Instance Attribute Details

#boost_specsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecs>

Optional. Boosting configuration for the datastores. Corresponds to the JSON property boostSpecs



12193
12194
12195
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12193

def boost_specs
  @boost_specs
end

#filter_specsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FilterSpecs>

Optional. Filter configuration for the datastores. Corresponds to the JSON property filterSpecs



12198
12199
12200
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12198

def filter_specs
  @filter_specs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12205
12206
12207
12208
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12205

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