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.
Note: The following fields are mutually exclusive:
bool_value
,text_array
,int_range_array
,float_range_array
,date_time_range_array
,geo_location_array
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#bool_value=
def bool_value=(value) -> ::Google::Cloud::VisionAI::V1::BoolValue
-
value (::Google::Cloud::VisionAI::V1::BoolValue) — A Boolean value.
Note: The following fields are mutually exclusive:
bool_value
,text_array
,int_range_array
,float_range_array
,date_time_range_array
,geo_location_array
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::BoolValue) — A Boolean value.
Note: The following fields are mutually exclusive:
bool_value
,text_array
,int_range_array
,float_range_array
,date_time_range_array
,geo_location_array
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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.
Note: The following fields are mutually exclusive:
date_time_range_array
,text_array
,int_range_array
,float_range_array
,geo_location_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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.
Note: The following fields are mutually exclusive:
date_time_range_array
,text_array
,int_range_array
,float_range_array
,geo_location_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::DateTimeRangeArray) — The datetime ranges associated with the field.
Note: The following fields are mutually exclusive:
date_time_range_array
,text_array
,int_range_array
,float_range_array
,geo_location_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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.
Note: The following fields are mutually exclusive:
float_range_array
,text_array
,int_range_array
,date_time_range_array
,geo_location_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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.
Note: The following fields are mutually exclusive:
float_range_array
,text_array
,int_range_array
,date_time_range_array
,geo_location_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::FloatRangeArray) — The float ranges associated with the field.
Note: The following fields are mutually exclusive:
float_range_array
,text_array
,int_range_array
,date_time_range_array
,geo_location_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#geo_location_array
def geo_location_array() -> ::Google::Cloud::VisionAI::V1::GeoLocationArray
-
(::Google::Cloud::VisionAI::V1::GeoLocationArray) — Geo Location array.
Note: The following fields are mutually exclusive:
geo_location_array
,text_array
,int_range_array
,float_range_array
,date_time_range_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#geo_location_array=
def geo_location_array=(value) -> ::Google::Cloud::VisionAI::V1::GeoLocationArray
-
value (::Google::Cloud::VisionAI::V1::GeoLocationArray) — Geo Location array.
Note: The following fields are mutually exclusive:
geo_location_array
,text_array
,int_range_array
,float_range_array
,date_time_range_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::GeoLocationArray) — Geo Location array.
Note: The following fields are mutually exclusive:
geo_location_array
,text_array
,int_range_array
,float_range_array
,date_time_range_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#int_range_array
def int_range_array() -> ::Google::Cloud::VisionAI::V1::IntRangeArray
-
(::Google::Cloud::VisionAI::V1::IntRangeArray) — The integer ranges associated with the field.
Note: The following fields are mutually exclusive:
int_range_array
,text_array
,float_range_array
,date_time_range_array
,geo_location_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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.
Note: The following fields are mutually exclusive:
int_range_array
,text_array
,float_range_array
,date_time_range_array
,geo_location_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::IntRangeArray) — The integer ranges associated with the field.
Note: The following fields are mutually exclusive:
int_range_array
,text_array
,float_range_array
,date_time_range_array
,geo_location_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_array
def text_array() -> ::Google::Cloud::VisionAI::V1::StringArray
-
(::Google::Cloud::VisionAI::V1::StringArray) — The text values associated with the field.
Note: The following fields are mutually exclusive:
text_array
,int_range_array
,float_range_array
,date_time_range_array
,geo_location_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_array=
def text_array=(value) -> ::Google::Cloud::VisionAI::V1::StringArray
-
value (::Google::Cloud::VisionAI::V1::StringArray) — The text values associated with the field.
Note: The following fields are mutually exclusive:
text_array
,int_range_array
,float_range_array
,date_time_range_array
,geo_location_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::StringArray) — The text values associated with the field.
Note: The following fields are mutually exclusive:
text_array
,int_range_array
,float_range_array
,date_time_range_array
,geo_location_array
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.