Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SearchConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SearchConfig

Returns a new instance of GoogleCloudDialogflowCxV3SearchConfig.



7242
7243
7244
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7242

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

Instance Attribute Details

#boost_specsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecs>

Corresponds to the JSON property boostSpecs



7235
7236
7237
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7235

def boost_specs
  @boost_specs
end

#filter_specsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FilterSpecs>

Corresponds to the JSON property filterSpecs



7240
7241
7242
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7240

def filter_specs
  @filter_specs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7247
7248
7249
7250
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7247

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