Class: Google::Cloud::Datastream::V1alpha1::MysqlColumn

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

Overview

MySQL Column.

Instance Attribute Summary collapse

Instance Attribute Details

#collation::String

Returns Column collation.

Returns:

  • (::String)

    Column collation.



418
419
420
421
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 418

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

#column_name::String

Returns Column name.

Returns:

  • (::String)

    Column name.



418
419
420
421
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 418

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:



418
419
420
421
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 418

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

#length::Integer

Returns Column length.

Returns:

  • (::Integer)

    Column length.



418
419
420
421
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 418

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.



418
419
420
421
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 418

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.



418
419
420
421
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 418

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.



418
419
420
421
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 418

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