Class ColumnSchema (3.5.0)

ColumnSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
column str
Required. Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
type_ str
Required. Type of the column. Must be a UTF-8 string with the maximum size of 128 bytes.
description str
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 str
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 Sequence[google.cloud.datacatalog_v1.types.ColumnSchema]
Optional. Schema of sub-columns. A column can have zero or more sub-columns.