- DataSchema.SearchStrategy.NO_SEARCH,
- DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by
IntRangeArray.
FLOAT (2):
Float type. Allowed search strategies:
- DataSchema.SearchStrategy.NO_SEARCH,
- DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by
FloatRangeArray.
STRING (3):
String type. Allowed search strategies:
- DataSchema.SearchStrategy.NO_SEARCH,
- DataSchema.SearchStrategy.EXACT_SEARCH,
- DataSchema.SearchStrategy.SMART_SEARCH.
DATETIME (5):
Supported formats: %Y-%m-%dT%H:%M:%E\ *S%E*\ z
(absl::RFC3339_full) %Y-%m-%dT%H:%M:%E\ *S
%Y-%m-%dT%H:%M%E*\ z %Y-%m-%dT%H:%M %Y-%m-%dT%H%E\ *z
%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.
GEO_COORDINATE (7):
Geo coordinate type. Allowed search strategies:
- DataSchema.SearchStrategy.NO_SEARCH,
- DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by
GeoLocationArray.
PROTO_ANY (8):
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.
BOOLEAN (9):
Boolean type. Allowed search strategies:
- DataSchema.SearchStrategy.NO_SEARCH,
- DataSchema.SearchStrategy.EXACT_SEARCH.
LIST (10):
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.
CUSTOMIZED_STRUCT (6):
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.
[[["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 2025-09-04 UTC."],[],[],null,["# Class DataType (0.1.10)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.10 (latest)](/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.DataSchemaDetails.DataType)\n- [0.1.8](/python/docs/reference/google-cloud-visionai/0.1.8/google.cloud.visionai_v1.types.DataSchemaDetails.DataType) \n\n DataType(value)\n\nData type of the annotation. \n\n - DataSchema.SearchStrategy.NO_SEARCH,\n - DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by\n IntRangeArray.\n FLOAT (2):\n Float type. Allowed search strategies:\n\n - DataSchema.SearchStrategy.NO_SEARCH,\n - DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by\n FloatRangeArray.\n STRING (3):\n String type. Allowed search strategies:\n\n - DataSchema.SearchStrategy.NO_SEARCH,\n - DataSchema.SearchStrategy.EXACT_SEARCH,\n - DataSchema.SearchStrategy.SMART_SEARCH.\n DATETIME (5):\n Supported formats: %Y-%m-%dT%H:%M:%E\\ *S%E*\\ z\n (absl::RFC3339_full) %Y-%m-%dT%H:%M:%E\\ *S\n %Y-%m-%dT%H:%M%E*\\ z %Y-%m-%dT%H:%M %Y-%m-%dT%H%E\\ *z\n %Y-%m-%dT%H %Y-%m-%d%E*\\ z %Y-%m-%d %Y-%m %Y Allowed search\n strategies:\n\n - DataSchema.SearchStrategy.NO_SEARCH,\n - DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by\n DateTimeRangeArray.\n GEO_COORDINATE (7):\n Geo coordinate type. Allowed search strategies:\n\n - DataSchema.SearchStrategy.NO_SEARCH,\n - DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by\n GeoLocationArray.\n PROTO_ANY (8):\n Type to pass any proto as available in annotations.proto.\n Only use internally. Available proto types and its\n corresponding search behavior:\n\n - ImageObjectDetectionPredictionResult, allows SMART_SEARCH\n on display_names and NO_SEARCH.\n - ClassificationPredictionResult, allows SMART_SEARCH on\n display_names and NO_SEARCH.\n - ImageSegmentationPredictionResult, allows NO_SEARCH.\n - VideoActionRecognitionPredictionResult, allows\n SMART_SEARCH on display_name and NO_SEARCH.\n - VideoObjectTrackingPredictionResult, allows SMART_SEARCH\n on display_name and NO_SEARCH.\n - VideoClassificationPredictionResult, allows SMART_SEARCH\n on display_name and NO_SEARCH.\n - OccupancyCountingPredictionResult, allows EXACT_SEARCH on\n stats.full_frame_count.count and NO_SEARCH.\n - ObjectDetectionPredictionResult, allows SMART_SEARCH on\n identified_boxes.entity.label_string and NO_SEARCH.\n BOOLEAN (9):\n Boolean type. Allowed search strategies:\n\n - DataSchema.SearchStrategy.NO_SEARCH,\n - DataSchema.SearchStrategy.EXACT_SEARCH.\n LIST (10):\n List type.\n\n - Each element in the list must be of the exact same data\n schema; otherwise, they are invalid arguments.\n - List level cannot set search strategy. Leaf node level\n can do.\n - Elements cannot be another list (no list of list).\n - Elements can be CUSTOMIZED_STRUCT, and max number of\n layers is 10.\n CUSTOMIZED_STRUCT (6):\n Struct type.\n\n - SearchStrategy:\n\n - Data Schema that's CUSTOMIZED_STRUCT cannot set search\n strategy.\n - Leaf-node elements allow setting search strategy based\n on element's SearchStrategy restriction.\n\n - Nested layer restrictions:\n\n - Data Schema that's CUSTOMIZED_STRUCT allows its fields\n to be of CUSTOMIZED_STRUCT as well, but the overall\n layers restriction is 10."]]