Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig
- 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
-
#boost_specs ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs>
Corresponds to the JSON property
boostSpecs. -
#filter_specs ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs>
Corresponds to the JSON property
filterSpecs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig
constructor
A new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig
Returns a new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig.
19154 19155 19156 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19154 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boost_specs ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs>
Corresponds to the JSON property boostSpecs
19147 19148 19149 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19147 def boost_specs @boost_specs end |
#filter_specs ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs>
Corresponds to the JSON property filterSpecs
19152 19153 19154 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19152 def filter_specs @filter_specs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19159 19160 19161 19162 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19159 def update!(**args) @boost_specs = args[:boost_specs] if args.key?(:boost_specs) @filter_specs = args[:filter_specs] if args.key?(:filter_specs) end |