Class FacetValue (1.5.0)

FacetValue(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A facet value which contains value names and their count.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
value str
Text value of a facet, such as "Black" for facet "colorFamilies". This field is a member of oneof_ facet_value.
interval google.cloud.retail_v2.types.Interval
Interval value for a facet, such as [10, 20) for facet "price". This field is a member of oneof_ facet_value.
count int
Number of items that have this facet value.