Class ColumnSchema (3.11.0)

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

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

Attributes

NameDescription
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[google.cloud.datacatalog_v1beta1.types.ColumnSchema]
Optional. Schema of sub-columns. A column can have zero or more sub-columns.