Google Cloud Platform · Arazzo Workflow

Google Cloud Platform Search and Inspect Project

Version 1.0.0

Search for a project, fetch its full record, then read its IAM policy.

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

Provider

google-cloud-platform

Workflows

search-and-inspect-project
Find a project by query then read its record and IAM policy.
Searches for a project, gets it by id, and reads its IAM policy.
3 steps inputs: query outputs: bindings, projectId, state
1
searchProject
Search for the project and capture the first matching project id.
2
getProject
Fetch the full project record by its project id.
3
getProjectPolicy
Read the IAM policy for the matched project to review its bindings.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Google Cloud Platform Search and Inspect Project
  summary: Search for a project, fetch its full record, then read its IAM policy.
  description: >-
    Resolves and audits a single project. The workflow searches for a project by
    query, fetches the matched project by its project id for full metadata, and
    reads its IAM policy so callers can review both the resource and its access
    bindings in one pass. 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: projectsApi
  url: ../openapi/google-cloud-platform-projects-api-openapi.yml
  type: openapi
workflows:
- workflowId: search-and-inspect-project
  summary: Find a project by query then read its record and IAM policy.
  description: >-
    Searches for a project, gets it by id, and reads its IAM policy.
  inputs:
    type: object
    required:
    - query
    properties:
      query:
        type: string
        description: Project search query, e.g. state:ACTIVE displayName:my-app.
  steps:
  - stepId: searchProject
    description: >-
      Search for the project and capture the first matching project id.
    operationId: cloudresourcemanager.projects.search
    parameters:
    - name: query
      in: query
      value: $inputs.query
    - name: pageSize
      in: query
      value: 1
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      projectId: $response.body#/projects/0/projectId
      projectName: $response.body#/projects/0/name
  - stepId: getProject
    description: >-
      Fetch the full project record by its project id.
    operationId: cloudresourcemanager.projects.get
    parameters:
    - name: projectId
      in: path
      value: $steps.searchProject.outputs.projectId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      state: $response.body#/state
      parent: $response.body#/parent
  - stepId: getProjectPolicy
    description: >-
      Read the IAM policy for the matched project to review its bindings.
    operationId: cloudresourcemanager.projects.getIamPolicy
    parameters:
    - name: resource
      in: path
      value: $steps.searchProject.outputs.projectName
    requestBody:
      contentType: application/json
      payload:
        options:
          requestedPolicyVersion: 3
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      bindings: $response.body#/bindings
  outputs:
    projectId: $steps.searchProject.outputs.projectId
    state: $steps.getProject.outputs.state
    bindings: $steps.getProjectPolicy.outputs.bindings

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-search-and-inspect-project-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.