Google Cloud Compute Engine Instance Groups API

The InstanceGroups API from Google Cloud Compute Engine — 8 operation(s) for instancegroups.

GitHub OpenAPI

Operations 10

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}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts Set named ports on an instance group · Set named ports instanceGroups #
Ask an LLM
“How do I assign port names to an instance group so I can reference them by name?”
“Can I change the named ports on a zonal instance group?”
Tell an agent
Set named ports {namedPorts} on instance group {instanceGroup} in {project}/{zone}.
Update the port names of instance group {instanceGroup} to {namedPorts}.
POST /compute/v1/projects/{project}/zones/{zone}/instanceGroups Create a zonal instance group · Insert instanceGroups #
Ask an LLM
“How do I create a zonal instance group in a zone?”
“Can I set named ports when creating an instance group?”
Tell an agent
Create instance group {name} in {project}/{zone}.
Create zonal instance group {name} in {project}/{zone} with named ports {namedPorts}.
GET /compute/v1/projects/{project}/zones/{zone}/instanceGroups List zonal instance groups · List instanceGroups #
Ask an LLM
“Which zonal instance groups exist in a zone?”
“Can I filter the instance groups in one zone?”
Tell an agent
List instance groups in {project}/{zone}.
Show zonal instance groups in {project}/{zone} matching {filter}.
DELETE /compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup} Delete a zonal instance group · Delete instanceGroups #
Ask an LLM
“How do I delete a zonal instance group?”
“Do the instances in the group get deleted when I remove the group?”
Tell an agent destructive · confirm first
Delete instance group {instanceGroup} in {project}/{zone}.
Remove zonal instance group {instanceGroup}.
GET /compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup} Get a zonal instance group · Get instanceGroups #
Ask an LLM
“What are the details of a zonal instance group?”
“Can I look up one instance group by name in a zone?”
Tell an agent
Get instance group {instanceGroup} in {project}/{zone}.
Show the configuration of zonal instance group {instanceGroup}.
POST /compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances Add instances to a zonal instance group · Add instances instanceGroups #
Ask an LLM
“How do I add existing instances to a zonal instance group?”
“Can I add several instances to an instance group at once?”
Tell an agent
Add instances {instances} to instance group {instanceGroup} in {project}/{zone}.
Attach existing instances to zonal instance group {instanceGroup}.
GET /compute/v1/projects/{project}/aggregated/instanceGroups List instance groups across all zones · Aggregated list instanceGroups #
Ask an LLM
“Which instance groups exist across every zone in my project?”
“Can I include all scopes when listing instance groups?”
Tell an agent
List all instance groups in {project}.
Aggregate instance groups across {project} with includeAllScopes {includeAllScopes}.
POST /compute/v1/projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions Check IAM permissions on an instance group · Test iam permissions instanceGroups #
Ask an LLM
“What permissions does my account have on an instance group?”
“Can I test IAM permissions for an instance group?”
Tell an agent
Test permissions {permissions} on instance group {resource} in {project}/{zone}.
Check whether I can manage instance group {resource}.
POST /compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances Remove instances from a zonal instance group · Remove instances instanceGroups #
Ask an LLM
“How do I remove instances from a zonal instance group without deleting them?”
“Can I detach several instances from an instance group at once?”
Tell an agent
Remove instances {instances} from instance group {instanceGroup} in {project}/{zone}.
Detach existing instances from zonal instance group {instanceGroup}.
POST /compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances List instances in a zonal instance group · List instances instanceGroups #
Ask an LLM
“Which instances are in a zonal instance group?”
“Can I list only the running instances of an instance group?”
Tell an agent
List instances in instance group {instanceGroup} in {project}/{zone}.
Show {instanceState} instances in zonal instance group {instanceGroup}.

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-instancegroups-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-instancegroups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Compute Engine Instance Groups API
  version: v1
  description: Generated from Google's published Discovery document for Compute Engine API (compute v1, revision 20261106). 10 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 (88 KB total) ---
# Full source: https://artifacts.apis.io/google-cloud-compute-engine/openapi/google-cloud-compute-engine-instancegroups-api-openapi.yml