Class Google::Cloud::DataCatalog::V1::ColumnSchema (v0.10.0)

A column within a schema. Columns can be nested inside other columns.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#column

def column() -> ::String
Returns
  • (::String) — Required. Name of the column.

    Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.

#column=

def column=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the column.

    Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.

Returns
  • (::String) — Required. Name of the column.

    Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.

#description

def description() -> ::String
Returns
  • (::String) — Optional. Description of the column. Default value is an empty string.

    The description must be a UTF-8 string with the maximum size of 2000 bytes.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Description of the column. Default value is an empty string.

    The description must be a UTF-8 string with the maximum size of 2000 bytes.

Returns
  • (::String) — Optional. Description of the column. Default value is an empty string.

    The description must be a UTF-8 string with the maximum size of 2000 bytes.

#mode

def mode() -> ::String
Returns
  • (::String) — Optional. A column's mode indicates whether values in this column are required, nullable, or repeated.

    Only NULLABLE, REQUIRED, and REPEATED values are supported. Default mode is NULLABLE.

#mode=

def mode=(value) -> ::String
Parameter
  • value (::String) — Optional. A column's mode indicates whether values in this column are required, nullable, or repeated.

    Only NULLABLE, REQUIRED, and REPEATED values are supported. Default mode is NULLABLE.

Returns
  • (::String) — Optional. A column's mode indicates whether values in this column are required, nullable, or repeated.

    Only NULLABLE, REQUIRED, and REPEATED values are supported. Default mode is NULLABLE.

#subcolumns

def subcolumns() -> ::Array<::Google::Cloud::DataCatalog::V1::ColumnSchema>
Returns

#subcolumns=

def subcolumns=(value) -> ::Array<::Google::Cloud::DataCatalog::V1::ColumnSchema>
Parameter
Returns

#type

def type() -> ::String
Returns
  • (::String) — Required. Type of the column.

    Must be a UTF-8 string with the maximum size of 128 bytes.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — Required. Type of the column.

    Must be a UTF-8 string with the maximum size of 128 bytes.

Returns
  • (::String) — Required. Type of the column.

    Must be a UTF-8 string with the maximum size of 128 bytes.