Method: dataTableRows.bulkReplace

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

Replace all existing data table rows with new data table rows.

HTTP request

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

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 replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

Response body

Response message with data table rows that replaced existing 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 that replaced existing data table rows

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.bulkReplace

For more information, see the IAM documentation.