Vision AI V1 API - Class Google::Cloud::VisionAI::V1::Criteria (v0.1.0)

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
Returns

#bool_value=

def bool_value=(value) -> ::Google::Cloud::VisionAI::V1::BoolValue
Parameter
Returns

#date_time_range_array

def date_time_range_array() -> ::Google::Cloud::VisionAI::V1::DateTimeRangeArray
Returns

#date_time_range_array=

def date_time_range_array=(value) -> ::Google::Cloud::VisionAI::V1::DateTimeRangeArray
Parameter
Returns

#fetch_matched_annotations

def fetch_matched_annotations() -> ::Boolean
Returns
  • (::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
Parameter
  • 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
Returns
  • (::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
Returns
  • (::String) — The UGA field or ML field to apply filtering criteria.

#field=

def field=(value) -> ::String
Parameter
  • value (::String) — The UGA field or ML field to apply filtering criteria.
Returns
  • (::String) — The UGA field or ML field to apply filtering criteria.

#float_range_array

def float_range_array() -> ::Google::Cloud::VisionAI::V1::FloatRangeArray
Returns

#float_range_array=

def float_range_array=(value) -> ::Google::Cloud::VisionAI::V1::FloatRangeArray
Parameter
Returns

#geo_location_array

def geo_location_array() -> ::Google::Cloud::VisionAI::V1::GeoLocationArray
Returns

#geo_location_array=

def geo_location_array=(value) -> ::Google::Cloud::VisionAI::V1::GeoLocationArray
Parameter
Returns

#int_range_array

def int_range_array() -> ::Google::Cloud::VisionAI::V1::IntRangeArray
Returns

#int_range_array=

def int_range_array=(value) -> ::Google::Cloud::VisionAI::V1::IntRangeArray
Parameter
Returns

#text_array

def text_array() -> ::Google::Cloud::VisionAI::V1::StringArray
Returns

#text_array=

def text_array=(value) -> ::Google::Cloud::VisionAI::V1::StringArray
Parameter
Returns