public sealed class Control.Types.BoostAction : IMessage<Control.Types.BoostAction>, IEquatable<Control.Types.BoostAction>, IDeepCloneable<Control.Types.BoostAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class Control.Types.BoostAction.
Required. Specifies which data store's documents can be boosted by this
control. Full data store name e.g.
projects/123/locations/global/collections/default_collection/dataStores/default_data_store
Required. Specifies which products to apply the boost to.
If no filter is provided all products will be boosted (No-op).
Syntax documentation:
https://cloud.google.com/retail/docs/filter-and-order
Maximum length is 5000 characters.
Otherwise an INVALID ARGUMENT error is thrown.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eControl.Types.BoostAction\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, which allows for adjusting the order of products in a returned list.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBoostAction\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e namespace, implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBoostAction\u003c/code\u003e class has two constructors, a default constructor \u003ccode\u003eBoostAction()\u003c/code\u003e, and one that copies from another \u003ccode\u003eBoostAction\u003c/code\u003e object, \u003ccode\u003eBoostAction(BoostAction other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eBoostAction\u003c/code\u003e class include \u003ccode\u003eBoost\u003c/code\u003e (the strength of the boost, ranging from -1 to 1), \u003ccode\u003eDataStore\u003c/code\u003e (specifying which data store's documents to boost), and \u003ccode\u003eFilter\u003c/code\u003e (specifying which products the boost should apply to).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation is for version 1.6.0, with previous versions back to 1.0.0-beta06 available.\u003c/p\u003e\n"]]],[],null,[]]