capabilities.work

Bind Tag to Project

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

Recipe · 4 steps

Bind Tag to Project

Resolve a tag value and bind it to a target resource.

  1. List the tag values under the tag key and select the first value to bind.
  2. Create a tag binding attaching the resolved tag value to the target resource. Returns a long-running Operation whose name is used to poll.
  3. Poll the tag binding create operation until done.
  4. List the tag bindings on the target resource to confirm the new binding.
What you'll need to have ready
  • tagKey: The tag key whose values to list, e.g. tagKeys/123456.
  • targetResource: The full resource name to tag, e.g. //cloudresourcemanager.googleapis.com/projects/123.
For your developer

Arazzo workflow google-cloud-platform:bind-tag-to-project, 4 operations: cloudresourcemanager.tagValues.list → cloudresourcemanager.tagBindings.create → cloudresourcemanager.operations.get → cloudresourcemanager.tagBindings.list. Specs on APIs.io.