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_typeis the type of the elements.Note: The following fields are mutually exclusive:
list_element_type,struct_type,time_format. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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_typeis the type of the elements.Note: The following fields are mutually exclusive:
list_element_type,struct_type,time_format. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AutoML::V1beta1::DataType) — If type_code == ARRAY,
then
list_element_typeis the type of the elements.Note: The following fields are mutually exclusive:
list_element_type,struct_type,time_format. If a field in that set is populated, all other fields in the set will automatically be cleared.
#nullable
def nullable() -> ::Boolean-
(::Boolean) — If true, this DataType can also be
NULL. In .CSV filesNULLvalue is expressed as an empty string.
#nullable=
def nullable=(value) -> ::Boolean-
value (::Boolean) — If true, this DataType can also be
NULL. In .CSV filesNULLvalue is expressed as an empty string.
-
(::Boolean) — If true, this DataType can also be
NULL. In .CSV filesNULLvalue 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_typeprovides type information for the struct's fields.Note: The following fields are mutually exclusive:
struct_type,list_element_type,time_format. If a field in that set is populated, all other fields in the set will automatically be cleared.
#struct_type=
def struct_type=(value) -> ::Google::Cloud::AutoML::V1beta1::StructType-
value (::Google::Cloud::AutoML::V1beta1::StructType) — If type_code == STRUCT, then
struct_typeprovides type information for the struct's fields.Note: The following fields are mutually exclusive:
struct_type,list_element_type,time_format. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AutoML::V1beta1::StructType) — If type_code == STRUCT, then
struct_typeprovides type information for the struct's fields.Note: The following fields are mutually exclusive:
struct_type,list_element_type,time_format. If a field in that set is populated, all other fields in the set will automatically be cleared.
#time_format
def time_format() -> ::String-
(::String) — If type_code == TIMESTAMP
then
time_formatprovides the format in which that time field is expressed. The time_format must either be one of:UNIX_SECONDSUNIX_MILLISECONDSUNIX_MICROSECONDSUNIX_NANOSECONDS(for respectively number of seconds, milliseconds, microseconds and nanoseconds since start of the Unix epoch); or be written instrftimesyntax. If time_format is not set, then the default format as described on the type_code is used.
Note: The following fields are mutually exclusive:
time_format,list_element_type,struct_type. If a field in that set is populated, all other fields in the set will automatically be cleared.
#time_format=
def time_format=(value) -> ::String-
value (::String) — If type_code == TIMESTAMP
then
time_formatprovides the format in which that time field is expressed. The time_format must either be one of:UNIX_SECONDSUNIX_MILLISECONDSUNIX_MICROSECONDSUNIX_NANOSECONDS(for respectively number of seconds, milliseconds, microseconds and nanoseconds since start of the Unix epoch); or be written instrftimesyntax. If time_format is not set, then the default format as described on the type_code is used.
Note: The following fields are mutually exclusive:
time_format,list_element_type,struct_type. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — If type_code == TIMESTAMP
then
time_formatprovides the format in which that time field is expressed. The time_format must either be one of:UNIX_SECONDSUNIX_MILLISECONDSUNIX_MICROSECONDSUNIX_NANOSECONDS(for respectively number of seconds, milliseconds, microseconds and nanoseconds since start of the Unix epoch); or be written instrftimesyntax. If time_format is not set, then the default format as described on the type_code is used.
Note: The following fields are mutually exclusive:
time_format,list_element_type,struct_type. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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.