Datastream V1 API - Class Google::Cloud::Datastream::V1::MysqlColumn (v0.8.0)

Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::MysqlColumn.

MySQL Column.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#collation

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

#collation=

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

#column

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

#column=

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

#data_type

def data_type() -> ::String
Returns
  • (::String) — The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html

#data_type=

def data_type=(value) -> ::String
Parameter
  • value (::String) — The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
Returns
  • (::String) — The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html

#length

def length() -> ::Integer
Returns
  • (::Integer) — Column length.

#length=

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

#nullable

def nullable() -> ::Boolean
Returns
  • (::Boolean) — Whether or not the column can accept a null value.

#nullable=

def nullable=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether or not the column can accept a null value.
Returns
  • (::Boolean) — Whether or not the column can accept a null value.

#ordinal_position

def ordinal_position() -> ::Integer
Returns
  • (::Integer) — The ordinal position of the column in the table.

#ordinal_position=

def ordinal_position=(value) -> ::Integer
Parameter
  • value (::Integer) — The ordinal position of the column in the table.
Returns
  • (::Integer) — The ordinal position of the column in the table.

#precision

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

#precision=

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

#primary_key

def primary_key() -> ::Boolean
Returns
  • (::Boolean) — Whether or not the column represents a primary key.

#primary_key=

def primary_key=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether or not the column represents a primary key.
Returns
  • (::Boolean) — Whether or not the column represents a primary key.

#scale

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

#scale=

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