Vision AI v1 API - Class Criteria (1.0.0-beta01)

public sealed class Criteria : IMessage<Criteria>, IEquatable<Criteria>, IDeepCloneable<Criteria>, IBufferMessage, IMessage

Reference documentation and code samples for the Vision AI v1 API class Criteria.

Filter criteria applied to current search results.

Inheritance

object > Criteria

Namespace

Google.Cloud.VisionAI.V1

Assembly

Google.Cloud.VisionAI.V1.dll

Constructors

Criteria()

public Criteria()

Criteria(Criteria)

public Criteria(Criteria other)
Parameter
Name Description
other Criteria

Properties

BoolValue

public BoolValue BoolValue { get; set; }

A Boolean value.

Property Value
Type Description
BoolValue

DateTimeRangeArray

public DateTimeRangeArray DateTimeRangeArray { get; set; }

The datetime ranges associated with the field.

Property Value
Type Description
DateTimeRangeArray

FetchMatchedAnnotations

public bool FetchMatchedAnnotations { get; set; }

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
Property Value
Type Description
bool

Field

public string Field { get; set; }

The UGA field or ML field to apply filtering criteria.

Property Value
Type Description
string

FloatRangeArray

public FloatRangeArray FloatRangeArray { get; set; }

The float ranges associated with the field.

Property Value
Type Description
FloatRangeArray

GeoLocationArray

public GeoLocationArray GeoLocationArray { get; set; }

Geo Location array.

Property Value
Type Description
GeoLocationArray

IntRangeArray

public IntRangeArray IntRangeArray { get; set; }

The integer ranges associated with the field.

Property Value
Type Description
IntRangeArray

TextArray

public StringArray TextArray { get; set; }

The text values associated with the field.

Property Value
Type Description
StringArray

ValueCase

public Criteria.ValueOneofCase ValueCase { get; }
Property Value
Type Description
CriteriaValueOneofCase