LegacyPlaybookAiGenerationByAlertResult represents the result of generating a playbook for a specific alert.
JSON representation |
---|
{
"instance": string,
"caseId": string,
"alertIdentifier": string,
"playbookIdentifier": string,
"executionTimeInMs": string,
"state": enum ( |
Fields | |
---|---|
instance |
Required. The instance to generate the playbook for. Format: projects/{project}/locations/{location}/instances/{instance} |
caseId |
Required. The unique identifier of the security case. |
alertIdentifier |
Required. The unique identifier of the alert. |
playbookIdentifier |
Required. The identifier of the playbook. |
executionTimeInMs |
Required. ExecutionTimeInMs is the execution time of the playbook generation in milliseconds. |
state |
Output only. The current execution state of the generation. |
errorMessage |
Optional. The error message in case generation failed. |
AiGenerationState
AiGenerationState represents the lifecycle of a playbook generation process.
Enums | |
---|---|
AI_GENERATION_STATE_UNSPECIFIED |
The state is unspecified. |
NOT_FOUND |
No generation exists. |
PENDING_START |
Not yet started — pending due to resource limitations. |
IN_PROGRESS |
Currently being generated by the AI. |
SUCCESS |
Generation completed successfully. |
ERROR |
Generation failed with an error. |