Class GoogleCloudDiscoveryengineV1betaControlBoostAction
Adjusts order of products in returned list.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1betaControlBoostAction : IDirectResponseSchema
Properties
Boost
Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op).
Declaration
[JsonProperty("boost")]
public virtual float? Boost { get; set; }
Property Value
Type | Description |
---|---|
float? |
DataStore
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
Declaration
[JsonProperty("dataStore")]
public virtual string DataStore { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Filter
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.
Declaration
[JsonProperty("filter")]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
FixedBoost
Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op).
Declaration
[JsonProperty("fixedBoost")]
public virtual float? FixedBoost { get; set; }
Property Value
Type | Description |
---|---|
float? |
InterpolationBoostSpec
Optional. Complex specification for custom ranking based on customer defined attribute value.
Declaration
[JsonProperty("interpolationBoostSpec")]
public virtual GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec InterpolationBoostSpec { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec |