Class: Google::Cloud::AutoML::V1beta1::DataType
- Inherits:
-
Object
- Object
- Google::Cloud::AutoML::V1beta1::DataType
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/automl/v1beta1/data_types.rb
Overview
Indicated the type of data that can be stored in a structured data entity (e.g. a table).
Instance Attribute Summary collapse
- #list_element_type ⇒ ::Google::Cloud::AutoML::V1beta1::DataType
-
#nullable ⇒ ::Boolean
If true, this DataType can also be
NULL
. - #struct_type ⇒ ::Google::Cloud::AutoML::V1beta1::StructType
- #time_format ⇒ ::String
-
#type_code ⇒ ::Google::Cloud::AutoML::V1beta1::TypeCode
Required.
Instance Attribute Details
#list_element_type ⇒ ::Google::Cloud::AutoML::V1beta1::DataType
54 55 56 57 |
# File 'proto_docs/google/cloud/automl/v1beta1/data_types.rb', line 54 class DataType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#nullable ⇒ ::Boolean
Returns If true, this DataType can also be NULL
. In .CSV files NULL
value is
expressed as an empty string.
54 55 56 57 |
# File 'proto_docs/google/cloud/automl/v1beta1/data_types.rb', line 54 class DataType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#struct_type ⇒ ::Google::Cloud::AutoML::V1beta1::StructType
54 55 56 57 |
# File 'proto_docs/google/cloud/automl/v1beta1/data_types.rb', line 54 class DataType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#time_format ⇒ ::String
Returns 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.
54 55 56 57 |
# File 'proto_docs/google/cloud/automl/v1beta1/data_types.rb', line 54 class DataType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |