Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class 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).
Generated from protobuf message google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint
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]<xref uid="\N\M">T[nH</xref>[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.
getAttributeValue
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]<xref uid="\N\M">T[nH</xref>[nS]].
Returns
Type
Description
string
setAttributeValue
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]<xref uid="\N\M">T[nH</xref>[nS]].
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getBoostAmount
The value between -1 to 1 by which to boost the score if the
attribute_value evaluates to the value specified above.
Returns
Type
Description
float
setBoostAmount
The value between -1 to 1 by which to boost the score if the
attribute_value evaluates to the value specified above.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Discovery Engine V1 Client - Class ControlPoint (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/php/docs/reference/cloud-discoveryengine/latest/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [1.6.1](/php/docs/reference/cloud-discoveryengine/1.6.1/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [1.5.1](/php/docs/reference/cloud-discoveryengine/1.5.1/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [1.4.0](/php/docs/reference/cloud-discoveryengine/1.4.0/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [1.3.3](/php/docs/reference/cloud-discoveryengine/1.3.3/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [1.2.0](/php/docs/reference/cloud-discoveryengine/1.2.0/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [1.1.0](/php/docs/reference/cloud-discoveryengine/1.1.0/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [1.0.0](/php/docs/reference/cloud-discoveryengine/1.0.0/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [0.11.3](/php/docs/reference/cloud-discoveryengine/0.11.3/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [0.8.0](/php/docs/reference/cloud-discoveryengine/0.8.0/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [0.7.1](/php/docs/reference/cloud-discoveryengine/0.7.1/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [0.6.0](/php/docs/reference/cloud-discoveryengine/0.6.0/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [0.5.0](/php/docs/reference/cloud-discoveryengine/0.5.0/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [0.4.0](/php/docs/reference/cloud-discoveryengine/0.4.0/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [0.3.0](/php/docs/reference/cloud-discoveryengine/0.3.0/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [0.2.0](/php/docs/reference/cloud-discoveryengine/0.2.0/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint)\n- [0.1.1](/php/docs/reference/cloud-discoveryengine/0.1.1/V1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint) \nReference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ControlPoint.\n\nThe control points used to define the curve. The curve defined\nthrough these control points can only be monotonically increasing\nor decreasing(constant values are acceptable).\n\nGenerated from protobuf message `google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DiscoveryEngine \\\\ V1 \\\\ SearchRequest \\\\ BoostSpec \\\\ ConditionBoostSpec \\\\ BoostControlSpec\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAttributeValue\n\nCan be one of:\n\n1. The numerical field value.\n\n2. The duration spec for freshness:\n The value must be formatted as an XSD `dayTimeDuration` value (a\n restricted subset of an ISO 8601 duration value). The pattern for\n this is: `[nD]\u003cxref uid=\"\\N\\M\"\u003eT[nH\u003c/xref\u003e[nS]]`.\n\n### setAttributeValue\n\nCan be one of:\n\n1. The numerical field value.\n\n2. The duration spec for freshness:\n The value must be formatted as an XSD `dayTimeDuration` value (a\n restricted subset of an ISO 8601 duration value). The pattern for\n this is: `[nD]\u003cxref uid=\"\\N\\M\"\u003eT[nH\u003c/xref\u003e[nS]]`.\n\n### getBoostAmount\n\nThe value between -1 to 1 by which to boost the score if the\nattribute_value evaluates to the value specified above.\n\n### setBoostAmount\n\nThe value between -1 to 1 by which to boost the score if the\nattribute_value evaluates to the value specified above."]]