Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::Criteria.
Filter criteria applied to current search results.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bool_value
def bool_value() -> ::Google::Cloud::VisionAI::V1::BoolValue
- (::Google::Cloud::VisionAI::V1::BoolValue) — A Boolean value.
#bool_value=
def bool_value=(value) -> ::Google::Cloud::VisionAI::V1::BoolValue
- value (::Google::Cloud::VisionAI::V1::BoolValue) — A Boolean value.
- (::Google::Cloud::VisionAI::V1::BoolValue) — A Boolean value.
#date_time_range_array
def date_time_range_array() -> ::Google::Cloud::VisionAI::V1::DateTimeRangeArray
- (::Google::Cloud::VisionAI::V1::DateTimeRangeArray) — The datetime ranges associated with the field.
#date_time_range_array=
def date_time_range_array=(value) -> ::Google::Cloud::VisionAI::V1::DateTimeRangeArray
- value (::Google::Cloud::VisionAI::V1::DateTimeRangeArray) — The datetime ranges associated with the field.
- (::Google::Cloud::VisionAI::V1::DateTimeRangeArray) — The datetime ranges associated with the field.
#fetch_matched_annotations
def fetch_matched_annotations() -> ::Boolean
-
(::Boolean) —
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
#fetch_matched_annotations=
def fetch_matched_annotations=(value) -> ::Boolean
-
value (::Boolean) —
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
-
(::Boolean) —
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
#field
def field() -> ::String
- (::String) — The UGA field or ML field to apply filtering criteria.
#field=
def field=(value) -> ::String
- value (::String) — The UGA field or ML field to apply filtering criteria.
- (::String) — The UGA field or ML field to apply filtering criteria.
#float_range_array
def float_range_array() -> ::Google::Cloud::VisionAI::V1::FloatRangeArray
- (::Google::Cloud::VisionAI::V1::FloatRangeArray) — The float ranges associated with the field.
#float_range_array=
def float_range_array=(value) -> ::Google::Cloud::VisionAI::V1::FloatRangeArray
- value (::Google::Cloud::VisionAI::V1::FloatRangeArray) — The float ranges associated with the field.
- (::Google::Cloud::VisionAI::V1::FloatRangeArray) — The float ranges associated with the field.
#geo_location_array
def geo_location_array() -> ::Google::Cloud::VisionAI::V1::GeoLocationArray
- (::Google::Cloud::VisionAI::V1::GeoLocationArray) — Geo Location array.
#geo_location_array=
def geo_location_array=(value) -> ::Google::Cloud::VisionAI::V1::GeoLocationArray
- value (::Google::Cloud::VisionAI::V1::GeoLocationArray) — Geo Location array.
- (::Google::Cloud::VisionAI::V1::GeoLocationArray) — Geo Location array.
#int_range_array
def int_range_array() -> ::Google::Cloud::VisionAI::V1::IntRangeArray
- (::Google::Cloud::VisionAI::V1::IntRangeArray) — The integer ranges associated with the field.
#int_range_array=
def int_range_array=(value) -> ::Google::Cloud::VisionAI::V1::IntRangeArray
- value (::Google::Cloud::VisionAI::V1::IntRangeArray) — The integer ranges associated with the field.
- (::Google::Cloud::VisionAI::V1::IntRangeArray) — The integer ranges associated with the field.
#text_array
def text_array() -> ::Google::Cloud::VisionAI::V1::StringArray
- (::Google::Cloud::VisionAI::V1::StringArray) — The text values associated with the field.
#text_array=
def text_array=(value) -> ::Google::Cloud::VisionAI::V1::StringArray
- value (::Google::Cloud::VisionAI::V1::StringArray) — The text values associated with the field.
- (::Google::Cloud::VisionAI::V1::StringArray) — The text values associated with the field.