- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- ReferenceListError
- Try it!
Full name: projects.locations.instances.verifyReferenceList
VerifyReferenceList validates list content and returns line errors, if any.
HTTP request
POST https://chronicle.googleapis.com/v1alpha/{instance}:verifyReferenceList
Path parameters
Parameters | |
---|---|
instance |
Required. The Chronicle instance associated with the request. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "syntax_type": enum ( |
Fields | |
---|---|
syntax_type |
Required. Type (format) of list lines. |
entries[] |
Required. The entries of the reference list. Each line may be either an item in the list or a comment. |
Response body
VerifyListResponse response message.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"success": boolean,
"errors": [
{
object ( |
Fields | |
---|---|
success |
Validity of list - true if no errors found. |
errors[] |
Line-level errors causing the list to be invalid. |
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 instance
resource:
chronicle.referenceLists.verifyReferenceList
For more information, see the IAM documentation.
ReferenceListError
The error generated when verifying the reference list.
JSON representation |
---|
{ "line_number": integer, "error_message": string } |
Fields | |
---|---|
line_number |
1-indexed line number where the error occurs. General list errors are indexed at -1. |
error_message |
Message explaining why the line is invalid. |