Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec
- 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 ⇒ Float
Corresponds to the JSON property
boost. -
#boost_control_spec ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec
Corresponds to the JSON property
boostControlSpec. -
#condition ⇒ String
Corresponds to the JSON property
condition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec
constructor
A new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec
Returns a new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec.
19228 19229 19230 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19228 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boost ⇒ Float
Corresponds to the JSON property boost
19216 19217 19218 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19216 def boost @boost end |
#boost_control_spec ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec
Corresponds to the JSON property boostControlSpec
19221 19222 19223 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19221 def boost_control_spec @boost_control_spec end |
#condition ⇒ String
Corresponds to the JSON property condition
19226 19227 19228 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19226 def condition @condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19233 19234 19235 19236 19237 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19233 def update!(**args) @boost = args[:boost] if args.key?(:boost) @boost_control_spec = args[:boost_control_spec] if args.key?(:boost_control_spec) @condition = args[:condition] if args.key?(:condition) end |