- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- SearchEverythingPlaybookStepRunStats
- SearchEverythingPlaybookFlowRunStats
- Try it!
Full name: projects.locations.instances.legacyPlaybooks.legacyGetPlaybookStatsMap
legacyPlaybooks.legacyGetPlaybookStatsMap returns statistic data related to the workflow (such as number of runs, distribution by time, etc.).
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The instance to get the playbook stats map for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "fromUnixTimeMs": string, "toUnixTimeMs": string, "originalWorkflowIdentifier": string } |
Fields | |
---|---|
fromUnixTimeMs |
Optional. The start time for the stats in unix time ms. |
toUnixTimeMs |
Optional. The end time for the stats in unix time ms. |
originalWorkflowIdentifier |
Required. The original workflow identifier. |
Response body
LegacyPlaybookGetPlaybookStatsMapResponse is a response for getting playbook stats map.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "steps": { string: { object ( |
Fields | |
---|---|
steps |
Optional. The steps stats. An object containing a list of |
flows |
Optional. The flows stats. An object containing a list of |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
SearchEverythingPlaybookStepRunStats
SearchEverythingPlaybookStepRunStats represents the stats for a step run.
JSON representation |
---|
{ "successfulRuns": integer, "faultedRuns": integer, "totalRuns": integer } |
Fields | |
---|---|
successfulRuns |
Required. The number of successful runs. |
faultedRuns |
Required. The number of faulted runs. |
totalRuns |
Required. The total number of runs. |
SearchEverythingPlaybookFlowRunStats
SearchEverythingPlaybookFlowRunStats represents the stats for a flow run.
JSON representation |
---|
{ "faultedRuns": integer, "totalRuns": integer, "branchRuns": { string: integer, ... } } |
Fields | |
---|---|
faultedRuns |
Required. The number of faulted runs. |
totalRuns |
Required. The total number of runs. |
branchRuns |
Optional. The number of runs for each branch. An object containing a list of |