- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- ParserAction
- Try it!
Full name: projects.locations.instances.logTypes.parsers.fetchParserCandidates
parsers.fetchParserCandidates fetches the parser candidates for a given log type.
HTTP request
Path parameters
| Parameters | |
|---|---|
| name | 
 Required. The name, which owns this collection of parsers. Format: projects/{project}/locations/{region}/instances/{instance}/logTypes/{logType}/parsers/{parser} | 
Query parameters
| Parameters | |
|---|---|
| parserAction | 
 Required. Customer action for which the customer needs candidates. | 
Request body
The request body must be empty.
Response body
Response message for parsers.fetchParserCandidates.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "candidates": [
    {
      object ( | 
| Fields | |
|---|---|
| candidates[] | 
 Output only. The candidates to which customer can move to. | 
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 name resource:
- chronicle.parsers.list
For more information, see the IAM documentation.
ParserAction
ParserAction represents the action that the customer can take on a parser.
| Enums | |
|---|---|
| PARSER_ACTION_UNSPECIFIED | The action is not specified. | 
| PARSER_ACTION_UPGRADE | The action is to upgrade the parser. | 
| PARSER_ACTION_ROLLBACK | The action is to rollback the parser. |