Class DataTableColumnInfo (0.5.0)

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

DataTableColumnInfo represents the column metadata of the datatable. The column_index represents the ordering of the values in DataTableRow.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
mapped_column_path str
Entity proto field path that the column is mapped to This field is a member of oneof_ path_or_type.
column_type google.cloud.chronicle_v1.types.DataTableColumnInfo.DataTableColumnType
Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX This field is a member of oneof_ path_or_type.
column_index int
Required. Column Index. 0,1,2...
original_column str
Required. Original column name of the Data Table (present in the CSV header in case of creation of data tables using file uploads). It must satisfy the following requirements: - Starts with letter. - Contains only letters, numbers and underscore. - Must be unique and has length < 256.="">
key_column bool
Optional. Whether to include this column in the calculation of the row ID. If no columns have key_column = true, all columns will be included in the calculation of the row ID.
repeated_values bool
Optional. Whether the column is a repeated values column.

Classes

DataTableColumnType

DataTableColumnType(value)

DataTableColumnType denotes the type of the column to be referenced in the rule.