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.
Adjusts order of products in returned list.
Implements
IMessageControlTypesBoostAction, IEquatableControlTypesBoostAction, IDeepCloneableControlTypesBoostAction, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
BoostAction()
public BoostAction()
BoostAction(BoostAction)
public BoostAction(Control.Types.BoostAction other)
Parameter | |
---|---|
Name | Description |
other |
ControlTypesBoostAction |
Properties
Boost
public float Boost { get; set; }
Required. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op).
Property Value | |
---|---|
Type | Description |
float |
DataStore
public string DataStore { get; set; }
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
Property Value | |
---|---|
Type | Description |
string |
DataStoreAsDataStoreName
public DataStoreName DataStoreAsDataStoreName { get; set; }
DataStoreName-typed view over the DataStore resource name property.
Property Value | |
---|---|
Type | Description |
DataStoreName |
Filter
public string Filter { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |