# Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::Control::BoostAction::InterpolationBoostSpec::ControlPoint (v0.28.0)

0.28.0 (latest) 0.27.0 0.26.0 0.25.0 0.24.0 0.23.1 0.22.0 0.21.0 0.20.1 0.19.1 0.18.0 0.17.0 0.16.0 0.15.0 0.14.2 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::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:

  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]]`.

### #attribute_value=

    def attribute_value=(value) -> ::String

**Parameter**

- **value** (::String) ---

  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]]`.
**Returns**

- (::String) --- 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]]`.

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