Class: Google::Cloud::DiscoveryEngine::V1::Control::BoostAction::InterpolationBoostSpec::ControlPoint
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::Control::BoostAction::InterpolationBoostSpec::ControlPoint
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/control.rb
Overview
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).
Instance Attribute Summary collapse
-
#attribute_value ⇒ ::String
Optional.
-
#boost_amount ⇒ ::Float
Optional.
Instance Attribute Details
#attribute_value ⇒ ::String
Returns Optional. Can be one of:
- The numerical field value.
- 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]]
.
235 236 237 238 |
# File 'proto_docs/google/cloud/discoveryengine/v1/control.rb', line 235 class ControlPoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#boost_amount ⇒ ::Float
Returns Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.
235 236 237 238 |
# File 'proto_docs/google/cloud/discoveryengine/v1/control.rb', line 235 class ControlPoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |