Send feedback
Vision AI v1 API - Enum DataSchemaDetails.Types.DataType (1.0.0-beta01)
Stay organized with collections
Save and categorize content based on your preferences.
public enum DataSchemaDetails . Types . DataType
Reference documentation and code samples for the Vision AI v1 API enum DataSchemaDetails.Types.DataType.
Data type of the annotation.
Namespace
Google.Cloud.VisionAI.V1
Assembly
Google.Cloud.VisionAI.V1.dll
Fields
Name
Description
Boolean
Boolean type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH.
CustomizedStruct
Struct type.
SearchStrategy:
Data Schema that's CUSTOMIZED_STRUCT cannot set search strategy.
Leaf-node elements allow setting search strategy based on element's
SearchStrategy restriction.
Nested layer restrictions:
Data Schema that's CUSTOMIZED_STRUCT allows its fields to be of
CUSTOMIZED_STRUCT as well, but the overall layers restriction is 10.
Datetime
Supported formats:
%Y-%m-%dT%H:%M:%ES%E z (absl::RFC3339_full)
%Y-%m-%dT%H:%M:%ES
%Y-%m-%dT%H:%M%E z
%Y-%m-%dT%H:%M
%Y-%m-%dT%H%Ez
%Y-%m-%dT%H
%Y-%m-%d%E z
%Y-%m-%d
%Y-%m
%Y
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH.
Supports query by DateTimeRangeArray.
Float
Float type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH.
Supports query by FloatRangeArray.
GeoCoordinate
Geo coordinate type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH.
Supports query by GeoLocationArray.
Integer
Integer type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH.
Supports query by IntRangeArray.
List
List type.
Each element in the list must be of the exact same data schema;
otherwise, they are invalid arguments.
List level cannot set search strategy. Leaf node level can do.
Elements cannot be another list (no list of list).
Elements can be CUSTOMIZED_STRUCT, and max number of layers is 10.
ProtoAny
Type to pass any proto as available in annotations.proto. Only use
internally.
Available proto types and its corresponding search behavior:
ImageObjectDetectionPredictionResult, allows SMART_SEARCH on
display_names and NO_SEARCH.
ClassificationPredictionResult, allows SMART_SEARCH on display_names
and NO_SEARCH.
ImageSegmentationPredictionResult, allows NO_SEARCH.
VideoActionRecognitionPredictionResult, allows SMART_SEARCH on
display_name and NO_SEARCH.
VideoObjectTrackingPredictionResult, allows SMART_SEARCH on
display_name and NO_SEARCH.
VideoClassificationPredictionResult, allows SMART_SEARCH on
display_name and NO_SEARCH.
OccupancyCountingPredictionResult, allows EXACT_SEARCH on
stats.full_frame_count.count and NO_SEARCH.
ObjectDetectionPredictionResult, allows SMART_SEARCH on
identified_boxes.entity.label_string and NO_SEARCH.
String
String type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH,
DataSchema.SearchStrategy.SMART_SEARCH.
Unspecified
Unspecified type.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-22 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-22 UTC."],[],[]]