- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- ValidateWatchlistEntityRequest
- ValidateWatchlistEntityResponse
- ErrorType
- Try it!
Full name: projects.locations.instances.batchValidateWatchlistEntities
Validates a batch of entities that could be added into watchlist under an instance.
HTTP request
POST https://chronicle.googleapis.com/v1alpha/{parent}:batchValidateWatchlistEntities
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource shared by all existing entities. Format: projects/{project}/locations/{location}/instances/{instance} If this is set, the parent field in the ValidateWatchlistEntityRequest messages must either be empty or match this field. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"requests": [
{
object ( |
Fields | |
---|---|
requests[] |
Required. The request message specifying the entities to validate. |
Response body
Response message for validating entities that could be added into a watchlist in batch under an instance.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"responses": [
{
object ( |
Fields | |
---|---|
responses[] |
Validation responses for each entity. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
ValidateWatchlistEntityRequest
Request message for validating an entity that could be added into a watchlist under an instance.
JSON representation |
---|
{
"parent": string,
"entity": {
object ( |
Fields | |
---|---|
parent |
Required. The parent resource shared by all existing entities. Format: projects/{project}/locations/{location}/instances/{instance} |
entity |
Required. The entity to validate. |
ValidateWatchlistEntityResponse
Response message for validating an entity that could be added into a watchlist under an instance.
JSON representation |
---|
{
"error_type": enum ( |
Fields | |
---|---|
error_type |
The type of the error. |
ErrorType
Error type encountered during validation.
Enums | |
---|---|
ERROR_TYPE_UNSPECIFIED |
The default error type. It means the entity is valid under the instance. |
NOT_FOUND |
The entity is not found under the instance. |