Module: Google::Cloud::AutoML::V1beta1::TypeCode

Defined in:
proto_docs/google/cloud/automl/v1beta1/data_types.rb

Overview

TypeCode is used as a part of DataType.

Constant Summary collapse

TYPE_CODE_UNSPECIFIED =

Not specified. Should not be used.

0
FLOAT64 =

Encoded as number, or the strings "NaN", "Infinity", or "-Infinity".

3
TIMESTAMP =

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).

4
STRING =

Encoded as string.

6
ARRAY =

Encoded as list, where the list elements are represented according to

list_element_type.

8
STRUCT =

Encoded as struct, where field values are represented according to struct_type.

9
CATEGORY =

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).

10