Datastream V1alpha1 API - Class Google::Cloud::Datastream::V1alpha1::MysqlColumn (v0.5.0)

Reference documentation and code samples for the Datastream V1alpha1 API class Google::Cloud::Datastream::V1alpha1::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_name

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

#column_name=

def column_name=(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.

#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.