Discovery Engine v1 API - Class Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.ControlPoint (1.7.0)

public sealed class Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.ControlPoint : IMessage<Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.ControlPoint>, IEquatable<Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.ControlPoint>, IDeepCloneable<Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.ControlPoint>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.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).

Inheritance

object > Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.ControlPoint

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

ControlPoint()

public ControlPoint()

ControlPoint(ControlPoint)

public ControlPoint(Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.ControlPoint other)
Parameter
Name Description
other ControlTypesBoostActionTypesInterpolationBoostSpecTypesControlPoint

Properties

AttributeValue

public string AttributeValue { get; set; }

Optional. 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][T[nH][nM][nS]].
Property Value
Type Description
string

BoostAmount

public float BoostAmount { get; set; }

Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.

Property Value
Type Description
float