Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1alphaControlBoostAction

Adjusts order of products in returned list.

Inheritance
object
GoogleCloudDiscoveryengineV1alphaControlBoostAction
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaControlBoostAction : 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 GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec InterpolationBoostSpec { get; set; }
Property Value
Type Description
GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX