Google Cloud Compute Engine Networks API

Manage VPC networks

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 13

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 /compute/v1/projects/{project}/global/networks Create a global network · Insert networks #
Ask an LLM
“How do I create a new VPC network in a project?”
“Can I set a custom IPv4 range when creating a network?”
Tell an agent
Create a network named {name} in project {project}.
Create network {name} in {project} with IPv4 range {IPv4Range}.
GET /compute/v1/projects/{project}/global/networks List global networks · List networks #
Ask an LLM
“Which VPC networks exist in my project?”
“Can I filter the global networks list?”
Tell an agent
List global networks in project {project}.
Show networks in {project} matching {filter}.
GET /compute/v1/projects/{project}/global/networks/{network}/listPeeringRoutes List routes exchanged over peering · List peering routes networks #
Ask an LLM
“What routes does a network peer exchange?”
“Can I list peering routes for one direction only?”
Tell an agent
List peering routes for network {network} in project {project}.
Show {direction} peering routes for {network} in {project}.
POST /compute/v1/projects/{project}/global/networks/{network}/addPeering Add a network peering · Add peering networks #
Ask an LLM
“How do I peer my VPC network with another network?”
“Can I auto-create routes when adding a peering?”
Tell an agent
Add peering {name} to network {network} in project {project}.
Peer {network} in {project} with {peerNetwork}.
GET /compute/v1/projects/{project}/global/networks/{network}/getEffectiveFirewalls Get effective firewall rules on a network · Get effective firewalls networks #
Ask an LLM
“What firewall rules apply to a network once all rules are combined?”
“Which rules are effective on a VPC network?”
Tell an agent
Get effective firewalls for network {network} in project {project}.
Show the combined firewall rules on {network} in {project}.
POST /compute/v1/projects/{project}/global/networks/{network}/requestRemovePeering Request to remove a network peering · Request remove peering networks #
Ask an LLM
“How do I ask to remove a peering from a network?”
“Can I request to remove a peering by name?”
Tell an agent
Request to remove peering {name} from network {network} in project {project}.
Ask to drop the {name} peering on {network} in {project}.
PATCH /compute/v1/projects/{project}/global/networks/{network}/updatePeering Update a network peering · Update peering networks #
Ask an LLM
“How do I change the routes exported or imported on a network peering?”
“Can I update the peering state of a network after it is established?”
Tell an agent
Update peering on network {network} in project {project}.
Set the network peering state of {network} in {project} to {peering}.
POST /compute/v1/projects/{project}/global/networks/{network}/removePeering Remove a network peering · Remove peering networks #
Ask an LLM
“How do I permanently remove a peering from a network?”
“Can I remove a peering by name?”
Tell an agent destructive · confirm first
Remove peering {name} from network {network} in project {project}.
Permanently drop the {name} peering on {network} in {project}.
POST /compute/v1/projects/{project}/global/networks/{network}/switchToCustomMode Switch a network to custom subnet mode · Switch to custom mode networks #
Ask an LLM
“How do I switch a network from auto subnet mode to custom subnet mode?”
“Can I change a network's subnet mode?”
Tell an agent
Switch network {network} in project {project} to custom subnet mode.
Change {network} in {project} to custom subnet mode.
PATCH /compute/v1/projects/{project}/global/networks/{network} Patch a global network · Patch networks #
Ask an LLM
“Can I change only the routing config of an existing network?”
“What fields of a network can be patched?”
Tell an agent
Patch network {network} in project {project} with routing config {routingConfig}.
Change the routing settings of {network} in {project} to {routingConfig}.
DELETE /compute/v1/projects/{project}/global/networks/{network} Delete a global network · Delete networks #
Ask an LLM
“How do I delete a VPC network?”
“Can I remove a global network from a project?”
Tell an agent destructive · confirm first
Delete network {network} in project {project}.
Remove the {network} network from {project}.
GET /compute/v1/projects/{project}/global/networks/{network} Get a global network · Get networks #
Ask an LLM
“What are the details of a specific VPC network?”
“Can I look up one global network by name?”
Tell an agent
Get network {network} in project {project}.
Show the configuration of {network} in {project}.
POST /compute/v1/projects/{project}/global/networks/{network}/cancelRequestRemovePeering Cancel a pending peering removal · Cancel request remove peering networks #
Ask an LLM
“How do I cancel a request to remove a peering?”
“Can I stop a pending peering removal?”
Tell an agent
Cancel the pending removal of peering {name} from network {network} in project {project}.
Stop the pending removal of {name} on {network} in {project}.

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/google-cloud-compute-engine:google-cloud-compute-engine-networks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

google-cloud-compute-engine-networks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Compute Engine Networks API
  version: v1
  description: Generated from Google's published Discovery document for Compute Engine API (compute v1, revision 20261106). 13 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://compute.googleapis.com
tags:


# --- truncated at 32 KB (120 KB total) ---
# Full source: https://artifacts.apis.io/google-cloud-compute-engine/openapi/google-cloud-compute-engine-networks-api-openapi.yml