LegacyPlaybookAiGenerationByAlertResult

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 (AiGenerationState),
  "errorMessage": string
}
Fields
instance

string

Required. The instance to generate the playbook for. Format: projects/{project}/locations/{location}/instances/{instance}

caseId

string (int64 format)

Required. The unique identifier of the security case.

alertIdentifier

string

Required. The unique identifier of the alert.

playbookIdentifier

string

Required. The identifier of the playbook.

executionTimeInMs

string (int64 format)

Required. ExecutionTimeInMs is the execution time of the playbook generation in milliseconds.

state

enum (AiGenerationState)

Output only. The current execution state of the generation.

errorMessage

string

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.