Class: Google::Cloud::VisionAI::V1::Criteria

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/visionai/v1/warehouse.rb

Overview

Filter criteria applied to current search results.

Instance Attribute Summary collapse

Instance Attribute Details

#bool_value::Google::Cloud::VisionAI::V1::BoolValue

Returns A Boolean value.

Returns:



2970
2971
2972
2973
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2970

class Criteria
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#date_time_range_array::Google::Cloud::VisionAI::V1::DateTimeRangeArray

Returns The datetime ranges associated with the field.

Returns:



2970
2971
2972
2973
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2970

class Criteria
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#fetch_matched_annotations::Boolean

Returns 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


2970
2971
2972
2973
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2970

class Criteria
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#field::String

Returns The UGA field or ML field to apply filtering criteria.

Returns:

  • (::String)

    The UGA field or ML field to apply filtering criteria.



2970
2971
2972
2973
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2970

class Criteria
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#float_range_array::Google::Cloud::VisionAI::V1::FloatRangeArray

Returns The float ranges associated with the field.

Returns:



2970
2971
2972
2973
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2970

class Criteria
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#geo_location_array::Google::Cloud::VisionAI::V1::GeoLocationArray

Returns Geo Location array.

Returns:



2970
2971
2972
2973
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2970

class Criteria
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#int_range_array::Google::Cloud::VisionAI::V1::IntRangeArray

Returns The integer ranges associated with the field.

Returns:



2970
2971
2972
2973
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2970

class Criteria
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#text_array::Google::Cloud::VisionAI::V1::StringArray

Returns The text values associated with the field.

Returns:



2970
2971
2972
2973
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2970

class Criteria
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end