Class: Google::Cloud::AutoML::V1beta1::DataType
- Inherits:
-
Object
- Object
- Google::Cloud::AutoML::V1beta1::DataType
- Defined in:
- lib/google/cloud/automl/v1beta1/doc/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 ⇒ true, false
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
50 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_types.rb', line 50 class DataType; end |
#nullable ⇒ true, false
Returns If true, this DataType can also be NULL
. In .CSV files NULL
value is
expressed as an empty string.
50 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_types.rb', line 50 class DataType; end |
#struct_type ⇒ Google::Cloud::AutoML::V1beta1::StructType
50 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_types.rb', line 50 class DataType; 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.
50 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_types.rb', line 50 class DataType; end |
#type_code ⇒ Google::Cloud::AutoML::V1beta1::TypeCode
Returns Required. The TypeCode for this type.
50 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_types.rb', line 50 class DataType; end |