Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig

Returns a new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig.



19242
19243
19244
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19242

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

Instance Attribute Details

#boost_specsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs>

Corresponds to the JSON property boostSpecs



19235
19236
19237
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19235

def boost_specs
  @boost_specs
end

#filter_specsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs>

Corresponds to the JSON property filterSpecs



19240
19241
19242
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19240

def filter_specs
  @filter_specs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19247
19248
19249
19250
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19247

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