Class Facet (1.1.0)

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

A facet result.

Attributes

NameDescription
key str
The key for this facet. E.g., "colorFamilies" or "price" or "attributes.attr1".
values Sequence[google.cloud.retail_v2.types.SearchResponse.Facet.FacetValue]
The facet values for this field.
dynamic_facet bool
Whether the facet is dynamically generated.

Classes

FacetValue

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

A facet value which contains value names and their count.