Response for BulkCreateDataTableAsyncRequest.
JSON representation |
---|
{
"operation_id"
:
string
,
"data_table"
:
{
object (
|
Fields | |
---|---|
operation_id
|
Operation Id for creation of data table from file. |
data_table
|
The data table created. |
DataTable
DataTable represents the data table resource.
JSON representation |
---|
{ "name" : string , "display_name" : string , "description" : string , "create_time" : string , "update_time" : string , "column_info" : [ { object ( |
Fields | |
---|---|
name
|
Identifier. The resource name of the data table Format: "{project}/locations/{region}/instances/{instance}/dataTables/{data_table}" |
display_name
|
Output only. The unique display name of the data table. |
description
|
Required. A user-provided description of the data table. |
create_time
|
Output only. Table create time Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
update_time
|
Output only. Table update time Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
column_info[]
|
Immutable. Details of all the columns in the table |
data_table_uuid
|
Output only. Data table unique id |
rules[]
|
Output only. The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id. |
rule_associations_count
|
Output only. The count of rules using the data table. |
row_time_to_live
|
Optional. User-provided TTL of the data table. |
approximate_row_count
|
Output only. The count of rows in the data table. |
update_source
|
Output only. Source of the data table update. |
DataTableColumnInfo
DataTableColumnInfo represents the column metadata of the datatable. The column_index represents the ordering of the values in DataTableRow. NEXT TAG: 6
JSON representation |
---|
{ "column_index" : integer , "original_column" : string , "key_column" : boolean , // Union field |
column_index
integer
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
boolean
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.
Union field path_or_type
.
path_or_type
can be only one of the following:
mapped_column_path
string
Entity proto field path that the column is mapped to
column_type
enum (
DataTableColumnType
)
Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX