Reference documentation and code samples for the Cloud AutoML V1beta1 Client class TypeCode.
TypeCode
is used as a part of
DataType.
Protobuf type google.cloud.automl.v1beta1.TypeCode
Namespace
Google \ Cloud \ AutoMl \ V1beta1Methods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
TYPE_CODE_UNSPECIFIED
Value: 0
Not specified. Should not be used.
Generated from protobuf enum TYPE_CODE_UNSPECIFIED = 0;
FLOAT64
Value: 3
Encoded as number
, or the strings "NaN"
, "Infinity"
, or
"-Infinity"
.
Generated from protobuf enum FLOAT64 = 3;
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).
Generated from protobuf enum TIMESTAMP = 4;
STRING
Value: 6
Encoded as string
.
Generated from protobuf enum STRING = 6;
PBARRAY
Value: 8
Encoded as list
, where the list elements are represented according to
list_element_type.
Generated from protobuf enum ARRAY = 8;
STRUCT
Value: 9
Encoded as struct
, where field values are represented according to
struct_type.
Generated from protobuf enum STRUCT = 9;
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).
Generated from protobuf enum CATEGORY = 10;