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
60 61 62 63 |
# File 'proto_docs/google/cloud/automl/v1beta1/data_types.rb', line 60 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.
60 61 62 63 |
# File 'proto_docs/google/cloud/automl/v1beta1/data_types.rb', line 60 class DataType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#struct_type ⇒ ::Google::Cloud::AutoML::V1beta1::StructType
60 61 62 63 |
# File 'proto_docs/google/cloud/automl/v1beta1/data_types.rb', line 60 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_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.
60 61 62 63 |
# File 'proto_docs/google/cloud/automl/v1beta1/data_types.rb', line 60 class DataType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#type_code ⇒ ::Google::Cloud::AutoML::V1beta1::TypeCode
Returns Required. The TypeCode for this type.
60 61 62 63 |
# File 'proto_docs/google/cloud/automl/v1beta1/data_types.rb', line 60 class DataType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |