Full name: projects.locations.instances.legacyPlaybooks.legacyRunPlaybookInDebug
Run playbook in debug mode.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The instance to run the playbook in debug for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"workflow": {
object ( |
Fields | |
---|---|
workflow |
Required. The workflow to run the playbook in debug for. |
testCaseId |
Required. The test case id to run the playbook in debug for. |
Response body
Response object that holds identifiers of a playbook simulation / debug mode run. Those identifiers are used to fetch results for this specific run
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "workflowInstanceId": string, "newTestCaseId": string, "alertGroupIdentifier": string, "alertIdentifier": string, "newWorkflowIdentifier": string, "parsedNestedInputParameters": { string: string, ... }, "triggerMatches": boolean } |
Fields | |
---|---|
workflowInstanceId |
Required. Workflow instance id |
newTestCaseId |
Required. The new case id that this playbook will run on |
alertGroupIdentifier |
Required. The group id for the alert |
alertIdentifier |
Required. The alert identifier |
newWorkflowIdentifier |
Required. The new workflow identifier |
parsedNestedInputParameters |
Optional. Dictionary of inner input parameters An object containing a list of |
triggerMatches |
Required. Whether the trigger actually matched when we ran the simulation |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.