Retail v2 API - Class CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue (2.12.0)

public sealed class CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue : IMessage<CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue>, IEquatable<CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue>, IDeepCloneable<CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue>, IBufferMessage, IMessage

Reference documentation and code samples for the Retail v2 API class CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue.

Replaces a set of textual facet values by the same (possibly different) merged facet value. Each facet value should appear at most once as a value per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute]. This feature is available only for textual custom attributes.

Inheritance

object > CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

MergedFacetValue()

public MergedFacetValue()

MergedFacetValue(MergedFacetValue)

public MergedFacetValue(CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue other)
Parameter
Name Description
other CatalogAttributeTypesFacetConfigTypesMergedFacetValue

Properties

MergedValue

public string MergedValue { get; set; }

All the previous values are replaced by this merged facet value. This merged_value must be non-empty and can have up to 128 characters.

Property Value
Type Description
string

Values

public RepeatedField<string> Values { get; }

All the facet values that are replaces by the same [merged_value][google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue.merged_value] that follows. The maximum number of values per MergedFacetValue is 25. Each value can have up to 128 characters.

Property Value
Type Description
RepeatedFieldstring