capabilities.work

Create Folder and Poll Operation

A 3-step recipe with Google Cloud Platform. We can help you get access.

Recipe · 3 steps

Create Folder and Poll Operation

Create a Google Cloud folder and wait for the operation to complete.

  1. Submit the folder creation request. Returns a long-running Operation whose name is used to poll for completion.
  2. Poll the long-running operation by name until the done flag is true. Branches back to itself while the operation is still in progress.
  3. Fetch the newly created folder by its resource id to confirm its final state and display name.
What you'll need to have ready
  • parent: The parent resource, e.g. organizations/987654321 or folders/123.
  • displayName: The display name for the new folder.
  • folderId: The resource id used to fetch the folder once created (e.g. 500123).
For your developer

Arazzo workflow google-cloud-platform:create-folder-and-poll, 3 operations: cloudresourcemanager.folders.create → cloudresourcemanager.operations.get → cloudresourcemanager.folders.get. Specs on APIs.io.