Datastream V1 API - Class Google::Cloud::Datastream::V1::PostgresqlColumn (v0.10.0)

Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::PostgresqlColumn.

PostgreSQL Column.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#column

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

#column=

def column=(value) -> ::String
Parameter
  • value (::String) — Column name.
Returns
  • (::String) — Column name.

#data_type

def data_type() -> ::String
Returns
  • (::String) — The PostgreSQL data type.

#data_type=

def data_type=(value) -> ::String
Parameter
  • value (::String) — The PostgreSQL data type.
Returns
  • (::String) — The PostgreSQL data type.

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

#precision

def precision() -> ::Integer
Returns
  • (::Integer) — Column precision.

#precision=

def precision=(value) -> ::Integer
Parameter
  • value (::Integer) — Column precision.
Returns
  • (::Integer) — Column precision.

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

#scale

def scale() -> ::Integer
Returns
  • (::Integer) — Column scale.

#scale=

def scale=(value) -> ::Integer
Parameter
  • value (::Integer) — Column scale.
Returns
  • (::Integer) — Column scale.