Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig

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) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig

Returns a new instance of GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig.



14867
14868
14869
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14867

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

Instance Attribute Details

#boost_specsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs>

Corresponds to the JSON property boostSpecs



14860
14861
14862
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14860

def boost_specs
  @boost_specs
end

#filter_specsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs>

Corresponds to the JSON property filterSpecs



14865
14866
14867
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14865

def filter_specs
  @filter_specs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14872
14873
14874
14875
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14872

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