Class SearchResponse.Types.Facet.Types.FacetValue (1.4.0)

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

A facet value which contains value names and their count.

Inheritance

Object > SearchResponse.Types.Facet.Types.FacetValue

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

FacetValue()

public FacetValue()

FacetValue(SearchResponse.Types.Facet.Types.FacetValue)

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

Properties

Count

public long Count { get; set; }

Number of items that have this facet value.

Property Value
TypeDescription
Int64

FacetValueCase

public SearchResponse.Types.Facet.Types.FacetValue.FacetValueOneofCase FacetValueCase { get; }
Property Value
TypeDescription
SearchResponse.Types.Facet.Types.FacetValue.FacetValueOneofCase

Interval

public Interval Interval { get; set; }

Interval value for a facet, such as [10, 20) for facet "price".

Property Value
TypeDescription
Interval

Value

public string Value { get; set; }

Text value of a facet, such as "Black" for facet "colorFamilies".

Property Value
TypeDescription
String