Class FacetValue (0.11.14)

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

Name Description
value str
Text value of a facet, such as "Black" for facet "colors". This field is a member of oneof_ facet_value.
interval google.cloud.discoveryengine_v1beta.types.Interval
Interval value for a facet, such as [10, 20) for facet "price". It matches SearchRequest.FacetSpec.FacetKey.intervals. This field is a member of oneof_ facet_value.
count int
Number of items that have this facet value.