Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::DataType.
Indicated the type of data that can be stored in a structured data entity (e.g. a table).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#list_element_type
def list_element_type() -> ::Google::Cloud::AutoML::V1beta1::DataType
-
(::Google::Cloud::AutoML::V1beta1::DataType) — If type_code == ARRAY,
then
list_element_type
is the type of the elements.
#list_element_type=
def list_element_type=(value) -> ::Google::Cloud::AutoML::V1beta1::DataType
-
value (::Google::Cloud::AutoML::V1beta1::DataType) — If type_code == ARRAY,
then
list_element_type
is the type of the elements.
-
(::Google::Cloud::AutoML::V1beta1::DataType) — If type_code == ARRAY,
then
list_element_type
is the type of the elements.
#nullable
def nullable() -> ::Boolean
-
(::Boolean) — If true, this DataType can also be
NULL
. In .CSV filesNULL
value is expressed as an empty string.
#nullable=
def nullable=(value) -> ::Boolean
-
value (::Boolean) — If true, this DataType can also be
NULL
. In .CSV filesNULL
value is expressed as an empty string.
-
(::Boolean) — If true, this DataType can also be
NULL
. In .CSV filesNULL
value is expressed as an empty string.
#struct_type
def struct_type() -> ::Google::Cloud::AutoML::V1beta1::StructType
-
(::Google::Cloud::AutoML::V1beta1::StructType) — If type_code == STRUCT, then
struct_type
provides type information for the struct's fields.
#struct_type=
def struct_type=(value) -> ::Google::Cloud::AutoML::V1beta1::StructType
-
value (::Google::Cloud::AutoML::V1beta1::StructType) — If type_code == STRUCT, then
struct_type
provides type information for the struct's fields.
-
(::Google::Cloud::AutoML::V1beta1::StructType) — If type_code == STRUCT, then
struct_type
provides type information for the struct's fields.
#time_format
def time_format() -> ::String
-
(::String) —
If type_code == TIMESTAMP then
time_format
provides the format in which that time field is expressed. The time_format must either be one of:UNIX_SECONDS
UNIX_MILLISECONDS
UNIX_MICROSECONDS
UNIX_NANOSECONDS
(for respectively number of seconds, milliseconds, microseconds and nanoseconds since start of the Unix epoch); or be written instrftime
syntax. If time_format is not set, then the default format as described on the type_code is used.
#time_format=
def time_format=(value) -> ::String
-
value (::String) —
If type_code == TIMESTAMP then
time_format
provides the format in which that time field is expressed. The time_format must either be one of:UNIX_SECONDS
UNIX_MILLISECONDS
UNIX_MICROSECONDS
UNIX_NANOSECONDS
(for respectively number of seconds, milliseconds, microseconds and nanoseconds since start of the Unix epoch); or be written instrftime
syntax. If time_format is not set, then the default format as described on the type_code is used.
-
(::String) —
If type_code == TIMESTAMP then
time_format
provides the format in which that time field is expressed. The time_format must either be one of:UNIX_SECONDS
UNIX_MILLISECONDS
UNIX_MICROSECONDS
UNIX_NANOSECONDS
(for respectively number of seconds, milliseconds, microseconds and nanoseconds since start of the Unix epoch); or be written instrftime
syntax. If time_format is not set, then the default format as described on the type_code is used.
#type_code
def type_code() -> ::Google::Cloud::AutoML::V1beta1::TypeCode
- (::Google::Cloud::AutoML::V1beta1::TypeCode) — Required. The TypeCode for this type.
#type_code=
def type_code=(value) -> ::Google::Cloud::AutoML::V1beta1::TypeCode
- value (::Google::Cloud::AutoML::V1beta1::TypeCode) — Required. The TypeCode for this type.
- (::Google::Cloud::AutoML::V1beta1::TypeCode) — Required. The TypeCode for this type.