Class ColumnSchema (3.18.1)

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

Representation of a column within a schema. Columns could be nested inside other columns.


column str
Required. Name of the column.
type_ str
Required. Type of the column.
description str
Optional. Description of the column. Default value is an empty string.
mode str
Optional. A column's mode indicates whether the values in this column are required, nullable, etc. Only NULLABLE, REQUIRED and REPEATED are supported. Default mode is NULLABLE.
subcolumns MutableSequence[]
Optional. Schema of sub-columns. A column can have zero or more sub-columns.