Method: dataTableRows.bulkCreate

Full name: projects.locations.instances.dataTables.dataTableRows.bulkCreate

Create data table rows in bulk.

HTTP request

POST https://chronicle.googleapis.com/v1alpha/{parent}/dataTableRows:bulkCreate

Path parameters

Parameters
parent

string

Required. The resource id of the data table. Format: /projects/{project}/locations/{region}/instances/{instance}/dataTables/{data_table}

Request body

The request body contains data with the following structure:

JSON representation
{
  "requests": [
    {
      object (CreateDataTableRowRequest)
    }
  ]
}
Fields
requests[]

object (CreateDataTableRowRequest)

Required. Data table rows to create. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be created in a single request. Total size of the rows should be less than 4MB.

Response body

Response message with created data table rows.

If successful, the response body contains data with the following structure:

JSON representation
{
  "data_table_rows": [
    {
      object (DataTableRow)
    }
  ]
}
Fields
data_table_rows[]

object (DataTableRow)

DataTableRows created

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.dataTableRows.bulkCreate

For more information, see the IAM documentation.

CreateDataTableRowRequest

Request to create data table row.

JSON representation
{
  "parent": string,
  "data_table_row": {
    object (DataTableRow)
  }
}
Fields
parent

string

Required. The resource id of the data table. Format: /projects/{project}/locations/{region}/instances/{instance}/dataTables/{data_table}

data_table_row

object (DataTableRow)

Required. The data table row to create.