Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint
- 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
-
#attribute_value ⇒ String
Corresponds to the JSON property
attributeValue. -
#boost_amount ⇒ Float
Corresponds to the JSON property
boostAmount.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint
constructor
A new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint
Returns a new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint.
19107 19108 19109 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19107 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attribute_value ⇒ String
Corresponds to the JSON property attributeValue
19100 19101 19102 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19100 def attribute_value @attribute_value end |
#boost_amount ⇒ Float
Corresponds to the JSON property boostAmount
19105 19106 19107 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19105 def boost_amount @boost_amount end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19112 19113 19114 19115 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19112 def update!(**args) @attribute_value = args[:attribute_value] if args.key?(:attribute_value) @boost_amount = args[:boost_amount] if args.key?(:boost_amount) end |