value: 3 Encoded as number, or the strings "NaN", "Infinity", or
"-Infinity".
TIMESTAMP
value: 4 Must be between 0AD and 9999AD. Encoded as string according to
time_format, or, if
that format is not set, then in RFC 3339 date-time format, where
time-offset = "Z" (e.g. 1985-04-12T23:20:50.52Z).
STRING
value: 6 Encoded as string.
ARRAY
value: 8 Encoded as list, where the list elements are represented according to
value: 9 Encoded as struct, where field values are represented according to
struct_type.
CATEGORY
value: 10 Values of this type are not further understood by AutoML,
e.g. AutoML is unable to tell the order of values (as it could with
FLOAT64), or is unable to say if one value contains another (as it
could with STRING).
Encoded as string (bytes should be base64-encoded, as described in RFC
4648, section 4).
[[["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,["# Cloud AutoML V1beta1 API - Module Google::Cloud::AutoML::V1beta1::TypeCode (v0.14.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.14.1 (latest)](/ruby/docs/reference/google-cloud-automl-v1beta1/latest/Google-Cloud-AutoML-V1beta1-TypeCode)\n- [0.14.0](/ruby/docs/reference/google-cloud-automl-v1beta1/0.14.0/Google-Cloud-AutoML-V1beta1-TypeCode)\n- [0.13.1](/ruby/docs/reference/google-cloud-automl-v1beta1/0.13.1/Google-Cloud-AutoML-V1beta1-TypeCode)\n- [0.12.0](/ruby/docs/reference/google-cloud-automl-v1beta1/0.12.0/Google-Cloud-AutoML-V1beta1-TypeCode)\n- [0.11.1](/ruby/docs/reference/google-cloud-automl-v1beta1/0.11.1/Google-Cloud-AutoML-V1beta1-TypeCode)\n- [0.10.2](/ruby/docs/reference/google-cloud-automl-v1beta1/0.10.2/Google-Cloud-AutoML-V1beta1-TypeCode)\n- [0.9.0](/ruby/docs/reference/google-cloud-automl-v1beta1/0.9.0/Google-Cloud-AutoML-V1beta1-TypeCode)\n- [0.8.0](/ruby/docs/reference/google-cloud-automl-v1beta1/0.8.0/Google-Cloud-AutoML-V1beta1-TypeCode)\n- [0.7.0](/ruby/docs/reference/google-cloud-automl-v1beta1/0.7.0/Google-Cloud-AutoML-V1beta1-TypeCode)\n- [0.6.1](/ruby/docs/reference/google-cloud-automl-v1beta1/0.6.1/Google-Cloud-AutoML-V1beta1-TypeCode)\n- [0.5.5](/ruby/docs/reference/google-cloud-automl-v1beta1/0.5.5/Google-Cloud-AutoML-V1beta1-TypeCode) \nReference documentation and code samples for the Cloud AutoML V1beta1 API module Google::Cloud::AutoML::V1beta1::TypeCode.\n\n`TypeCode` is used as a part of\n[DataType](/ruby/docs/reference/google-cloud-automl-v1beta1/latest/Google-Cloud-AutoML-V1beta1-DataType \"Google::Cloud::AutoML::V1beta1::DataType (class)\").\n\nConstants\n---------\n\n### TYPE_CODE_UNSPECIFIED\n\n**value:** 0 \nNot specified. Should not be used.\n\n### FLOAT64\n\n**value:** 3 \nEncoded as `number`, or the strings `\"NaN\"`, `\"Infinity\"`, or\n`\"-Infinity\"`.\n\n### TIMESTAMP\n\n**value:** 4 \nMust be between 0AD and 9999AD. Encoded as `string` according to\n[time_format](/ruby/docs/reference/google-cloud-automl-v1beta1/latest/Google-Cloud-AutoML-V1beta1-DataType#Google__Cloud__AutoML__V1beta1__DataType_time_format_instance_ \"Google::Cloud::AutoML::V1beta1::DataType#time_format (method)\"), or, if\nthat format is not set, then in RFC 3339 `date-time` format, where\n`time-offset` = `\"Z\"` (e.g. 1985-04-12T23:20:50.52Z).\n\n### STRING\n\n**value:** 6 \nEncoded as `string`.\n\n### ARRAY\n\n**value:** 8 \nEncoded as `list`, where the list elements are represented according to\n\n\n\u003cbr /\u003e\n\n[list_element_type](/ruby/docs/reference/google-cloud-automl-v1beta1/latest/Google-Cloud-AutoML-V1beta1-DataType#Google__Cloud__AutoML__V1beta1__DataType_list_element_type_instance_ \"Google::Cloud::AutoML::V1beta1::DataType#list_element_type (method)\").\n\n### STRUCT\n\n**value:** 9 \nEncoded as `struct`, where field values are represented according to\n[struct_type](/ruby/docs/reference/google-cloud-automl-v1beta1/latest/Google-Cloud-AutoML-V1beta1-DataType#Google__Cloud__AutoML__V1beta1__DataType_struct_type_instance_ \"Google::Cloud::AutoML::V1beta1::DataType#struct_type (method)\").\n\n### CATEGORY\n\n**value:** 10 \nValues of this type are not further understood by AutoML,\ne.g. AutoML is unable to tell the order of values (as it could with\nFLOAT64), or is unable to say if one value contains another (as it\ncould with STRING).\nEncoded as `string` (bytes should be base64-encoded, as described in RFC\n4648, section 4)."]]