Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::Control::BoostAction::InterpolationBoostSpec::ControlPoint.
The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#attribute_value
def attribute_value() -> ::String Returns 
 -  (::String) — 
Optional. Can be one of:
- The numerical field value.
 - The duration spec for freshness: The value must be formatted as an XSD 
dayTimeDurationvalue (a restricted subset of an ISO 8601 duration value). The pattern for this is:[nD][T[nH][nM][nS]]. 
 
#attribute_value=
def attribute_value=(value) -> ::String Parameter 
 -  value (::String) — 
Optional. Can be one of:
- The numerical field value.
 - The duration spec for freshness: The value must be formatted as an XSD 
dayTimeDurationvalue (a restricted subset of an ISO 8601 duration value). The pattern for this is:[nD][T[nH][nM][nS]]. 
 
 Returns 
 -  (::String) — 
Optional. Can be one of:
- The numerical field value.
 - The duration spec for freshness: The value must be formatted as an XSD 
dayTimeDurationvalue (a restricted subset of an ISO 8601 duration value). The pattern for this is:[nD][T[nH][nM][nS]]. 
 
#boost_amount
def boost_amount() -> ::Float Returns 
 - (::Float) — Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.
 
#boost_amount=
def boost_amount=(value) -> ::Float Parameter 
 - value (::Float) — Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.
 
 Returns 
 - (::Float) — Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.