Google Cloud Platform · Arazzo Workflow
Google Cloud Platform Delete and Restore Folder
Version 1.0.0
Mark a folder for deletion, wait for it, then undelete it within the grace period.
View Spec
View on GitHub
API ManagementCloud ComputingInfrastructurePlatform as a ServiceArazzoWorkflows
Provider
Workflows
delete-and-restore-folder
Delete a folder then restore it within the grace period.
Marks a folder for deletion, waits for the delete operation, then undeletes it and waits for the restore operation.
1
getFolder
cloudresourcemanager.folders.get
Read the folder to confirm it exists and capture its starting state.
2
deleteFolder
cloudresourcemanager.folders.delete
Mark the folder for deletion. Returns a long-running Operation whose name is used to poll for completion.
3
pollDelete
cloudresourcemanager.operations.get
Poll the delete operation by name until the done flag is true.
4
undeleteFolder
cloudresourcemanager.folders.undelete
Restore the folder from DELETE_REQUESTED within the grace period. Returns a long-running Operation whose name is used to poll.
5
pollUndelete
cloudresourcemanager.operations.get
Poll the undelete operation by name until the done flag is true.