Google Cloud Platform · Arazzo Workflow

Google Cloud Platform Walk Resource Hierarchy

Version 1.0.0

Find an organization, list its folders, then list the projects directly under it.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub API ManagementCloud ComputingInfrastructurePlatform-as-a-ServiceArazzoWorkflows

Provider

google-cloud-platform

Workflows

walk-resource-hierarchy
Resolve an organization and enumerate its child folders and projects.
Searches for an organization by query, then lists its child folders and projects.
3 steps inputs: query outputs: folders, organizationName, projects
1
findOrganization
Search for the organization and capture the first matching organization resource name.
2
listFolders
List the folders that are direct children of the resolved organization.
3
listProjects
List the projects that are direct children of the resolved organization.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Google Cloud Platform Walk Resource Hierarchy
  summary: Find an organization, list its folders, then list the projects directly under it.
  description: >-
    Discovers the top of a resource hierarchy. The workflow searches for an
    organization by domain, lists the folders that are direct children of that
    organization, and lists the projects that are direct children of the same
    organization, giving a one-pass view of the first hierarchy level. Every
    step spells out its request inline so the flow can be read and executed
    without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: foldersApi
  url: ../openapi/google-cloud-platform-folders-api-openapi.yml
  type: openapi
- name: organizationsApi
  url: ../openapi/google-cloud-platform-organizations-api-openapi.yml
  type: openapi
- name: projectsApi
  url: ../openapi/google-cloud-platform-projects-api-openapi.yml
  type: openapi
workflows:
- workflowId: walk-resource-hierarchy
  summary: Resolve an organization and enumerate its child folders and projects.
  description: >-
    Searches for an organization by query, then lists its child folders and
    projects.
  inputs:
    type: object
    required:
    - query
    properties:
      query:
        type: string
        description: Organization search query, e.g. domain:example.com.
  steps:
  - stepId: findOrganization
    description: >-
      Search for the organization and capture the first matching organization
      resource name.
    operationId: cloudresourcemanager.organizations.search
    parameters:
    - name: query
      in: query
      value: $inputs.query
    - name: pageSize
      in: query
      value: 1
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      organizationName: $response.body#/organizations/0/name
  - stepId: listFolders
    description: >-
      List the folders that are direct children of the resolved organization.
    operationId: cloudresourcemanager.folders.list
    parameters:
    - name: parent
      in: query
      value: $steps.findOrganization.outputs.organizationName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      folders: $response.body#/folders
  - stepId: listProjects
    description: >-
      List the projects that are direct children of the resolved organization.
    operationId: cloudresourcemanager.projects.list
    parameters:
    - name: parent
      in: query
      value: $steps.findOrganization.outputs.organizationName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      projects: $response.body#/projects
  outputs:
    organizationName: $steps.findOrganization.outputs.organizationName
    folders: $steps.listFolders.outputs.folders
    projects: $steps.listProjects.outputs.projects

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/google-cloud-platform-walk-resource-hierarchy-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.