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 v1beta 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 in the Discovery Engine v1beta API, which is designed to adjust the order of products in a returned list.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBoostAction\u003c/code\u003e class, found within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e namespace, allows you to boost or demote products using a specified filter, and is implemented from the \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eBoostAction\u003c/code\u003e include \u003ccode\u003eBoost\u003c/code\u003e, which controls the strength of the boost (or demotion), \u003ccode\u003eDataStore\u003c/code\u003e, which specifies the data store to apply the boost to, \u003ccode\u003eDataStoreAsDataStoreName\u003c/code\u003e, which is a typed view of the \u003ccode\u003eDataStore\u003c/code\u003e resource name, and \u003ccode\u003eFilter\u003c/code\u003e, which determines which products receive the boost.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: one default and another that takes another \u003ccode\u003eBoostAction\u003c/code\u003e instance as an argument to duplicate the input.\u003c/p\u003e\n"],["\u003cp\u003eThe document covers the latest version of the class (1.0.0-beta18) as well as a previous version (1.0.0-beta17), providing reference information and API details for each.\u003c/p\u003e\n"]]],[],null,[]]