Class IgnoredFacetValues (1.21.0)

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

[Facet values][google.cloud.retail.v2alpha.SearchResponse.Facet.values] to ignore on facets during the specified time range for the given SearchResponse.Facet.key attribute.

Attributes

Name Description
values MutableSequence[str]
List of facet values to ignore for the following time range. The facet values are the same as the attribute values. There is a limit of 10 values per instance of IgnoredFacetValues. Each value can have at most 128 characters.
start_time google.protobuf.timestamp_pb2.Timestamp
Time range for the current list of facet values to ignore. If multiple time ranges are specified for an facet value for the current attribute, consider all of them. If both are empty, ignore always. If start time and end time are set, then start time must be before end time. If start time is not empty and end time is empty, then will ignore these facet values after the start time.
end_time google.protobuf.timestamp_pb2.Timestamp
If start time is empty and end time is not empty, then ignore these facet values before end time.