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

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.16.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.15.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.15.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.14.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.14.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.13.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.13.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.12.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.12.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.11.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.11.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.10.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.10.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.9.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.8.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.7.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.6.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.5.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.4.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.3.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.2.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.1.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/2.0.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [1.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/1.6.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [1.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/1.5.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/1.4.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/1.3.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/1.2.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/1.1.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/1.0.0/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue)

    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](https://learn.microsoft.com/dotnet/api/system.object) \> CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CatalogAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types)[FacetConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types)[MergedFacetValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CatalogAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types)[FacetConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types)[MergedFacetValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CatalogAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types)[FacetConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types)[MergedFacetValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Retail.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttributehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.CatalogAttribute.Types.FacetConfig.Types.MergedFacetValue` |

## 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** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |