Class: Google::Cloud::Datastream::V1::PostgresqlColumn

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

PostgreSQL Column.

Instance Attribute Summary collapse

Instance Attribute Details

#column::String

Returns Column name.

Returns:

  • (::String)

    Column name.



484
485
486
487
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 484

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

#data_type::String

Returns The PostgreSQL data type.

Returns:

  • (::String)

    The PostgreSQL data type.



484
485
486
487
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 484

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

#length::Integer

Returns Column length.

Returns:

  • (::Integer)

    Column length.



484
485
486
487
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 484

class PostgresqlColumn
  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.



484
485
486
487
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 484

class PostgresqlColumn
  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.



484
485
486
487
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 484

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

#precision::Integer

Returns Column precision.

Returns:

  • (::Integer)

    Column precision.



484
485
486
487
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 484

class PostgresqlColumn
  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.



484
485
486
487
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 484

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

#scale::Integer

Returns Column scale.

Returns:

  • (::Integer)

    Column scale.



484
485
486
487
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 484

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