capabilities.work

Create Tag Key and Value

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

Recipe · 4 steps

Create Tag Key and Value

Create a tag key then a child tag value, waiting on each operation.

  1. Create the tag key under the organization. Returns a long-running Operation whose name is used to poll for completion.
  2. Poll the tag key create operation until done, then read the new tag key resource name from the operation response.
  3. Create a tag value as a child of the newly created tag key. Returns a long-running Operation whose name is used to poll for completion.
  4. Poll the tag value create operation until done.
What you'll need to have ready
  • parent: The parent organization for the tag key, e.g. organizations/987654321.
  • keyShortName: The short name of the tag key (e.g. environment).
  • valueShortName: The short name of the tag value (e.g. production).
  • keyDescription: An optional description for the tag key.
For your developer

Arazzo workflow google-cloud-platform:create-tag-key-and-value, 4 operations: cloudresourcemanager.tagKeys.create → cloudresourcemanager.operations.get → cloudresourcemanager.tagValues.create → cloudresourcemanager.operations.get. Specs on APIs.io.