Reference documentation and code samples for the Vision AI V1 API module Google::Cloud::VisionAI::V1::DataType.
All supported data types.
Constants
DATA_TYPE_UNSPECIFIED
value: 0 The default value of DataType.
VIDEO
value: 1 Video data type like H264.
IMAGE
value: 3 Image data type.
PROTO
value: 2 Protobuf data type, usually used for general data blob.
PLACEHOLDER
value: 4 A placeholder data type, applicable for the universal input processor which
supports any data type. This will be instantiated and replaced by a
concrete underlying DataType during instance deployment.
[[["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-09 UTC."],[],[],null,["# Vision AI V1 API - Module Google::Cloud::VisionAI::V1::DataType (v1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-DataType)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/1.1.0/Google-Cloud-VisionAI-V1-DataType)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision_ai-v1/1.0.1/Google-Cloud-VisionAI-V1-DataType)\n- [0.4.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.4.0/Google-Cloud-VisionAI-V1-DataType)\n- [0.3.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.3.0/Google-Cloud-VisionAI-V1-DataType)\n- [0.2.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.2.0/Google-Cloud-VisionAI-V1-DataType)\n- [0.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.1.0/Google-Cloud-VisionAI-V1-DataType) \nReference documentation and code samples for the Vision AI V1 API module Google::Cloud::VisionAI::V1::DataType.\n\nAll supported data types.\n\nConstants\n---------\n\n### DATA_TYPE_UNSPECIFIED\n\n**value:** 0 \nThe default value of DataType.\n\n### VIDEO\n\n**value:** 1 \nVideo data type like H264.\n\n### IMAGE\n\n**value:** 3 \nImage data type.\n\n### PROTO\n\n**value:** 2 \nProtobuf data type, usually used for general data blob.\n\n### PLACEHOLDER\n\n**value:** 4 \nA placeholder data type, applicable for the universal input processor which\nsupports any data type. This will be instantiated and replaced by a\nconcrete underlying `DataType` during instance deployment."]]