Method: legacyPlaybooks.legacyFetchActionResultsForSimulation

Full name: projects.locations.instances.legacyPlaybooks.legacyFetchActionResultsForSimulation

legacyPlaybooks.legacyFetchActionResultsForSimulation returns action results for workflow instance id filtered by loop iteration. / If no loop iteration request is passed, the latest iteration results / will be returned.

HTTP request


Path parameters

Parameters
instance

string

Required. The instance to fetch the action results for. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "workflowInstanceId": string,
  "loopIterationsRequest": [
    {
      object (ApiLoopIterationRequest)
    }
  ]
}
Fields
workflowInstanceId

string (int64 format)

Required. The workflow instance id to fetch the action results for.

loopIterationsRequest[]

object (ApiLoopIterationRequest)

Optional. The request to get the loop iterations.

Response body

If successful, the response body contains an instance of ApiWorkflowInstanceDataModel.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.