Class: Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1beta/search_service.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

Instance Attribute Details

#attribute_value::String

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

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


499
500
501
502
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 499

class ControlPoint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#boost_amount::Float

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

Returns:

  • (::Float)

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



499
500
501
502
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 499

class ControlPoint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end