Method: legacyPlaybooks.legacyDuplicateNestedWorkflows

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

legacyDuplicateNestedWorkflows duplicates nested workflows.

HTTP request


Path parameters

Parameters
instance

string

Required. The instance to duplicate the nested workflows for. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "identifiers": [
    string
  ],
  "categoryId": integer,
  "environments": [
    string
  ]
}
Fields
identifiers[]

string

Required. The identifiers of the workflows to duplicate.

categoryId

integer

Optional. The category of the duplicated workflows.

environments[]

string

Optional. The environments of the duplicated workflows.

Response body

LegacyPlaybookDuplicateNestedWorkflowsResponse is a response for duplicating nested workflows.

If successful, the response body contains data with the following structure:

JSON representation
{
  "payload": [
    {
      object (ApiWorkflowDefinitionDataModel)
    }
  ]
}
Fields
payload[]

object (ApiWorkflowDefinitionDataModel)

Optional. The duplicated nested workflows.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.