Class SearchResponse.Types.Facet (1.4.0)

public sealed class Facet : IMessage<SearchResponse.Types.Facet>, IEquatable<SearchResponse.Types.Facet>, IDeepCloneable<SearchResponse.Types.Facet>, IBufferMessage, IMessage

A facet result.

Inheritance

Object > SearchResponse.Types.Facet

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

Facet()

public Facet()

Facet(SearchResponse.Types.Facet)

public Facet(SearchResponse.Types.Facet other)
Parameter
NameDescription
otherSearchResponse.Types.Facet

Properties

DynamicFacet

public bool DynamicFacet { get; set; }

Whether the facet is dynamically generated.

Property Value
TypeDescription
Boolean

Key

public string Key { get; set; }

The key for this facet. E.g., "colorFamilies" or "price" or "attributes.attr1".

Property Value
TypeDescription
String

Values

public RepeatedField<SearchResponse.Types.Facet.Types.FacetValue> Values { get; }

The facet values for this field.

Property Value
TypeDescription
RepeatedField<SearchResponse.Types.Facet.Types.FacetValue>