Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class AttributeType.
The attribute(or function) for which the custom ranking is to be
applied.
Protobuf type google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.AttributeType
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ Control \ BoostAction \ InterpolationBoostSpec
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
ATTRIBUTE_TYPE_UNSPECIFIED
Value: 0
Unspecified AttributeType.
Generated from protobuf enum ATTRIBUTE_TYPE_UNSPECIFIED = 0;
NUMERICAL
Value: 1
The value of the numerical field will be used to dynamically update
the boost amount. In this case, the attribute_value (the x value)
of the control point will be the actual value of the numerical
field for which the boost_amount is specified.
Generated from protobuf enum NUMERICAL = 1;
FRESHNESS
Value: 2
For the freshness use case the attribute value will be the duration
between the current time and the date in the datetime field
specified. 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]].
[[["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 AttributeType (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/php/docs/reference/cloud-discoveryengine/latest/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [1.6.1](/php/docs/reference/cloud-discoveryengine/1.6.1/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [1.5.1](/php/docs/reference/cloud-discoveryengine/1.5.1/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [1.4.0](/php/docs/reference/cloud-discoveryengine/1.4.0/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [1.3.3](/php/docs/reference/cloud-discoveryengine/1.3.3/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [1.2.0](/php/docs/reference/cloud-discoveryengine/1.2.0/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [1.1.0](/php/docs/reference/cloud-discoveryengine/1.1.0/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [1.0.0](/php/docs/reference/cloud-discoveryengine/1.0.0/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [0.11.3](/php/docs/reference/cloud-discoveryengine/0.11.3/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [0.8.0](/php/docs/reference/cloud-discoveryengine/0.8.0/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [0.7.1](/php/docs/reference/cloud-discoveryengine/0.7.1/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [0.6.0](/php/docs/reference/cloud-discoveryengine/0.6.0/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [0.5.0](/php/docs/reference/cloud-discoveryengine/0.5.0/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [0.4.0](/php/docs/reference/cloud-discoveryengine/0.4.0/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [0.3.0](/php/docs/reference/cloud-discoveryengine/0.3.0/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [0.2.0](/php/docs/reference/cloud-discoveryengine/0.2.0/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType)\n- [0.1.1](/php/docs/reference/cloud-discoveryengine/0.1.1/V1.Control.BoostAction.InterpolationBoostSpec.AttributeType) \nReference documentation and code samples for the Google Cloud Discovery Engine V1 Client class AttributeType.\n\nThe attribute(or function) for which the custom ranking is to be\napplied.\n\nProtobuf type `google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.AttributeType`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DiscoveryEngine \\\\ V1 \\\\ Control \\\\ BoostAction \\\\ InterpolationBoostSpec\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### ATTRIBUTE_TYPE_UNSPECIFIED\n\n Value: 0\n\nUnspecified AttributeType.\n\nGenerated from protobuf enum `ATTRIBUTE_TYPE_UNSPECIFIED = 0;`\n\n### NUMERICAL\n\n Value: 1\n\nThe value of the numerical field will be used to dynamically update\nthe boost amount. In this case, the attribute_value (the x value)\nof the control point will be the actual value of the numerical\nfield for which the boost_amount is specified.\n\nGenerated from protobuf enum `NUMERICAL = 1;`\n\n### FRESHNESS\n\n Value: 2\n\nFor the freshness use case the attribute value will be the duration\nbetween the current time and the date in the datetime field\nspecified. The value must be formatted as an XSD `dayTimeDuration`\nvalue (a restricted subset of an ISO 8601 duration value). The\npattern for this is: `[nD]\u003cxref uid=\"\\N\\M\"\u003eT[nH\u003c/xref\u003e[nS]]`.\n\nFor example, `5D`, `3DT12H30M`, `T24H`.\n\nGenerated from protobuf enum `FRESHNESS = 2;`"]]