Full name: projects.locations.instances.legacyPlaybooks.legacyDuplicateWorkflows
legacyDuplicateWorkflows duplicates workflows.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The instance to duplicate the workflows for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "identifiers": [ string ], "priority": integer, "categoryId": integer, "environments": [ string ] } |
Fields | |
---|---|
identifiers[] |
Required. The identifiers of the workflows to duplicate. |
priority |
Required. The priority of the duplicated workflows. |
categoryId |
Optional. The category of the duplicated workflows. |
environments[] |
Optional. The environments of the duplicated workflows. |
Response body
LegacyPlaybookDuplicateWorkflowsResponse is a response for duplicating workflows.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"payload": [
{
object ( |
Fields | |
---|---|
payload[] |
Optional. The duplicated workflows. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.