Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::SpannerColumn.
Spanner column.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#column
def column() -> ::String
Returns
- (::String) — Required. The column name.
#column=
def column=(value) -> ::String
Parameter
- value (::String) — Required. The column name.
Returns
- (::String) — Required. The column name.
#data_type
def data_type() -> ::String
Returns
- (::String) — Optional. Spanner data type.
#data_type=
def data_type=(value) -> ::String
Parameter
- value (::String) — Optional. Spanner data type.
Returns
- (::String) — Optional. Spanner data type.
#is_primary_key
def is_primary_key() -> ::Boolean
Returns
- (::Boolean) — Optional. Whether or not the column is a primary key.
#is_primary_key=
def is_primary_key=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Whether or not the column is a primary key.
Returns
- (::Boolean) — Optional. Whether or not the column is a primary key.
#ordinal_position
def ordinal_position() -> ::Integer
Returns
- (::Integer) — Optional. The ordinal position of the column in the table.
#ordinal_position=
def ordinal_position=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. The ordinal position of the column in the table.
Returns
- (::Integer) — Optional. The ordinal position of the column in the table.