Method: entities.batchAdd

Full name: projects.locations.instances.watchlists.entities.batchAdd

Adds a batch of entities under watchlist.

HTTP request

POST https://chronicle.googleapis.com/v1alpha/{parent}/entities:batchAdd

Path parameters

Parameters
parent

string

Required. The parent resource shared by all entities being added. Format: projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist} If this is set, the parent field in the AddWatchlistEntityRequest messages must either be empty or match this field.

Request body

The request body contains data with the following structure:

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

object (AddWatchlistEntityRequest)

Required. The request message specifying the entities to add.

Response body

Response message for adding entities in batch.

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

JSON representation
{
  "entities": [
    {
      object (Entity)
    }
  ]
}
Fields
entities[]

object (Entity)

Entities added.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.