Class ControlPoint (0.11.14)

ControlPoint(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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).

Attributes

Name Description
attribute_value str
Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD dayTimeDuration value (a restricted subset of an ISO 8601 duration value). The pattern for this is: [nD][TnH][nM][nS]].
boost_amount float
The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.