Full name: projects.locations.instances.legacyPlaybooks.legacyRestoreWorkflowDefinition
legacyPlaybooks.legacyRestoreWorkflowDefinition restores workflow definition.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The instance to restore the workflow definition for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "restoreWorkflowIdentifier": string, "restoreComment": string, "isOverride": boolean } |
Fields | |
---|---|
restoreWorkflowIdentifier |
Required. The identifier of the workflow to restore the workflow definition for. |
restoreComment |
Required. The comment to restore the workflow with. |
isOverride |
Optional. Indicates if the restore should override the current workflow. |
Response body
If successful, the response body contains an instance of ApiWorkflowDefinitionDataModel
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.