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 information for the \u003ccode\u003eControl.Types.BoostAction\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically version 1.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBoostAction\u003c/code\u003e class is used to adjust the order of products in a returned list, allowing for the boosting or demoting of specific products based on defined criteria.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eBoostAction\u003c/code\u003e include \u003ccode\u003eBoost\u003c/code\u003e (strength of boost/demotion), \u003ccode\u003eDataStore\u003c/code\u003e (the data store to which the boost applies), and \u003ccode\u003eFilter\u003c/code\u003e (specifies the products to which the boost is applied).\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, offering functionality related to message handling, equality checks, and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBoostAction\u003c/code\u003e class has two constructors, a default constructor and one that accepts another \u003ccode\u003eBoostAction\u003c/code\u003e instance, and is inherited from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]