Google Cloud Platform · Arazzo Workflow
Google Cloud Platform Delete and Restore Project
Version 1.0.0
Mark a project for deletion, confirm DELETE_REQUESTED, then undelete it back to active.
View Spec
View on GitHub
API ManagementCloud ComputingInfrastructurePlatform as a ServiceArazzoWorkflows
Provider
Workflows
delete-and-restore-project
Delete a project then restore it within the grace period.
Marks a project for deletion, waits for the delete operation, then undeletes it and waits for the restore operation.
1
getProject
cloudresourcemanager.projects.get
Read the project to confirm it exists and capture its starting state.
2
deleteProject
cloudresourcemanager.projects.delete
Mark the project 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
undeleteProject
cloudresourcemanager.projects.undelete
Restore the project 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.