Class: Google::Cloud::Datastream::V1::MysqlColumn

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datastream/v1/datastream_resources.rb

Overview

MySQL Column.

Instance Attribute Summary collapse

Instance Attribute Details

#collation::String

Returns Column collation.

Returns:

  • (::String)

    Column collation.



578
579
580
581
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 578

class MysqlColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#column::String

Returns Column name.

Returns:

  • (::String)

    Column name.



578
579
580
581
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 578

class MysqlColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#data_type::String

Returns 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:



578
579
580
581
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 578

class MysqlColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#length::Integer

Returns Column length.

Returns:

  • (::Integer)

    Column length.



578
579
580
581
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 578

class MysqlColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#nullable::Boolean

Returns Whether or not the column can accept a null value.

Returns:

  • (::Boolean)

    Whether or not the column can accept a null value.



578
579
580
581
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 578

class MysqlColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#ordinal_position::Integer

Returns The ordinal position of the column in the table.

Returns:

  • (::Integer)

    The ordinal position of the column in the table.



578
579
580
581
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 578

class MysqlColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#precision::Integer

Returns Column precision.

Returns:

  • (::Integer)

    Column precision.



578
579
580
581
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 578

class MysqlColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#primary_key::Boolean

Returns Whether or not the column represents a primary key.

Returns:

  • (::Boolean)

    Whether or not the column represents a primary key.



578
579
580
581
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 578

class MysqlColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#scale::Integer

Returns Column scale.

Returns:

  • (::Integer)

    Column scale.



578
579
580
581
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 578

class MysqlColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end