capabilities.work

Walk Resource Hierarchy

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

Recipe · 3 steps

Walk Resource Hierarchy

Resolve an organization and enumerate its child folders and projects.

  1. Search for the organization and capture the first matching organization resource name.
  2. List the folders that are direct children of the resolved organization.
  3. List the projects that are direct children of the resolved organization.
What you'll need to have ready
  • query: Organization search query, e.g. domain:example.com.
For your developer

Arazzo workflow google-cloud-platform:walk-resource-hierarchy, 3 operations: cloudresourcemanager.organizations.search → cloudresourcemanager.folders.list → cloudresourcemanager.projects.list. Specs on APIs.io.