Chronicle v1 API - Class DataTableColumnInfo (1.0.0-beta05)

public sealed class DataTableColumnInfo : IMessage<DataTableColumnInfo>, IEquatable<DataTableColumnInfo>, IDeepCloneable<DataTableColumnInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Chronicle v1 API class DataTableColumnInfo.

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

Inheritance

object > DataTableColumnInfo

Namespace

Google.Cloud.Chronicle.V1

Assembly

Google.Cloud.Chronicle.V1.dll

Constructors

DataTableColumnInfo()

public DataTableColumnInfo()

DataTableColumnInfo(DataTableColumnInfo)

public DataTableColumnInfo(DataTableColumnInfo other)
Parameter
Name Description
other DataTableColumnInfo

Properties

ColumnIndex

public int ColumnIndex { get; set; }

Required. Column Index. 0,1,2...

Property Value
Type Description
int

ColumnType

public DataTableColumnInfo.Types.DataTableColumnType ColumnType { get; set; }

Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX

Property Value
Type Description
DataTableColumnInfoTypesDataTableColumnType

HasColumnType

public bool HasColumnType { get; }

Gets whether the "column_type" field is set

Property Value
Type Description
bool

HasMappedColumnPath

public bool HasMappedColumnPath { get; }

Gets whether the "mapped_column_path" field is set

Property Value
Type Description
bool

KeyColumn

public bool KeyColumn { get; set; }

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.

Property Value
Type Description
bool

MappedColumnPath

public string MappedColumnPath { get; set; }

Entity proto field path that the column is mapped to

Property Value
Type Description
string

OriginalColumn

public string OriginalColumn { get; set; }

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.
Property Value
Type Description
string

PathOrTypeCase

public DataTableColumnInfo.PathOrTypeOneofCase PathOrTypeCase { get; }
Property Value
Type Description
DataTableColumnInfoPathOrTypeOneofCase

RepeatedValues

public bool RepeatedValues { get; set; }

Optional. Whether the column is a repeated values column.

Property Value
Type Description
bool