# Class Criteria (0.5.1)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.10

    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` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.StringArray` The text values associated with the field. This field is a member of `oneof`_ `value`. |
| `int_range_array` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.IntRangeArray` The integer ranges associated with the field. This field is a member of `oneof`_ `value`. |
| `float_range_array` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.FloatRangeArray` The float ranges associated with the field. This field is a member of `oneof`_ `value`. |
| `date_time_range_array` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.DateTimeRangeArray` The datetime ranges associated with the field. This field is a member of `oneof`_ `value`. |
| `geo_location_array` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.GeoLocationArray` Geo Location array. This field is a member of `oneof`_ `value`. |
| `bool_value` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.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 partition level annotations and supports the following data types: - INTEGER - FLOAT - STRING (DataSchema.SearchStrategy.EXACT_SEARCH only) - BOOLEAN |