Reference documentation and code samples for the Google Cloud Chronicle V1 Client class DataTableColumnInfo.
DataTableColumnInfo represents the column metadata of the datatable. The column_index represents the ordering of the values in DataTableRow.
Generated from protobuf message google.cloud.chronicle.v1.DataTableColumnInfo
Namespace
Google \ Cloud \ Chronicle \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ mapped_column_path
string
Entity proto field path that the column is mapped to
↳ column_type
int
Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX
↳ column_index
int
Required. Column Index. 0,1,2...
↳ original_column
string
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.
getMappedColumnPath
Entity proto field path that the column is mapped to
string
hasMappedColumnPath
setMappedColumnPath
Entity proto field path that the column is mapped to
var
string
$this
getColumnType
Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX
hasColumnType
setColumnType
Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX
$this
getColumnIndex
Required. Column Index. 0,1,2...
Generated from protobuf field int32 column_index = 1 [(.google.api.field_behavior) = REQUIRED];
int
setColumnIndex
Required. Column Index. 0,1,2...
Generated from protobuf field int32 column_index = 1 [(.google.api.field_behavior) = REQUIRED];
var
int
$this
getOriginalColumn
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.
string
setOriginalColumn
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.
var
string
$this
getKeyColumn
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.
bool
setKeyColumn
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.
var
bool
$this
getRepeatedValues
Optional. Whether the column is a repeated values column.
bool
setRepeatedValues
Optional. Whether the column is a repeated values column.
var
bool
$this
getPathOrType
string

