Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::ColumnEntity (v0.8.0)

Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::ColumnEntity.

Column is not used as an independent entity, it is retrieved as part of a Table entity.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#array

def array() -> ::Boolean
Returns
  • (::Boolean) — Is the column of array type.

#array=

def array=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Is the column of array type.
Returns
  • (::Boolean) — Is the column of array type.

#array_length

def array_length() -> ::Integer
Returns
  • (::Integer) — If the column is array, of which length.

#array_length=

def array_length=(value) -> ::Integer
Parameter
  • value (::Integer) — If the column is array, of which length.
Returns
  • (::Integer) — If the column is array, of which length.

#auto_generated

def auto_generated() -> ::Boolean
Returns
  • (::Boolean) — Is the column auto-generated/identity.

#auto_generated=

def auto_generated=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Is the column auto-generated/identity.
Returns
  • (::Boolean) — Is the column auto-generated/identity.

#charset

def charset() -> ::String
Returns
  • (::String) — Charset override - instead of table level charset.

#charset=

def charset=(value) -> ::String
Parameter
  • value (::String) — Charset override - instead of table level charset.
Returns
  • (::String) — Charset override - instead of table level charset.

#collation

def collation() -> ::String
Returns
  • (::String) — Collation override - instead of table level collation.

#collation=

def collation=(value) -> ::String
Parameter
  • value (::String) — Collation override - instead of table level collation.
Returns
  • (::String) — Collation override - instead of table level collation.

#comment

def comment() -> ::String
Returns
  • (::String) — Comment associated with the column.

#comment=

def comment=(value) -> ::String
Parameter
  • value (::String) — Comment associated with the column.
Returns
  • (::String) — Comment associated with the column.

#custom_features

def custom_features() -> ::Google::Protobuf::Struct
Returns

#custom_features=

def custom_features=(value) -> ::Google::Protobuf::Struct
Parameter
Returns

#data_type

def data_type() -> ::String
Returns
  • (::String) — Column data type.

#data_type=

def data_type=(value) -> ::String
Parameter
  • value (::String) — Column data type.
Returns
  • (::String) — Column data type.

#default_value

def default_value() -> ::String
Returns
  • (::String) — Default value of the column.

#default_value=

def default_value=(value) -> ::String
Parameter
  • value (::String) — Default value of the column.
Returns
  • (::String) — Default value of the column.

#fractional_seconds_precision

def fractional_seconds_precision() -> ::Integer
Returns
  • (::Integer) — Column fractional second precision - used for timestamp based datatypes.

#fractional_seconds_precision=

def fractional_seconds_precision=(value) -> ::Integer
Parameter
  • value (::Integer) — Column fractional second precision - used for timestamp based datatypes.
Returns
  • (::Integer) — Column fractional second precision - used for timestamp based datatypes.

#length

def length() -> ::Integer
Returns
  • (::Integer) — Column length - e.g. varchar (50).

#length=

def length=(value) -> ::Integer
Parameter
  • value (::Integer) — Column length - e.g. varchar (50).
Returns
  • (::Integer) — Column length - e.g. varchar (50).

#name

def name() -> ::String
Returns
  • (::String) — Column name.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Column name.
Returns
  • (::String) — Column name.

#nullable

def nullable() -> ::Boolean
Returns
  • (::Boolean) — Is the column nullable.

#nullable=

def nullable=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Is the column nullable.
Returns
  • (::Boolean) — Is the column nullable.

#ordinal_position

def ordinal_position() -> ::Integer
Returns
  • (::Integer) — Column order in the table.

#ordinal_position=

def ordinal_position=(value) -> ::Integer
Parameter
  • value (::Integer) — Column order in the table.
Returns
  • (::Integer) — Column order in the table.

#precision

def precision() -> ::Integer
Returns
  • (::Integer) — Column precision - when relevant.

#precision=

def precision=(value) -> ::Integer
Parameter
  • value (::Integer) — Column precision - when relevant.
Returns
  • (::Integer) — Column precision - when relevant.

#scale

def scale() -> ::Integer
Returns
  • (::Integer) — Column scale - when relevant.

#scale=

def scale=(value) -> ::Integer
Parameter
  • value (::Integer) — Column scale - when relevant.
Returns
  • (::Integer) — Column scale - when relevant.

#set_values

def set_values() -> ::Array<::String>
Returns
  • (::Array<::String>) — Specifies the list of values allowed in the column. Only used for set data type.

#set_values=

def set_values=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Specifies the list of values allowed in the column. Only used for set data type.
Returns
  • (::Array<::String>) — Specifies the list of values allowed in the column. Only used for set data type.

#udt

def udt() -> ::Boolean
Returns
  • (::Boolean) — Is the column a UDT.

#udt=

def udt=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Is the column a UDT.
Returns
  • (::Boolean) — Is the column a UDT.