Class Criteria (0.1.2)

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

Filter criteria applied to current search results.

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
text_array google.cloud.visionai_v1.types.StringArray
The text values associated with the field. This field is a member of oneof_ value.
int_range_array google.cloud.visionai_v1.types.IntRangeArray
The integer ranges associated with the field. This field is a member of oneof_ value.
float_range_array google.cloud.visionai_v1.types.FloatRangeArray
The float ranges associated with the field. This field is a member of oneof_ value.
date_time_range_array google.cloud.visionai_v1.types.DateTimeRangeArray
The datetime ranges associated with the field. This field is a member of oneof_ value.
geo_location_array google.cloud.visionai_v1.types.GeoLocationArray
Geo Location array. This field is a member of oneof_ value.
bool_value google.cloud.visionai_v1.types.BoolValue
A Boolean value. This field is a member of oneof_ value.
field str
The UGA field or ML field to apply filtering criteria.
fetch_matched_annotations bool
If true, return query matched annotations for this criteria. This option is only applicable for inclusion criteria, i.e., not exclusion criteria, with partition level annotations. It supports the following data types: - INTEGER - FLOAT - STRING (DataSchema.SearchStrategy.EXACT_SEARCH only) - BOOLEAN