Palo Alto Networks Cloud Accounts (GCP) API

To monitor the resources on your GCP cloud infrastructure, you must first add your GCP accounts to Prisma Cloud. When you add your cloud account to Prisma Cloud, the API integration between GCP and Prisma Cloud is established and you can begin monitoring the resources and identify potential security risks. The Cloud Account (GCP) APIs enable you to add and manage GCP accounts on Prisma Cloud. For end to end workflow to onboarding an GCP account using APIs, see [Automate GCP Cloud Account Onboarding](/prisma-cloud/docs/cspm/gcp-account-onboarding/). For common operations related to cloud accounts, see [Cloud Accounts (All)](/prisma-cloud/api/cspm/cloud-accounts-all/).

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /cas/v1/cloud_account/status/gcp Check a GCP account's onboarding status · Get Cloud Account Status (GCP) #
Ask an LLM
“Will my GCP project onboard cleanly into Prisma Cloud with the security features I picked?”
“Can I verify GCP credentials and capabilities before actually adding the account?”
Tell an agent
Check the onboarding status of GCP account {cloudAccount} using credentials {credentials} and default account group {defaultAccountGroupId}.
Dry-run the GCP onboarding checks for {cloudAccount}.
POST /cas/v1/gcp_account Onboard a GCP account to Prisma Cloud · Add Cloud Account (GCP) #
Ask an LLM
“How do I connect a new GCP project or organization to Prisma Cloud?”
“Can I skip the status checks when onboarding a GCP account?”
Tell an agent
Onboard GCP account {cloudAccount} with credentials {credentials} into account group {defaultAccountGroupId}.
Add GCP organization {organizationName} as a new cloud account.
PUT /cas/v1/gcp_account/{id} Update an onboarded GCP account · Update Cloud Account (GCP) #
Ask an LLM
“How do I change the settings of a GCP account that's already onboarded?”
“Can I turn on flow log compression for an existing GCP account?”
Tell an agent
Update GCP account {id} with new credentials {credentials}.
Change the flow log storage bucket on GCP account {id} to {flowLogStorageBucket}.
POST /cloud/gcp/parent/{parent_id}/children List GCP folders and projects under a parent · List Children of Parent (GCP) #
Ask an LLM
“What folders and projects sit directly under my GCP organization or folder?”
“Can I page through child projects and child folders separately?”
Tell an agent
List both folders and projects under GCP parent {parent_id} of type {parentType}.
Show the children of GCP {parentType} {parent_id}, {projectPageSize} projects per page.
POST /cloud/{cloud_type}/accounts/{account_id}/ancestors List ancestors of GCP projects and folders · List Ancestors (GCP) #
Ask an LLM
“Which folders and organization does a given GCP project roll up to?”
“Can I trace the ancestry of several projects in one call?”
Tell an agent
Find the ancestors of resources {resourceIds} in {cloud_type} account {account_id}.
Trace the hierarchy above project {resourceIds} for account {account_id} on {cloud_type}.
GET /cloud/{cloud_type}/accounts/{account_id}/hierarchy Get a cloud account's saved resource hierarchy · Get Saved Resource Hierarchy (GCP) #
Ask an LLM
“What resource hierarchy selection did I save for a cloud account?”
“Which folders and projects were chosen when this account was onboarded?”
Tell an agent
Show the saved hierarchy for {cloud_type} account {account_id}.
Get the previously stored resource hierarchy of account {account_id} on {cloud_type}.
POST /cloud/{cloud_type}/parent/{parent_id}/folders List only the child folders of a parent · List Folders of Parent (GCP) #
Ask an LLM
“What folders exist under my GCP organization, without the projects?”
“Can I page through subfolders of a folder?”
Tell an agent
List child folders only under {cloud_type} parent {parent_id} of type {parentType}.
Show {pageSize} subfolders of {parentType} {parent_id} on {cloud_type}.
POST /cloud/{cloud_type}/parent/{parent_id}/projects List only the child projects of a parent · List Projects of Parent (GCP) #
Ask an LLM
“Which GCP projects live under a specific folder, excluding subfolders?”
“Can I paginate the projects that belong to my organization?”
Tell an agent
List child projects only under {cloud_type} parent {parent_id} of type {parentType}.
Show {pageSize} projects directly inside {parentType} {parent_id} on {cloud_type}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/palo-alto-networks:palo-alto-networks-cloud-accounts-gcp-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

palo-alto-networks-cloud-accounts-gcp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Palo Alto Networks Cloud Accounts (GCP) API
  version: '1.0'
  description: 'Operations tagged Cloud Accounts (GCP) across 2 of this provider''s published API definitions: palo-alto-cspm-cloudaccountonboardingmicroservices-openapi.json, palo-alto-cspm-cloudaccountsmicroservice-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.prismacloud.io
- url: https://api2.prismacloud.io
- url: https://api3.prismacloud.io
- url: https://api4.prismacloud.io
- url: https://api.anz.prismacloud.io
- url: https://api.eu.prismacloud.io
- url: https://api2.eu.prismacloud.io
- url: https://api.gov.prismacloud.io
- url: https://api.prismacloud.cn
- url: https://api.ca.prismacloud.io
- url: https://api.sg.prismacloud.io
- url: https://api.uk.prismacloud.io
- url: https://api.ind.prismacloud.io
- url: https://api.jp.prismacloud.io
- url: https://api.fr.prismacloud.io
tags:


# --- truncated at 32 KB (36 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/openapi/palo-alto-networks-cloud-accounts-gcp-api-openapi.yml