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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SearchConfig

Returns a new instance of GoogleCloudDialogflowCxV3beta1SearchConfig.



11703
11704
11705
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11703

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

Instance Attribute Details

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

Corresponds to the JSON property boostSpecs



11696
11697
11698
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11696

def boost_specs
  @boost_specs
end

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

Corresponds to the JSON property filterSpecs



11701
11702
11703
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11701

def filter_specs
  @filter_specs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11708
11709
11710
11711
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11708

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