This Google Cloud SDK release introduces a breaking change to the default TPU accelerator type for Compute Engine. Key new features include iOS app testing in Firebase Test Lab, IAM policy management for Cloud Bigtable, and new --labels functionality for Compute Engine instance templates. Additionally, the SDK contains numerous unannounced changes, such as full API integration for Cloud IoT, advanced DLP job trigger capabilities, and groundwork for Compute Engine resource policies and Cloud Functions runtimes.
Jump to: Annotated Release Notes | Unannounced Changes 🕵️ | Stats 📊
Breaking Changes
- The default TPU accelerator type for
gcloud compute tpuscommands has been modified fromtpu-v2(deprecated) tov2-8.- File: flags.py:42
New Features by Service
Cloud Bigtable
- Added new commands for managing IAM policies on Cloud Bigtable instances.
- Flags:
set-iam-policy,get-iam-policy,add-iam-policy-binding,remove-iam-policy-binding - File: bigtableadmin_v2_client.py
- Flags:
Compute Engine
- Added the TYPE column to the output format of
gcloud compute interconnects attachments list.- File: client.py
- Added the
--labelsflag togcloud beta compute instance-templates create-with-containerfor applying resource labels during creation.- Flags:
--labels - File: compute_beta_messages.py
- Flags:
Firebase Test Lab
- Introduced support for mobile app testing on iOS with new commands for listing models, versions, and running tests.
- Flags:
gcloud beta firebase test ios models list,gcloud beta firebase test ios models describe,gcloud beta firebase test ios versions list,gcloud beta firebase test ios versions describe,gcloud alpha firebase test ios run - File: matrix_creator.py
- Flags:
Kubernetes Engine
- The
--enable-stackdriver-kubernetesflag forgcloud container clusters createhas been promoted to beta.- Flags:
--enable-stackdriver-kubernetes - File: flags.py:445
- Flags:
API Changes
Bigtable Admin
- API messages and client updated to support new IAM policy management operations.
Cloud IoT
- Introduced a completely new API client, messages, and resources for Cloud IoT v1, enabling interaction with IoT Core services.
- File: cloudiot_v1_client.py
Compute Engine
- Extensive updates to Compute Engine alpha, beta, and v1 APIs, including new messages related to instance templates, interconnects, and resource policies.
Container Engine
- API messages updated across v1, v1alpha1, and v1beta1 to reflect changes related to Kubernetes Engine features, including Stackdriver integration.
Data Loss Prevention (DLP)
- API messages updated for DLP v2 to support new job trigger configurations, including various storage input/output options.
- File: dlp_v2_messages.py
Firebase Test Lab
- Major additions to the Testing v1 API messages and client to support iOS mobile app testing capabilities.
- File: testing_v1_messages.py
Genomics
- Minor additions to Genomics v1, v1alpha2, and v2alpha1 API messages.
Logging
- Additions to Logging v2 API messages.
- File: logging_v2_messages.py
OS Login
- Additions to OS Login v1alpha API messages for managing user profiles.
Service Networking
- New client and messages added for Service Networking v1alpha API.
Speech
- Additions to Speech v1p1beta1 API messages.
Unannounced Changes
Changes found in code but not mentioned in official release notes: 🕵️
Hidden Feature
- Added new commands and functionality for managing Access Context Manager Service Perimeters (formerly
accessZones).- File: perimeters.py
- Expanded Cloud DLP capabilities to create and manage Job Triggers, supporting various storage inputs (Datastore, GCS, BigQuery) and output actions (Pub/Sub, BigQuery).
- File: flags.yaml:32
- Added foundational support for the new Cloud IoT service, including API clients, messages, and resource definitions.
- File: cloudiot_v1.json
- Added new commands, flags, and utility functions for managing Compute Engine Resource Policies, specifically for VM maintenance and disk backup schedules.
- File: flags.py
Refactoring
- Refactored App Engine environment handling, extracting logic into a new dedicated
envmodule and updating runtime registry.- File: env.py
- Refactored Binary Authorization attestation flags and utilities, removing deprecated v1 attestation parameters and streamlining v2 flag usage.
- File: flags.py:137
- Modified the default behavior for Kubernetes Engine API calls, switching from V1 to a non-V1 API version by default.
- Introduced widespread Python 3 compatibility refactoring across the SDK, updating string handling, collection iterations, and library imports.
- File: info_holder.py
- Removed boilerplate
__init__.pyfiles from severalcommand_libsubdirectories, signaling internal code organization improvements.- File: init.py:1
- Refactored resource argument parsing to allow explicit
arg_nameoverrides in YAML command definitions, enhancing flexibility for command authors.
Feature Flag
- Introduced a hidden
--runtimeflag forgcloud functions deployto support new runtimes, including Node.js 8, Python 3.7, Go, Java, and C#.- File: flags.py:191
Groundwork
- Implemented internal filtering for
gcloud redis operations listto hide ‘v1internal1’ operations, indicating groundwork for future Redis command exposure.- File: operations_util.py
Stats
- Files changed: 338
- Inserted lines: +9,148
- Deleted lines: -1,924
Generated by Gemini - View full diff
Google, Google Cloud, and gcloud are trademarks of Google LLC. This analysis was automatically generated by an AI agent examining only public release artifacts, without access to internal or non-public information from Google Cloud.