Google Cloud Platform · Arazzo Workflow
Google Cloud Platform Move Folder and Poll Operation
Version 1.0.0
Read a folder, move it under a new parent, poll the operation, then confirm the new parent.
View Spec
View on GitHub
API ManagementCloud ComputingInfrastructurePlatform as a ServiceArazzoWorkflows
Provider
Workflows
move-folder-and-poll
Move a Google Cloud folder to a new parent and wait for completion.
Captures the current parent, moves the folder to a new destination parent, polls the operation until done, then re-reads the folder.
1
getFolderBefore
cloudresourcemanager.folders.get
Read the folder to capture its current parent before the move.
2
moveFolder
cloudresourcemanager.folders.move
Move the folder under the destination parent. Returns a long-running Operation whose name is used to poll for completion.
3
pollOperation
cloudresourcemanager.operations.get
Poll the long-running operation by name until the done flag is true. Branches back to itself while the operation is still in progress.
4
getFolderAfter
cloudresourcemanager.folders.get
Re-read the folder to confirm the new parent took effect after the move.