Create Project and Poll Operation
A 3-step recipe with Google Cloud Platform. We can help you get access.
Recipe · 3 steps
Create Project and Poll Operation
Create a Google Cloud project and wait for the operation to complete.
- Submit the project creation request. Returns a long-running Operation with a server-assigned name used to poll for completion.
- Poll the long-running operation by name until the done flag is true. Branches back to itself while the operation is still in progress.
- Fetch the newly created project by its project id to confirm its final state and metadata.
What you'll need to have ready
- projectId: The unique project id to assign (e.g. my-app-prod-123).
- parent: The parent resource, e.g. folders/123456789 or organizations/987654321.
- displayName: A human readable display name for the project.
For your developer
Arazzo workflow google-cloud-platform:create-project-and-poll, 3 operations: cloudresourcemanager.projects.create → cloudresourcemanager.operations.get → cloudresourcemanager.projects.get. Specs on APIs.io.