Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::DataType (v0.9.0)

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
Returns

#list_element_type=

def list_element_type=(value) -> ::Google::Cloud::AutoML::V1beta1::DataType
Parameter
Returns

#nullable

def nullable() -> ::Boolean
Returns
  • (::Boolean) — If true, this DataType can also be NULL. In .CSV files NULL value is expressed as an empty string.

#nullable=

def nullable=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, this DataType can also be NULL. In .CSV files NULL value is expressed as an empty string.
Returns
  • (::Boolean) — If true, this DataType can also be NULL. In .CSV files NULL value is expressed as an empty string.

#struct_type

def struct_type() -> ::Google::Cloud::AutoML::V1beta1::StructType
Returns

#struct_type=

def struct_type=(value) -> ::Google::Cloud::AutoML::V1beta1::StructType
Parameter
Returns

#time_format

def time_format() -> ::String
Returns
  • (::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 in strftime 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
Parameter
  • 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 in strftime syntax. If time_format is not set, then the default format as described on the type_code is used.
Returns
  • (::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 in strftime 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
Returns

#type_code=

def type_code=(value) -> ::Google::Cloud::AutoML::V1beta1::TypeCode
Parameter
Returns