public sealed class Facet : IMessage<SearchResponse.Types.Facet>, IEquatable<SearchResponse.Types.Facet>, IDeepCloneable<SearchResponse.Types.Facet>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class SearchResponse.Types.Facet.
A facet result.
Implements
IMessage<SearchResponse.Types.Facet>, IEquatable<SearchResponse.Types.Facet>, IDeepCloneable<SearchResponse.Types.Facet>, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
Facet()
public Facet()
Facet(SearchResponse.Types.Facet)
public Facet(SearchResponse.Types.Facet other)
Parameter | |
---|---|
Name | Description |
other | SearchResponse.Types.Facet |
Properties
DynamicFacet
public bool DynamicFacet { get; set; }
Whether the facet is dynamically generated.
Property Value | |
---|---|
Type | Description |
Boolean |
Key
public string Key { get; set; }
The key for this facet. E.g., "colorFamilies" or "price" or "attributes.attr1".
Property Value | |
---|---|
Type | Description |
String |
Values
public RepeatedField<SearchResponse.Types.Facet.Types.FacetValue> Values { get; }
The facet values for this field.
Property Value | |
---|---|
Type | Description |
RepeatedField<SearchResponse.Types.Facet.Types.FacetValue> |