Class: Google::Cloud::Datastream::V1::MysqlColumn
- Inherits:
-
Object
- Object
- Google::Cloud::Datastream::V1::MysqlColumn
- 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
-
#collation ⇒ ::String
Column collation.
-
#column ⇒ ::String
Column name.
-
#data_type ⇒ ::String
The MySQL data type.
-
#length ⇒ ::Integer
Column length.
-
#nullable ⇒ ::Boolean
Whether or not the column can accept a null value.
-
#ordinal_position ⇒ ::Integer
The ordinal position of the column in the table.
-
#precision ⇒ ::Integer
Column precision.
-
#primary_key ⇒ ::Boolean
Whether or not the column represents a primary key.
-
#scale ⇒ ::Integer
Column scale.
Instance Attribute Details
#collation ⇒ ::String
Returns 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.
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.
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.
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.
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.
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.
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.
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.
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 |