Google Cloud Platform · Arazzo Workflow
Google Cloud Platform Label Project and Poll Operation
Version 1.0.0
Read a project, patch its labels, poll the operation, then confirm the new labels.
View Spec
View on GitHub
API ManagementCloud ComputingInfrastructurePlatform as a ServiceArazzoWorkflows
Provider
Workflows
label-project-and-poll
Set labels on a Google Cloud project and wait for the operation.
Reads the project, patches its labels, polls the operation until done, then re-reads to confirm.
1
getBefore
cloudresourcemanager.projects.get
Read the project to capture its existing labels before the change.
2
patchLabels
cloudresourcemanager.projects.patch
Patch the project labels with an update mask scoped to labels. Returns a long-running Operation whose name is used to poll.
3
pollOperation
cloudresourcemanager.operations.get
Poll the patch operation by name until the done flag is true.
4
getAfter
cloudresourcemanager.projects.get
Re-read the project to confirm the new labels took effect.