← Technology, Science & Infrastructure ▣ Distilled locally

Introducing Compute Engine API multi-versioning: Predictable evolution without breaking production

By Michael Murstein
November 4, 2026  ·  Google Cloud Blog ↗
Introducing Compute Engine API multi-versioning: Predictable evolution without breaking production

Ready to modernize your infrastructure without risking production stability? API multi-versioning for Compute Engine, now in general availability, helps you do just that. With date-based API versions, Compute Engine can now regularly deliver modern API semantics, stronger resilience defaults, and improved developer experience while preserving the rock-solid stability of the /v1 API.

For more than a decade, the Google Compute Engine /v1 API has served as the foundational control plane for millions of virtual machines, Google Kubernetes Engine (GKE) clusters, and large-scale AI infrastructure. For platform teams and developers who build on Google Cloud, that single /v1 endpoint delivered an extraordinary promise: write your integration once, and trust that it will keep running year after year.

Yet as cloud architectures have grown in scale and sophistication, infrastructure teams have faced a growing tension. On one hand, mission-critical production workloads require absolute API stability and strict backward compatibility. On the other hand, customers want faster access to safer security defaults, stronger regional resilience, machine-readable error models, and modern, declarative-friendly APIs, but introducing these improvements in place risks disrupting existing automation. The new versioning model helps avoid that disruption by giving you the flexibility to adopt modern semantics on your own schedule without touching your production workloads.

Date-based API versions for Compute Engine

Historically, Compute Engine relied on channel-based versioning (CBV) with three long-lived channels: /v1 (generally available), /beta, and /alpha. Because /v1 was a single, mutable production surface shared by every customer worldwide, any behavioral improvement–even changing a counter-intuitive default or modernizing an error format–carried the risk of breaking existing scripts or required multi-year migrations.

With interface-based versioning (IBV), aligned with Google AIP-185, Compute Engine introduces immutable, date-based API snapshots alongside /v1:

Primary benefits for builders

1. Stability and customer-controlled upgrades

In a traditional single-version API, changing a default behavior forces a trade-off between platform progress and customer stability. But date-based multi-versioning puts upgrade timing entirely in your hands:

code_block <ListValue: [StructValue([('code', '# Request a specific date-based stable version using the HTTP header\r\ncurl -X GET \\\r\n "https://compute.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances" \\\r\n -H "Authorization: Bearer $(gcloud auth print-access-token)" \\\r\n -H "X-Goog-Api-Version: 2026-09-01"'), ('language', ''), ('caption', <wagtail.rich_text.RichText object at 0x7f20b88a5650>)])]>

2. Safer defaults, stronger resilience, and modern API standards

By isolating behavioral changes to new date-based versions, Compute Engine is delivering improvements that make cloud applications more resilient, more secure, and easier to automate:

3. Seamless adoption across client libraries, gcloud, and Terraform

Whether you call the REST API directly or manage infrastructure through higher-level tools, Compute Engine API Multi-Versioning is designed to work without friction:

Surface

How multi-versioning works

Your responsibility

Client libraries (Python, Go, Java, Node.js, C#, Ruby, PHP)

Each SDK release automatically binds to a specific date-based API version while preserving the /v1 package namespace (compute_v1, apiv1). Enums are represented as strings for seamless forward and backward compatibility.

Upgrade your client library dependency as usual–no import path rewrites required. Use -preview SDK releases to test preview features.

Google Cloud CLI (gcloud)

gcloud compute targets the bundled stable API version. The new gcloud preview compute command group targets the bundled preview API version.

Keep gcloud updated. Existing gcloud compute, beta, and alpha scripts continue to work as-is.

Terraform (google & google-beta)

The google provider targets stable date-based APIs, while google-beta targets preview APIs under the hood.

Upgrade your Terraform provider version to adopt new features; no manual API version configuration needed in HCL scripts.

Direct HTTP / REST

Select any active version via -H "X-Goog-Api-Version: YYYY-MM-DD" or ?$apiVersion=YYYY-MM-DD, and fetch version-specific Discovery Documents.

Pass the header or query parameter in your HTTP client to opt into a specific version (e.g., 2026-09-01, 2026-10-01-preview).

Get started

Compute Engine API multi-versioning is available today across all Google Cloud regions, with 2026-09-01 as the initial stable version and 2026-10-01-preview available for preview testing.

Start exploring and adopting date-based versions in your workflows:

  1. Explore the documentation:

  2. Try gcloud preview compute: Run gcloud components update and test upcoming preview capabilities using the new gcloud preview compute surface.

Originally published by Google Cloud Blog ↗ · rebuilt here from its own full-text RSS feed · all rights remain with the publisher, please read and support them there.