Class FacetBucket (0.1.6)

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

Holds the facet value, selections state, and metadata.

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 google.cloud.visionai_v1.types.FacetValue
Singular value. This field is a member of oneof_ bucket_value.
range_ google.cloud.visionai_v1.types.FacetBucket.Range
Range value. This field is a member of oneof_ bucket_value.
selected bool
Whether one facet bucket is selected. This field represents user's facet selection. It is set by frontend in SearchVideosRequest.

Classes

Range

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

The range of values [start, end) for which faceting is applied.