- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.dataTables.upload
Create data table from a bulk file.
HTTP request
* Upload URI, for media upload requests:
POST https://chronicle.africa-south1.rep.googleapis.com/upload/v1alpha/{parent}/dataTables:bulkCreateDataTableAsync * Metadata URI, for metadata-only requests:POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{parent}/dataTables:bulkCreateDataTableAsync Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent resource where this data table will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "dataTableId": string, "skipHeaderRow": boolean, // Union field |
| Fields | |
|---|---|
dataTableId |
Required. The ID to use for the data table. This is also the display name for the data table. It must satisfy the following requirements: - Starts with letter. - Contains only letters, numbers and underscore. - Must be unique and has length < 256. |
skipHeaderRow |
Optional. If set to true, the first row of the provided CSV file will be skipped. Defaults to false, where all rows are treated as data. In both cases, column info is derived from the |
Union field data_table_source. One of data table or serialized data table. data_table_source can be only one of the following: |
|
dataTable |
Optional. The data table to create. |
dataTableSerialized |
Optional. The data table to create, as a JSON serialized string. |
Response body
If successful, the response body contains an instance of BulkDataTableAsyncMediaResponse.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
chronicle.dataTables.bulkCreateDataTableAsync
For more information, see the IAM documentation.