Full name: projects.locations.instances.legacyPlaybooks.legacyDuplicateNestedWorkflows
legacyDuplicateNestedWorkflows duplicates nested workflows.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
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[] |
Required. The identifiers of the workflows to duplicate. |
categoryId |
Optional. The category of the duplicated workflows. |
environments[] |
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 ( |
Fields | |
---|---|
payload[] |
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.