Google Cloud SDK - Release Notes

Copyright 2014-2021 Google Inc. All rights reserved.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

340.0.0 (2021-05-11)

Cloud Asset Inventory

  • Updated gcloud asset search-all-resources to support date-time string in queries on timestamp fields (createTime and updateTime).

Cloud Bigtable

  • Promoted the IAM Conditions flags --condition and --condition-from to GA.

Cloud Billing

  • Added optional --calendar-period, --start-date, and --end-date flags to gcloud billing budgets [create | update] to support a wider array of options for the budget's timeframe, which was previously always one month.

Cloud Memorystore

  • Promoted gcloud beta redis reschedule-maintenance to beta.
  • Added --maintenance-window-day flag and --maintenance-window-hour flag to gcloud beta redis instances create to allow specifying a maintenance policy when creating a new instance.
  • Added --maintenance-window-day flag, --maintenance-window-hour flag and --maintenance-window-any flag to gcloud beta redis instances update to allow updating a maintenance policy when updating an instance.

Cloud Run

  • Modified gcloud beta run deploy --source to suggest a default service name based on the source path when one isn't provided.

Compute Engine

  • Promoted gcloud compute service-attachments to beta.
  • Added --target-service-attachment flag to gcloud beta compute forwarding-rules create.
  • Added --purpose=private-service-connect to gcloud beta compute networks subnets create.

Config Connector

Database Migration

  • Added MYSQL_8_0, POSTGRES_10, POSTGRES_12, and POSTGRES_13 database version options for --database-version flag to database-migration connection-profiles create cloudsql.

Kubernetes Engine

  • Promoted --enable-dataplane-v2 to GA.

Notebooks

  • Added gcloud notebooks instances rollback to rollback a notebook's boot disk.
  • Added gcloud notebooks instances get-health to verify instance health.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

339.0.0 (2021-05-04)

Breaking Changes

  • (Certificate Authority Service) Updated default value for --max-chain-length flag of gcloud beta privateca roots create. Now, no max chain length will be added to newly created root CAs unless they are explicitly specified through --max-chain-length, or (indirectly) through a --reusable-config resource argument.

AI

  • Added executor-image-uri field to --worker-pool-spec flag of gcloud beta ai custom-jobs create, as an alias of python-image-uri field. python-image-uri will be deprecated soon.
  • Accepted empty value for --worker-pool-spec flag, which means to create an empty worker pool.

Assured Workloads

  • Added option to specify custom keyring name in --resource-settings by using keyring-id key in gcloud assured workloads create command.

Cloud Composer

  • Added links to the documentation pages when the request fails on missing required permissions.

Cloud On Demand Scanning

  • Upgrade local-extract to version 1.0.0. This version replaces memory-intensive extraction with disk-based extraction.

Cloud SQL

  • The output of gcloud sql backups list --instance="my-instance-1" will now include the instance name.

Compute Engine

  • Added --request-coalescing to gcloud compute backend-services create, gcloud compute backend-services update, gcloud compute backend-buckets create and gcloud compute backend-buckets update.
  • Added cdnPolicy.requestCoalescing field support to gcloud compute backend-services import.
  • Added --minimal-action and --most-disruptive-allowed-action flags to gcloud beta compute instance-groups managed rolling-action start-update.

Config Connector

Kpt

  • Updated kpt from v0.39.0 to v0.39.2.
  • Updated import of cli-utils from v0.24.0 to v0.25.0.
  • Updated import of kyaml from v0.10.15 to v0.10.17.
  • Updated import of cmd/config from v0.9.7 to v0.9.10.

Kubernetes Engine

  • Added --disable-autopilot flag of gcloud container clusters update to convert cluster from Autopilot mode to Standard mode.

Network Security

  • Modified gcloud network-security client-tls-policies to accept empty serverValidationCa which signals to the client to do un-authenticated TLS.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

338.0.0 (2021-04-27)

Breaking Changes

  • (Cloud Run) Deprecated all choice of --vpc-egress flag of gcloud run deploy and gcloud run services update. A new all-traffic choice provides the same functionality with a more specific name. all will continue to be supported, but prefer to use all-traffic.
  • (Cloud Run) Modified gcloud beta run deploy to accept either --image or --source, but not both.

Cloud Dataproc

  • Added --confidential-compute boolean flag to gcloud dataproc clusters create to allow users to configure Compute Engine Confidential VMs on Dataproc clusters.
  • Added --confidential-compute boolean flags to gcloud dataproc workflow-templates set-managed-cluster to allow users to configure Compute Engine Confidential VMs on Dataproc managed clusters.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.11.15
    • Fixes issue with parsing empty headers which caused some valid requests to be rejected.

Cloud Key Management Service

  • Promote get-certificate-chain command to GA.

Cloud Memorystore

  • Added timeout key to --redis-config flag of redis instances create.
  • Added timeout key to --redis-config flag of redis instances update.

Cloud Pub/Sub

  • Promoted --starting-offset flag of gcloud pubsub lite-subscriptions create to GA.

Cloud Run

  • Added all-traffic choice to --vpc-egress flag of gcloud run deploy and gcloud run services update. all-traffic provides the same functionality as the existing all choice with a more specific name. all is now deprecated but will continue to be supported. Prefer to use all-traffic.
  • Promoted --binary-authorization and --breakglass flags of gcloud run deploy and gcloud run services update to beta.

Cloud Services

  • Promoted gcloud services vpc-peerings delete to GA.

Cloud Tasks

  • Updated gcloud tasks queues update [QUEUE_NAME] --clear-routing-override to remove appEngineRoutingOverride values instead of setting them to empty strings.

Compute Engine

  • Promoted --iap-tunnel-disable-connection-check flag of gcloud compute start-iap-tunnel to GA.
  • Promoted --cpu-utilization-predictive-autoscaling flag of gcloud compute instance-groups managed set-autoscaling and gcloud compute instance-groups managed update-autoscaling to GA.

Config Connector

Network Security

  • Promoted gcloud network-security authorization-policies to beta.
  • Promoted gcloud network-security server-tls-policies to beta.
  • Promoted gcloud network-security client-tls-policies to beta.

Secret Manager

  • Added --etag flag to the following commands:
    • gcloud beta secrets update
    • gcloud beta secrets delete
    • gcloud beta secrets versions enable
    • gcloud beta secrets versions disable
    • gcloud beta secrets versions destroy

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

337.0.0 (2021-04-20)

Assured Workloads

  • Added HIPAA and HITRUST as compliance regime options for gcloud assured workloads create command in GA.

BigQuery

  • Added bq truncate command. This command will only be available to selected customers in private preview.
  • Added --job to bq delete.

Cloud Access Context Manager

  • Changed behavior of perimeters dry-run describe:
    • Not displaying unset fields.
    • +/- signs now are displayed at the very beginning of the line, instead of being displayed right in front of the resource text.
    • Extra space added in front of top-level fields like names/title/type to align text.

Cloud Dataflow

  • Promoted gcloud dataflow snapshots to GA.

Cloud Domains

  • Fixed issue where multiple address line fields were not supported in commands with interactive prompts:
    • gcloud beta domains registrations register
    • gcloud beta domains registrations configure contacts

Cloud Filestore

  • Promoted gcloud filestore backups to GA.
  • Added gcloud filestore instances restore to enable restoring a Cloud Filestore instance from a backup.
  • Added support for creating Filestore instances from backup using gcloud filestore instances create.
  • Promoted --source-backup and --source-backup-region flags to GA to specify backup details; these flags should be used in conjunction with --file-share flag.

Cloud Memorystore

  • Added support for Redis 6.x.

Cloud Resource Settings

  • Promoted gcloud resource-settings to GA.

Cloud Services

  • Promoted gcloud services vpc-peerings delete to beta.

Compute Engine

  • Promoted --redundant-interface, --subnetwork and --subnetwork-region flags of gcloud compute routers add-interface to beta.
  • Promoted --instance and --instance-zone flags of gcloud compute routers add-bgp-peer to beta.
  • Promoted --interface-names of gcloud compute routers remove-interface to beta.
  • Promoted --peer-names of gcloud compute routers remove-bgp-peer to beta.

Essential Contacts

  • Promoted gcloud essential-contacts to beta.

Service Directory

  • Added --network flag to gcloud service-directory endpoints create command in beta.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

336.0.0 (2021-04-13)

Assured Workloads

  • Promoted --resource-settings of gcloud assured workloads create to GA.

Cloud Composer

  • Added support of Airflow 2.0 CLI nested commands to gcloud composer environments run.
  • Updated gcloud beta composer environments run my-environment upgrade_check to run upgrade check to Airflow 2.0 for Composer environments with Airflow 1.10.15+.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.11.14
    • Fix header parsing causing permission denined errors with Firestore JS SDK v8.3.2.

Cloud Storage

  • Updated gsutil component to 4.61.

Compute Engine

  • Added --request-coalescing to gcloud beta compute backend-services create, gcloud beta compute backend-services update, gcloud beta compute backend-buckets create and gcloud beta compute backend-buckets update.
  • Added cdnPolicy.requestCoalescing field support to gcloud beta compute backend-services import.
  • Promoted --target_distribution_shape flag of gcloud compute instance-groups managed create and update to GA. Added --compute-service-account flag to gcloud compute instances import.
  • Removed unneeded curl progress output from gcloud compute ssh with `--internal-ip flag.
  • Promoted --zone flag to gcloud beta compute images describe-from-family.

Config Connector

Kpt

  • Updated kpt from v0.38.1 to v0.39.0.
  • Updated import of cli-utils from v0.23.5 to v0.24.0.
  • Updated import of kyaml from v0.10.13 to v0.10.15.
  • Updated import of cmd/config from v0.9.5 to v0.9.7.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

335.0.0 (2021-04-06)

Breaking Changes

  • (Cloud Bigtable) Deprecated --cluster, --cluster-num-nodes and --cluster-zone flags of
  • (Cloud Bigtable) gcloud bigtable instances create. Use --cluster-config instead.
  • (Cloud Bigtable) Deprecated --instance-type flag of gcloud bigtable instances create. All
  • (Cloud Bigtable) instances are now of type PRODUCTION.

App Engine

Cloud Access Context Manager

  • Promoted ingress-policies and egress-policies flags of gcloud access-context-manager perimeters to GA.
  • Support displaying Ingress and EgressPolicies for:
    • gcloud access-context-manager perimeters describe.
    • gcloud access-context-manager perimeters dry-run describe.

Cloud Asset Inventory

  • Added --access-time flag to gcloud asset analyze-iam-policy and gcloud asset analyze-iam-policy-longrunning.

Cloud Bigtable

  • Added --kms-key, --kms-keyring, --kms-location and --kms-project flags to gcloud bigtable clusters create for alpha, beta and GA for creating CMEK-protected clusters.
  • Added key kms-key to --cluster-config flag of gcloud bigtable instances create, for creating CMEK-protected clusters.
  • Promoted --cluster-config flag of gcloud bigtable instances create to beta and GA.
  • Promoted gcloud bigtable instances tables describe to beta and GA.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.11.13
    • Reset document create time when a document is deleted and re-created in a single transaction.

Compute Engine

  • Promoted the following flags in gcloud compute backend-services create, gcloud compute backend-services update, gcloud compute backend-buckets create and gcloud compute backend-buckets update to GA:
    • --[no-]negative-caching
    • --[no-]negative-caching-policy
    • --[no-]serve-while-stale
    • --[no-]bypass-cache-on-request-headers
  • Added the following fields to gcloud compute backend-services import and gcloud compute backend-services export:
    • cdnPolicy:
    • negativeCaching
    • negativeCachingPolicy
    • bypassCacheOnRequestHeaders
    • serveWhileStale
  • Added support for authorizationPolicy and serverTlsPolicy for gcloud compute target-https-proxies import command.
  • Added --iap-tunnel-disable-connection-check flag to gcloud compute start-iap-tunnel to disable the initial connection check in alpha and beta.
  • Promoted gcloud compute public-delegated-prefixes to GA.
  • Added --network-interface=nic-type flag to gcloud compute instance-templates create for beta and GA.
  • Promoted --image-family-scope flag to gcloud beta compute instances create and gcloud beta compute disks create.

Policy Simulator

  • Added gcloud iam simulator replay-recent-access which simulates policy changes by replaying policy overlay on recent access.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

334.0.0 (2021-03-30)

Breaking Changes

  • (Cloud Build) Modified the positional argument WORKER_POOL to be required for commands in the command group gcloud builds worker-pools (except for gcloud builds worker-pools list).
  • (Cloud Run) Deprecated --connectivity flag of gcloud run deploy and gcloud run services update. --connectivity will continue to be supported. --connectivity only applies to --platform=gke and --platform=kubernetes. The new --ingress flag applies to all platforms and provides equivalent functionality. Prefer to use --ingress. Use --ingress=all in place of --connectivity=external. Use --ingress=internal in place of --connectivity=internal.
  • (Dataproc Metastore) Deprecated gcloud beta metastore services imports command group. Use gcloud beta metastore services import command group instead.

Cloud SDK

  • Cloud SDK supports Apple Silicon. Some native components currently rely on Rosetta 2.

AI

  • Modified --region flag of gcloud beta ai endpoints to include new online prediction regions.
  • Modified --region flag of gcloud beta ai models to include new online prediction regions.

BigQuery

  • Added --max_concurrency flag to mk and update reservation commands.
  • Added --parquet_enum_as_string and --parquet_enable_list_inference flags to load and mk --table commands for Parquet format. Run bq load --help or bq mk --help for details.
  • Removed old oauth2client_4_0 compatibility shim.

Cloud On Demand Scanning

  • Promoted the On-Demand Scanning API commands to GA.
    • gcloud artifacts docker images scan to scan a container image.
    • gcloud artifacts docker images get-operation to retrieve an operation.
    • gcloud artifacts docker images list-vulnerabilities to retrieve scan results.
  • Improved error messages for local-extract.

Cloud Run

  • Promoted --ingress flag of gcloud run deploy and gcloud run services update to GA.

Cloud SQL

  • Promoted Active Directory integration to beta.

Cloud Security Command Center

  • Updated the following commands to support project/folder parent types:
    • gcloud scc findings create
    • gcloud scc findings group
    • gcloud scc findings list
    • gcloud scc findings list-marks
    • gcloud scc findings update
    • gcloud scc findings update-marks
    • gcloud scc assets describe
    • gcloud scc assets group
    • gcloud scc assets list
    • gcloud scc assets list-marks
    • gcloud scc assets update-marks
  • Assets and findings will now have canonicalName field in their response.

Compute Engine

  • Added --service-account, --no-service-account, --scopes and --no-scopes flags to gcloud beta compute instances import.
  • Added --service-directory-registration flag to gcloud compute forwarding-rules create --global --target-google-apis-bundle=<bundle> in beta and GA.
  • Added --target-google-apis-bundle to gcloud compute forwarding-rules create.
  • Added PRIVATE_SERVICE_CONNECT as a global address purpose to gcloud compute addresses create.
  • Promoted --post-key-reservation-action-type flag to beta for gcloud compute instances create.
  • Promoted --post-key-reservation-action-type flag to beta for gcloud compute instance-templates create.
  • Added --resource-policies flag for gcloud compute instance-templates create command in alpha, beta, and GA.
  • Added --service-account, --no-service-account, --scopes and --no-scopes flags for gcloud compute machine-images import in beta.
  • Fixed failure to pipe into ssh when --internal-ip flag is specified.
  • Added gcloud compute target-https-proxies import method which creates or updates a target HTTPS proxy resource in Compute Engine
  • Promoted gcloud compute public-advertised-prefixes to GA.

Config Connector

Database Migration

  • Launched Database Migration.

Dataproc Metastore

  • Added --dump-type flag to gcloud beta metastore services export gcs to allow specification of the database dump type to export.
  • Added --release-channel flag to gcloud beta metastore services create.
  • Added the following commands to work with Dataproc Metastore services:
    • gcloud beta metastore services import
    • gcloud beta metastore services restore
    • gcloud beta metastore services backups describe
    • gcloud beta metastore services backups list
    • gcloud beta metastore services backups create
    • gcloud beta metastore services backups delete
  • Promoted gcloud metastore to GA.

Secret Manager

  • Added --next-rotation-time flag to gcloud beta secrets create, gcloud secrets create gcloud beta secrets update and gcloud secrets update commands to specify the timestamp at which to send SECRET_ROTATE notification.
  • Added --rotation-period flag to gcloud beta secrets create, gcloud secrets create gcloud beta secrets update and gcloud secrets update commands to specify a duration between secret rotation notifications.
  • Added --remove-next-rotation-time flag to gcloud beta secrets update and gcloud secrets update command to remove scheduled rotation time from a secret if it has one.
  • Added --remove-rotation-period flag to gcloud beta secrets update and gcloud secrets update command to remove a set rotation period if it has one.
  • Added --remove-rotation-schedule flag to gcloud beta secrets update and gcloud secrets update command to remove the rotation policy from a secret if it has one.
  • Promoted --expire-time flag of gcloud secrets create and gcloud secrets update to GA.
  • Promoted --ttl flag of gcloud secrets create and gcloud secrets update to GA.
  • Promoted --remove-expiration flag of gcloud secrets update to GA.
  • Promoted --topics flag of gcloud secrets create to GA.
  • Promoted the following flags to GA for gcloud secrets update:
    • --add-topics
    • --remove-topics
    • --clear-topics

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

333.0.0 (2021-03-23)

Cloud SDK

  • --impersonate-service-account flag can accept a list of service accounts for impersonation delegation.

Assured Workloads

  • Added --resource-settings flag to gcloud assured workloads create command.
  • Added US_REGIONAL_ACCESS as compliance regime option for gcloud assured workloads create command.
  • Added HIPAA and HITRUST as compliance regime options for gcloud assured workloads create command.

Cloud Build

  • Updated gcloud builds submit and gcloud builds log to tell users when they cannot read the default logs bucket because of VPC-SC.

Cloud Dataflow

  • Added flex template docker container building support for python in build command gcloud beta dataflow flex-template build.

Cloud Dataproc

  • Added gcloud dataproc clusters stop and gcloud dataproc clusters start which stop and start clusters.
  • Promoted --dataproc-metastore flag of gcloud dataproc clusters create to GA.
  • Promoted --dataproc-metastore flag of gcloud dataproc workflow-templates set-managed-cluster to GA.
  • Added --secure-multi-tenancy-user-mapping and --identity-config-file flags to gcloud dataproc clusters create and gcloud dataproc workflow-templates set-managed-cluster.

Cloud Logging

  • Promoted gcloud logging views command group to GA.

Cloud On Demand Scanning

  • Improved error messages for local-extract.

Cloud Pub/Sub

  • Added --starting-offset flag to gcloud pubsub lite-subscriptions create to allow subscriptions to be created at HEAD.

Cloud Storage

  • Updated gsutil component to 4.60.

Compute Engine

  • Fixed gcloud compute url-maps import for correctly removing top-level properties of an existing Url map, when they are not specified in the YAML file.
  • Updated import and export schemas for:
    • gcloud compute forwarding-rules.
    • gcloud compute backend-services.
  • Added --compute-service-account flag for gcloud compute instances import in beta.
  • Added --compute-service-account flag for gcloud compute machine-images import in beta.
  • Promoted --description and --family flags of gcloud compute images update to GA.
  • Promoted the following flags in gcloud compute instance-groups managed set-autoscaling to GA:
    • --set-schedule
    • --schedule-cron
    • --schedule-duration-sec
    • --schedule-min-required-replicas
    • --schedule-time-zone
    • --schedule-description For more information see <https://cloud.google.com/compute/docs/autoscaler/scaling-schedules>.
  • Promoted the following flags in gcloud compute instance-groups managed update-autoscaling to GA:
    • --min-num-replicas
    • --max-num-replicas
    • --set-schedule
    • --update-schedule
    • --disable-schedule
    • --enable-schedule
    • --remove-schedule
    • --schedule-cron
    • --schedule-duration-sec
    • --schedule-min-required-replicas
    • --schedule-time-zone
    • --schedule-description For more information see <https://cloud.google.com/compute/docs/autoscaler/scaling-schedules>.

Config Connector

Kpt

  • Updated kpt from v0.37.1 to v0.38.1.
  • Updated import of cli-utils from v0.21.1 to v0.23.5.
  • Updated import of kyaml from v0.9.5 to v0.10.13.
  • Updated import of cmd/config from v0.8.5 to v0.9.5.

Miscellaneous

  • Reordered contents of help text pages to make "Examples" section more prominent.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

332.0.0 (2021-03-16)

Breaking Changes

  • (App Engine) Updated backend when using gcloud app deploy <queue|cron>.yaml. The only noticeable change is that when removing queues from the queues YAML file, previously the queues were marked as "DISABLED" but now they are marked "PAUSED". In terms of functionality, there is no difference between the two.

Cloud SDK

  • Added support for environment variable CLOUDSDK_ENCODING to set the IO encoding for gcloud. UTF-8 will be the default IO encoding on Unix.

App Engine

Artifact Registry

  • Promoted PyPI repo creation with gcloud artifacts repositories create to beta and GA.
  • Promoted gcloud artifacts print-settings pypi to beta and GA.

Cloud Dataflow

  • Added default runtime environment parameters support in gcloud dataflow flex-template build.

Cloud Functions

  • Promoted --security-level flag of gcloud functions deploy to GA.
  • Modified --limit of gcloud functions logs read such that the most recent entries in the given time range up to the limit are returned rather than the earliest.

Cloud Org Policy

  • Promoted gcloud org-policies command group to GA.

Cloud Run

  • Promoted --tag flag of gcloud run deploy to GA.
  • Promoted --tag flag of gcloud run services update to GA.
  • Promoted --to-tags, --set-tags, --update-tags, --remove-tags, and --clear-tags flags of gcloud run services update-traffic to GA.

Cloud Spanner

  • Promoted CMEK flags to beta and GA in gcloud spanner commands.

Compute Engine

  • Added --byol flag for:
    • gcloud compute images import in beta
    • gcloud compute instances import in beta
    • gcloud compute machine-images import in beta
  • Promoted gcloud compute instances remove-resource-policies command to GA.
  • Added --boot-disk-provisioned-iops to gcloud compute instances create and gcloud compute instance-templates create to allow specifying provisioned IOPS for attached disks.
  • Promoted gcloud compute instances create --network-performance-configs flag to beta.
  • Promoted gcloud compute instances bulk create to beta and GA.

Dataproc Metastore

  • Added --database-dump-type flag to gcloud beta metastore services imports create to set the database dump type.
  • Deprecated --database-type flag gcloud beta metastore services imports create. Use --database-dump-type flag to specify the database dump type.
  • Added gcloud beta metastore services imports update which updates a metadata import.
  • Added --data-catalog-sync flag for gcloud metastore services in beta.

Identity Groups

  • Added --group-type flag to gcloud identity groups create to automatically set group labels based on the type of group being created.

Kubernetes Engine

  • Promoted --enable-l4-ilb-subsetting of gcloud container clusters create and gcloud container clusters update to beta.
  • Added --node-labels, --node-taints, and --tags flags to gcloud beta container node-pools update to update the node labels, node taints and network tags on an existing node pool.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

331.0.0 (2021-03-09)

AI

  • Added --autoscaling-metric-specs flag to gcloud beta ai endpoints deploy-model.

App Engine

  • Updated gcloud app instances list and gcloud app instances describe to return the auto healer health check (i.e. liveness) for the flexible environment.

Assured Workloads

  • Promoted gcloud assured command group to GA. Commands in this group provide the ability to read and modify Assured data controls.
  • Promoted gcloud assured workloads command group to GA. Commands in this group provide the ability to manage Assured Workloads environment resources.
  • Promoted gcloud assured operations command group to GA. Commands in this group provide the ability to view Assured Workloads operation resources.

Cloud Build

  • Fixed issue where gcloud beta builds worker-pools commands fail to wait for long-running operations to finish.

Cloud Dataproc

  • Added a confirmation prompt to gcloud datapoc clusters enable-personal-auth-session and gcloud beta datapoc clusters enable-personal-auth-session.

Cloud Healthcare

  • Promoted gcloud healthcare consent-stores to GA.

Cloud On Demand Scanning

  • Updated the local-extract component to version 0.1.5, to improve error handling in certain cases.

Cloud Resource Manager

  • Updated gcloud resource-manager org-policies describe to throw an error for unsupported policy versions.

Cloud Run

  • Promoted --min-instances flag of gcloud run deploy and gcloud run services update to GA for --platform=managed.

Cloud Services

  • Support service usage check on gcloud services disable command.

Compute Engine

  • Promoted --provisioned-iops flag of gcloud compute disks create to GA.
  • Promoted gcloud compute public-delegated-prefixes to beta.

Config Connector

Identity and Access Management

  • Added gcloud iam workload-identity-pools which enables granting on-premises or multi-cloud workloads access to Google Cloud resources, without using a service account key.

Kubernetes Engine

  • Added gcloud container clusters create-auto for creating Autopilot clusters to the beta and GA tracks.

Network Management

  • Added IPv6 support for Network Load balancers to gcloud compute forwarding-rules command group.

Secret Manager

  • Promoted gcloud secrets replication command group to GA.
  • Added --replication-policy-file flag to gcloud secrets create command to specify replication policy using a JSON or YAML file.
  • Added --kms-key-name flag to gcloud secrets create command to specify a KMS key when creating an automatic secret.

VPC Access

  • Promoted VPC connector --subnet flag from beta to GA.
  • Modified gcloud compute networks vpc-access connectors create to accept an optional --subnet flag to specify a subnet to house the connector rather than requiring --network and --range flags.
    • If the provided subnet is a shared subnet, use the flag --subnet-project to specify the VPC host project ID.

Workspace Add Ons

  • Promoted gcloud workspace-add-ons commands to GA.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

330.0.0 (2021-03-02)

Breaking Changes

  • (Cloud Code) Downgraded --env-vars and --env-vars-file to alpha.

Cloud SDK

  • Added bundled Python 3 option for macOS installations. See gcloud topics startup and https://cloud.google.com/sdk/docs/install#mac.
  • Fixed issue where gcloud emulators ... start commands would leave behind emulator processes when Ctrl+C was pressed.

Cloud Dataproc

  • Added --cluster-labels flag to gcloud dataproc jobs submit to allow jobs to be placed on a cluster matching specified cluster labels.

Cloud Healthcare

  • Added --filter-config-gcs-uri flag to the following commands:
    • gcloud beta healthcare dicoms-stores export gcs
    • gcloud beta healthcare dicoms-stores export bq

Cloud On Demand Scanning

  • Updated some error messages to be more clear.
  • Added a prompt to the beginning of gcloud beta artifacts docker images scan to install the local-extract component.

Cloud Pub/Sub

  • Promoted --partitions flag in gcloud pubsub lite-topics update to GA.
  • Added --view flag to gcloud beta schemas list to allow retrieval of schema definitions.

Cloud Run

  • Fixed bug on force-override prompt for gcloud beta run domain-mappings create where it would fail to re-create the domain mapping after deleting the one without the override.

Compute Engine

  • Promoted gcloud compute public-advertised-prefixes to beta.
  • Added --request-coalescing to gcloud beta compute backend-services create, gcloud beta compute backend-services update, gcloud beta compute backend-buckets create and gcloud beta compute backend-buckets update.
  • Promoted support for gce-vm-ip for --network-endpoint-type for gcloud compute network-endpoint-groups create and gcloud compute network-endpoint-groups update to GA.

Config Connector

Kubernetes Engine

  • Added --pod-ipv4-range and --create-pod-ipv4-range flags to gcloud beta container node-pools create to configure pod ranges for the node pools.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

329.0.0 (2021-02-23)

Breaking Changes

  • (Container Registry) Fixed issue where gcloud containers images list-tags doesn't show occurrence metadata.

AI

  • Added --network and --service-account to gcloud beta ai <custom-jobs|hp-tuning-jobs> create to allow specifying a peering network and user service account.

Cloud Asset Inventory

  • Added --relationship-type flag to gcloud beta asset export.

Cloud Code

  • Promoted gcloud code dev and gcloud code clean-up to beta.

Cloud Composer

  • Added --kms-key flag to gcloud composer environments command to specify the Customer-managed KMS key name to use for encrypting the Composer environment.

Cloud Functions

  • Fixed a performance issue in gcloud functions logs read by adding a default value of 1 week ago for --start-time.

Cloud Memorystore

  • Added --transit-encryption-mode flag to gcloud redis instances create to allow enabling Redis TLS with server authentication when creating a new instance.
  • Modified --region flag to be optional in gcloud memcache. If not specified, use the value in memcache/region property.

Cloud Pub/Sub

  • Added gcloud beta pubsub schemas validate-schema to allow validation of PROTOCOL_BUFFER and AVRO schemas.
  • Added gcloud beta pubsub schemas validate-message to allow validation of messages against an existing or inline schema.

Compute Engine

  • Promoted --provisioned-iops flag of gcloud compute disks create to beta.
  • Promoted gcloud compute url-maps validate to GA.
  • Promoted labels-related flags for gcloud compute forwarding-rules update to GA.
  • Modified --short-name of gcloud compute firewall-policies create to be a required flag.
  • Promoted --proxy-bind flag of gcloud compute target-tcp-proxies create to GA.
  • Allow --target-tcp-proxy for gcloud compute forwarding-rules create and set-target with specified -load-balancing-scheme=INTERNAL_SELF_MANAGED.
  • Added functionality in gcloud beta compute images import to import images from AWS.
  • Promoted gcloud compute resource-policies create instance-schedule command to GA.

Identity Groups

  • Added --dynamic-user-query flag to gcloud identity update.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

328.0.0 (2021-02-16)

Breaking Changes

  • (App Engine) Changed error message for Permissions error fetching application to indicate which account might be missing roles/appengine.deployer.
  • (Miscellaneous) Added support for colored output using ANSI escape sequences on modern versions of Windows. Use gcloud config set disable_color true to disable this behavior.

App Engine

Artifact Registry

  • Modified gcloud artifacts docker images describe to group vulnerability occurrences by effective severity instead of severity.

BigQuery

  • Expose json_extension flag in CLI which can be used to load newline-delimited GeoJSON files (in combination with source_format=NEWLINE_DELIMITED_JSON).

Cloud Composer

  • Modified --image-version and --airflow-version flags of gcloud beta composer environments update to be mutually exclusive.
  • Added the following flags to gcloud composer environments create and gcloud composer environments update to manage machine types for web server and Cloud SQL:
    • --cloud-sql-machine-type
    • --web-server-machine-type

Cloud Logging

  • Promoted the gcloud alpha logging tail command to beta.

Cloud Memorystore

  • Promoted gcloud memcache to GA.
  • Added apply-software-update command to apply latest available software update to Memcached instance and nodes.

Cloud Pub/Sub

  • Added gcloud pubsub schemas to beta which allows creating and managing schemas. Schemas can be used to validate messages published to Cloud Pub/Sub topics.
  • Added --schema and --message-encoding flags to gcloud beta pubsub topics create. Messages published to the topic with the given message encoding will be validated against the specified schema.
  • Added --partitions flag to gcloud beta pubsub lite_topics update to allow increasing partitions in a Pub/Sub Lite topic.

Cloud SQL

  • Added --secondary-zone flag to gcloud sql instances <create|patch> that allows users to choose the secondary zone during create|patch of High Availability instances.

Cloud Spanner

  • Added --version-time flag to gcloud spanner backups create to allow specifying the timestamp of the data contained in the backup.
  • Added version time to the output of gcloud spanner backups list.
  • Added version retention period and earliest version time to the output of gcloud spanner databases list.

Cloud Spanner Emulator

  • Promoted gcloud emulators spanner to GA.

Cloud Storage

  • Updated gsutil component to 4.59.

Cloud TPU

  • Promoted gcloud compute tpus execution-groups to GA. Commands in this group allow convenient orchestration of TPU nodes and Compute VMs. This replaces the standalone tool ctpu.

Compute Engine

  • Promoted --provisioned-iops flag of gcloud compute disks create to beta.
  • Promoted gcloud compute url-maps validate to GA.
  • Promoted labels-related flags for gcloud compute forwarding-rules update to GA.

Config Connector

Container Analysis

  • Modified gcloud container images describe to group vulnerability occurrences by effective severity instead of severity.

Identity Groups

  • Promoted --dynamic-user-query flag of gcloud identity create to GA.

Kubernetes Engine

  • Promoted --notification-config of gcloud container clusters <create|update> to GA. This flag is used to enable notifications on a cluster. Currently Pub/Sub notifications are supported.
  • Node System Config is now GA. Added --system-config-from-file flag to gcloud container clusters create, gcloud container node-pools create, and gcloud node-pools update to configure kubelet and Linux configuration settings on nodes.

Pubsub Emulator

  • Added schema support to the Pub/Sub emulator, which allows the association of topics with schemas and the validation of published messages against them.

Secret Manager

  • Added --topics flag to gcloud beta secrets create command to specify a list of Pub/Sub topics to configure on the secret.
  • Added --add-topics flag to gcloud beta secrets update command to specify a list of Pub/Sub topics to add to the secret.
  • Added --remove-topics flag to gcloud beta secrets update command to specify a list of Pub/Sub topics to remove from the secret.
  • Added --clear-topics flag to gcloud beta secrets update command to remove all Pub/Sub topics from the secret.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

327.0.0 (2021-02-09)

AI

  • Added KMS args (--kms-project, --kms-location, --kms-keyring, --kms-key) to gcloud <alpha|beta> ai custom-jobs create and gcloud <alpha|beta> ai hp-tuning-jobs create to allow specifying a customer-managed encryption key.

App Engine

Artifact Registry

  • Fixed a bug that prevented users from creating an encrypted repository with a custom kms key.

Cloud DNS

  • Added gcloud beta dns response-policies create to create a new Cloud DNS response policy.
  • Added gcloud beta dns response-policies update to update a Cloud DNS response policy.
  • Added gcloud beta dns response-policies list to list all Cloud DNS response policies in a given project.
  • Added gcloud beta dns response-policies describe to describe details of a Cloud DNS response policy.
  • Added gcloud beta dns response-policies delete to delete a Cloud DNS response policy.

Cloud Functions

  • Promoted --security-level flag of gcloud functions deploy to beta.
  • Added support for google.firebase.remoteconfig.update as an event type. The full set of supported event types can be listed using gcloud functions event-types list.

Cloud Healthcare

  • Added --write-disposition flag to the following commands:
    • gcloud healthcare fhir-stores export bq
    • gcloud beta healthcare fhir-stores export bq
    • gcloud beta healthcare dicom-stores export bq
    • gcloud beta healthcare annotation-stores export bq
    • gcloud beta healthcare annotation-stores evaluate bq

Cloud Logging

  • Promoted the following commands that support Logs Buckets to GA:
    • gcloud logging buckets
    • gcloud logging read
    • gcloud logging locations describe
    • gcloud logging locations list
    • gcloud logging sinks
    • gcloud logging cmek-settings
  • Promoted --location, --bucket, and --view of gcloud logging read to GA.
  • Promoted --description and --log-filter of gcloud logging metrics to GA.
  • Promoted --use-partitioned-tables of gcloud logging sinks to GA.

Compute Engine

  • Added support for short-name=windows for --os-type flag for gcloud beta compute instances ops-agents policies. This is only valid when --agent-rules=type=ops-agent.
  • Promoted --cpu-utilization-predictive-method flag of gcloud compute instance-groups managed <set-autoscaling|update-autoscaling> to beta.
  • Added support for --asn flag for gcloud compute routers update.
  • Promoted gcloud compute security-policies update to beta.
  • Added --enable-layer7-ddos-defense flag and --layer7-ddos-defense-rule-visibility flag to gcloud beta compute security-policies update.

Events

  • Added --authentication flag to gcloud events init command.
  • Added --authentication flag to gcloud events namespaces init command.
  • Added workload-identity-gsa support to --authentication flag for gcloud events init command.
  • Modifed gcloud events namespaces init command to create namespace if it is missing.

Identity Groups

  • Added --labels flag to gcloud identity groups update to allow updating the labels for a group.

Identity Groups Memberships

  • Promoted --expiration flag of gcloud identity groups memberships add to GA.
  • Promoted --update-roles-param flag of gcloud identity groups memberships modify-membership-roles to GA.

Kubernetes Engine

  • Adds new kubectl delegate version 1.19.7 for rapid channel
  • Updated default kubectl version from 1.17.14 to 1.17.17
  • Additional kubectl delegate versions:
    • kubectl.1.15 (1.15.12)
    • kubectl.1.16 (1.16.15)
    • kubectl.1.17 (1.17.17)
    • kubectl.1.18 (1.18.15)
  • Corrected passing URIs and full resource names to work with paths in the form projects/<project>/locations/<location> (in addition to the deprecated form projects/<project>/zones/<location>).

Pubsub Emulator

  • Added retry policy feature to the emulator.
  • Updated emulator to deliver dead lettered messages to original subscription in case of publishing failure to dead letter topic.
  • Added subscription name, project name, and publish time properties to dead lettered messages.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

326.0.0 (2021-02-02)

App Engine

  • Updated backend when using gcloud app deploy <queue|cron>.yaml. The only noticeable change is that when removing queues from the queues YAML file, previously the queues were marked as "PAUSED" but now they are marked "DISABLED". In terms of functionality, there is no difference between the two.

Artifact Registry

  • Fixed issue where gcloud docker images delete failed if the image is referenced by a tag.

Cloud Asset Inventory

  • Added new searchable fields (kmsKey, state, createTime and updateTime) to gcloud asset search-all-resources.

Cloud Composer

  • Added gcloud beta composer environments run my-environment upgrade_check to run upgrade check to Airflow 2.0 for Composer environments with Airflow 1.10.14+.
  • Added support of CLI commands for Airflow 2.0 to gcloud beta composer environments run.

Cloud Dataflow

  • Added streaming update and flexrs support to flex-template run command gcloud dataflow flex-template run.
  • Updated gcloud dataflow sql query command to use Dataflow Flex Templates.
  • Added --additional-experiments flag to gcloud beta dataflow jobs run.
  • Added --additional-experiments flag to gcloud dataflow jobs run.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.11.12
    • Fix onCreate/onWrite events triggering when deleting nonexistent documents.

Cloud On Demand Scanning

  • Launched commands for the On-Demand Scanning API in the Artifact Registry command group.
    • gcloud beta artifacts docker images scan to scan an image.
    • gcloud beta artifacts docker images get-operation to poll an ongoing scan.
    • gcloud beta artifacts docker images list-vulnerabilities to retrieve scan results.
  • Introduced a new component called local-extract to aid in the commands for the On-Demand Scanning API.

Compute Engine

  • Added --compute-service-account to gcloud beta compute images import.
  • Changed --os flag to be optional for gcloud compute images import.
  • Added --enable-nested-virtualization flag to enable or disable nested virtualization to both beta and GA for:
    • gcloud compute instances create
    • gcloud compute instances create-with-container
    • gcloud compute instance-templates create
  • Fixed issue where policies created or updated via gcloud beta compute instances ops-agents policies [create|update] that included short-name values of 'debian' or 'ubuntu' in --os-types had trouble locating packages due to a missing call to apt-get update.
  • Updated Windows PuTTY executables to version 0.74.

Config Connector

Eventarc

  • Promoted gcloud eventarc triggers to GA. Renamed --matching-criteria flag as --event-filters in GA.
  • Promoted gcloud eventarc locations to GA.

GKE Hub

  • Promoted gcloud container hub memberships register --enable-workload-identity --public-issuer-url=$URL to GA.

Notebooks

  • Promoted gcloud notebooks to GA.

VPC Access

  • Added --machine-type to gcloud beta compute networks vpc-access connectors create to support machine type configuration of the managed instance group underlying the connector.
  • Added --min-instances and --max-instances to gcloud beta compute networks vpc-access connectors create to allow users to configure the scaling bounds of the underlying managed instance group.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

325.0.0 (2021-01-26)

Breaking Changes

  • (Compute Engine) Modified enable-autoupgrade field belonging to flag --agent-rules in gcloud beta compute instances ops-agents policies create and gcloud beta compute instances ops-agents policies update from optional to required.
  • (Container Registry) Updated gcloud container images list-tags and gcloud container images describe to use ContainerAnalysis V1 API in beta.
    • Changed occurrence kind PACKAGE_VULNERABILITY to VULNERABILITY, DEPLOYABLE to DEPLOYMENT, BUILD_DETAILS to BUILD and IMAGE_BASIS to IMAGE. To construct filters on kinds, new names should be used. For example, kind="VULNERABILITY.
    • Occurrence kind names are changed in output accordingly.

App Engine

  • Updated backend when using gcloud app deploy <queue|cron>.yaml. The only noticeable change is that when removing queues from the queues YAML file, previously the queues were marked as "DISABLED" but now they are marked "PAUSED". In terms of functionality, there is no difference between the two.

Certificate Authority Service

  • Added --ignore-active-certificates flag to gcloud beta privateca roots delete and gcloud beta privateca subordinates delete to allow a Certificate Authority to be scheduled for deletion even if the Certificate Authority has un-revoked or un-expired certificates.

Cloud Composer

  • Added gcloud beta composer environments run my-environment upgrade_check to run upgrade check to Airflow 2.0 for Composer environments with Airflow 1.10.14+.

Cloud Storage

  • Updated gsutil component to 4.58.

Compute Engine

  • Promoted gcloud compute networks get-effective-firewalls command to GA.
  • Promoted gcloud compute instances network-interfaces get-effective-firewalls command to GA.
  • Promoted gcloud compute instance ops-agents to beta.
  • Promoted --compute-service-account flag to GA for gcloud compute images import.

Eventarc

  • Added --transport-topic flag to gcloud beta eventarc triggers create, to allow the use of an existing Pub/Sub topic for a trigger's transport intermediary.

Miscellaneous

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

324.0.0 (2021-01-19)

Breaking Changes

  • (Cloud Run) Updated gcloud run to require that --platform and --region be passed after all positional arguments. For example: gcloud run services describe SERVICE --platform=managed --region=us-central1. This change first appeared in version 322.0.0.

AI Platform

  • Added support for maxNodes to gcloud ai-platform versions update --config.
  • Added --bigquery-table-name and sampling-percentage to gcloud ai-platform versions update to update request logging config.

Cloud API Gateway

  • Promoted gcloud api-gateway to GA.

Cloud DNS

  • Promoted gcloud dns managed-zones to GA.
  • Added --service-directory-namespace to gcloud beta dns managed-zones create to support providing a Service Directory namespace that should be associated with the zone.

Cloud Machine Learning Engine

  • Added support for maxNodes to gcloud ml-engine versions update --config.
  • Added --bigquery-table-name and sampling-percentage to gcloud ml-engine versions update to update request logging config.

Cloud Run

  • For Cloud Run (fully managed), changed gcloud run services delete to wait until the service is no longer returned and account for the possibility of a deletion failing before reporting success. To use the previous behavior and exit without waiting for deletion to complete, use --async.

Cloud Speech API

  • Promoted --separate-channel-recognition and --audio-channel-count flags of gcloud ml speech recognize and gcloud ml speech recognize-long-running to GA.

Cloud Workflows

  • Added gcloud workflows and gcloud workflows executions commands to GA.

Compute Engine

  • Added --compute-service-account to gcloud beta compute images import.
  • Added the following flags to gcloud beta compute backend-services create, gcloud beta compute backend-services update, gcloud beta compute backend-buckets create and gcloud beta compute backend-buckets update:
    • --[no-]serve-while-stale
    • --[no-]bypass-cache-on-request-headers
  • Added the following fields to gcloud beta compute backend-services import and gcloud beta compute backend-services export:
    • cdnPolicy:
    • bypassCacheOnRequestHeaders
    • serveWhileStale
  • Promoted --compute-service-account flag to GA for gcloud compute images export.
  • Added org-firewall-policies command group.

Config Connector

Kpt

  • Updated kpt from v0.36.1 to v0.37.1.
  • Updated import of cli-utils from v0.21.0 to v0.21.1.
  • Updated import of kyaml from v0.9.3 to v0.9.5.
  • Updated import of cmd/config from v0.8.4 to v0.8.5.

Secret Manager

  • Added --expire-time flag to gcloud beta secrets create and gcloud beta secrets update commands to specify timestamp for the secret to expire.
  • Added --ttl flag to gcloud beta secrets create and gcloud beta secrets update commands to specify a duration until the secret should expire.
  • Added --remove-expiration flag to gcloud beta secrets update command to remove scheduled expiration from a secret if it has one.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

323.0.0 (2021-01-12)

Cloud Asset Inventory

  • Promote gcloud asset list command to beta.

Cloud Dataproc

  • Added --shielded-secure-boot, --shielded-vtpm, and --shielded-integrity-monitoring boolean flags to gcloud dataproc clusters create to allow users to configure Compute Engine Shielded VMs on Dataproc clusters.
  • Added --shielded-secure-boot, --shielded-vtpm, and --shielded-integrity-monitoring boolean flags to gcloud dataproc workflow-templates set-managed-cluster to allow users to configure Compute Engine Shielded VMs on Dataproc managed clusters.

Cloud Filestore

  • Added --description flag to gcloud beta filestore backups create command.

Cloud Run

  • Promoted --use-http2 flag to beta for Cloud Run (fully managed).

Config Connector

Identity Groups Memberships

  • Added gcloud identity groups memberships check-transitive-membership for ALPHA, beta and GA.
  • Added gcloud identity groups memberships get-membership-graph for ALPHA, beta and GA.
  • Added gcloud identity groups memberships search-transitive-groups for ALPHA, beta and GA.
  • Added gcloud identity groups memberships search-transitive-memberships for ALPHA, beta and GA.

Managed Active Directory

  • Added --enable-audit-logs flag to gcloud beta active-directory domains create and gcloud beta active-directory domains update.
  • Added AUDIT_LOGS_ENABLED parameter to gcloud beta active-directory domains list.
  • Added auditLogsEnabled parameter to gcloud beta active-directory domains describe.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

322.0.0 (2021-01-07)

Breaking Changes

  • (Miscellaneous) Updated --format=flattened and --format=text to print labels if provided. If a key is specified inside either of these formats but a label is not, the child key will be printed in lower snake case. This is different than done previously when the entire dotted key path was printed. Note that this change does not apply to keys whose values are objects or lists.
  • (Miscellaneous) If you would like to use the legacy version of --format=flattened or --format=text, set the following configuration: gcloud config set core/use_legacy_flattened_format true Please note that this option will not be supported indefinitely.

Cloud API Gateway

  • Promote support for gRPC scoped api-config configurations via grpc-files flag to beta.

Cloud Composer

  • Added --max-pods-per-node option to gcloud beta environment create operation. It allows to limit the number of pods that can be assigned to a single GKE node and reduce the size of IP range assigned to it.
  • Added maintenance window flags for environment creation:
    • --maintenance-window-start
    • --maintenance-window-end
    • --maintenance-window-recurrence.
  • Added maintenance window flags for environment update:
    • --maintenance-window-start
    • --maintenance-window-end
    • --maintenance-window-recurrence
    • --clear-maintenance-window.
  • Added gcloud beta composer environments restart-web-server to restart web server for a Cloud Composer environment.

Cloud Dataflow

  • Added --enable-streaming-engine flag to gcloud beta dataflow jobs run.
  • Added --enable-streaming-engine flag to gcloud dataflow jobs run.

Cloud Filestore

  • Promoted nfs-export-options key of --file-shares flag in gcloud filestore instances to GA.

Cloud Run

  • Fixed an issue with using --clear-vpc-connector when deploying new services.

Compute Engine

  • Promoted --mtu flag to beta and GA for gcloud compute interconnects attachments <dedicated|partner> <create|update>.
  • Changed --os flag to be optional for:
    • gcloud compute images import in beta
    • gcloud compute instances import in beta
    • gcloud compute machine-images import in beta
  • Promoted --maintenance-window-start-time flag in gcloud compute sole-tenancy node-groups create command to GA.
  • Added --compute-service-account to gcloud compute images export in beta.
  • Added --service-directory-registration to gcloud compute forwarding-rules create in beta.
  • Promoted --no-address flag to GA for gcloud compute images import.

Config Connector

Eventarc

  • Added gcloud beta eventarc locations list which lists locations available for Eventarc.

Miscellaneous

  • Updated gcloud to not attempt reauthentication if running in non-interactive mode.

Service Directory

  • Promoted gcloud service-directory locations to beta. Added a commands to describe/list locations.
  • Promoted gcloud service-directory namespaces to GA. Added commands to create/delete/describe/list/update/add-iam-policy-binding/get-iam-policy/set-iam-policy/remove-iam-policy-binding.
  • Promoted gcloud service-directory services to GA. Added commands to create/delete/describe/list/resolve/update/add-iam-policy-binding/get-iam-policy/set-iam-policy/remove-iam-policy-binding.
  • Promoted gcloud service-directory endpoints to GA. Added commands to create/delete/describe/list/resolve/update.
  • Updated --metadata flag to --annotations flag in GA only.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

321.0.0 (2020-12-15)

Breaking Changes

  • (Dataproc Metastore) Renamed gcloud beta metastore services update --kerberos_principal flag as --kerberos-principal.

Cloud SDK

  • Added new regions for Artifact Registry: europe-west5, asia-northeast3, us-west3, us-west4, asia-southeast2.

AI

  • Added parameters args and command to gcloud beta ai custom-jobs create which provides ability to pass the parameters to containers or python tasks.

Cloud Access Context Manager

  • Added ingress-policies and egress-policies optional flags to the following commands:
    • gcloud beta access-context-manager perimeters create.
    • gcloud beta access-context-manager perimeters update.
    • gcloud beta access-context-manager perimeters dry-run create.
    • gcloud beta access-context-manager perimeters dry-run update.
  • The ingress-policies and egress-policies flags accept paths to yaml files. The content of the yaml files should contain valid representations of IngressPolicies and EgressPolicies.
  • Added support for displaying the contents of Ingress and EgressPolicies for following commands:
    • gcloud beta access-context-manager perimeters describe.
    • gcloud beta access-context-manager perimeters dry-run describe.

Cloud Composer

  • Added the following flags to gcloud composer environments create to manage Airflow web server network access control:
    • --web-server-allow-ip
    • --web-server-deny-all
    • --web-server-allow-all
  • Added the following flags to gcloud composer environments update to manage Airflow web server network access control:
    • --update-web-server-allow-ip
    • --web-server-deny-all
    • --web-server-allow-all

Cloud Dataproc

  • Promoted --dag-timeout flag of gcloud dataproc workflow-templates create to GA.
  • Promoted gcloud dataproc workflow-templates set-dag-timeout to GA.
  • Promoted gcloud dataproc workflow-templates remove-dag-timeout to GA.
  • Added gcloud beta dataproc clusters stop and gcloud beta dataproc clusters start commands to enable stopping and starting Dataproc clusters.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.11.11
    • Fix listCollectionId not returning collections with nested docs.
    • Fix listDocuments with showMissing returning 500 errors.

Cloud Run

  • Added multitenancy support to gcloud run commands https://cloud.google.com/run/docs/gke/multi-tenancy.
  • Promoted --vpc-egress flag of gcloud run deploy and gcloud run services update to GA.
  • Promoted --ingress flag of gcloud run deploy and gcloud run services update to beta.

Cloud SQL

  • Promoted --type flag of gcloud sql users create to GA to support the creation of Cloud SQL database users for login using IAM database authentication.

Cloud Services

  • Promoted gcloud services peered-dns-domains <create|delete|list> to GA.
  • Promoted gcloud services vpc-peerings <enable-vpc-service-controls|disable-vpc-service-controls> to GA.

Cloud Storage

  • Updated gsutil component to 4.57.

Compute Engine

  • Removed centos-6 option from --os flag for gcloud compute images import, gcloud compute instances import, and gcloud compute machine-images import.
  • Promoted TrafficDirector proxyBind property to v1 for:
    • gcloud compute target-http-proxies import
    • gcloud compute target-http-proxies export
    • gcloud compute target-https-proxies import
    • gcloud compute target-https-proxies export
  • Added no-address flag to:
    • gcloud beta compute images import
    • gcloud beta compute machine-images import
  • Promoted --disk and --accelerator flags in gcloud compute sole-tenancy node-templates create command to GA.
  • Added --shielded-vtpm, --shielded-secure-boot, and --shielded-integrity-monitoring flags to gcloud compute instances create-with-container command.
  • Added --shielded-vtpm, --shielded-secure-boot, and --shielded-integrity-monitoring flags to gcloud compute instance-templates create-with-container command.
  • Added --shielded-vtpm, --shielded-secure-boot, --shielded-integrity-monitoring, and --shielded-learn-integrity-policy flags to gcloud compute instances update-container command.
  • Promoted the following flags in gcloud compute backend-services create, gcloud compute backend-services update, gcloud compute backend-buckets create and gcloud compute backend-buckets update to GA:
    • --cache-mode
    • --[no-]client-ttl
    • --[no-]default-ttl
    • --[no-]max-ttl
    • --[no-]custom-response-header
  • Added the following fields to gcloud compute backend-services import and gcloud compute backend-services export:
    • customResponseHeader
    • cdnPolicy:
    • cacheMode
    • clientTtl
    • defaultTtl
    • maxTtl

Events

  • Added URI support to --target-service of gcloud events triggers create.
  • Modify --type flag of gcloud events triggers create to be optional for ApiServerSource.

Kubernetes Engine

  • Added --addons=GcePersistentDiskCsiDriver to gcloud container clusters create and --update-addons=GcePersistentDiskCsiDriver to gcloud container clusters update to enable/disable the GCP Compute Persistent Disk Container Storage Interface (CSI) Driver.

Miscellaneous

  • Informational messages printed during installation are now printed to stderr, rather than stdout.

Pubsub Emulator

  • Added dead letter queue feature to the emulator.

Transcoder

  • Promoted gcloud transcoder to beta.

VPC Access

  • Added a new subnet flag to gcloud compute networks vpc-access connectors create which can be used to specify a subnet to house the connector rather than specifying network and range flags.
    • If the provided subnet is a shared subnet, the flag subnet-project has been added to specify the host project id.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

320.0.0 (2020-12-08)

AI Platform

  • Updated the following command groups to display a choice of available regions if a region hasn't been specified:

App Engine

  • Updated gcloud beta app instances list and gcloud beta app instances describe to return the auto healer health check (i.e. liveness) for the flexible environment.
  • Updated the Java SDK to version 1.9.84. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes.

Assured Workloads

  • Change --next-rotation-time and --rotation-period flags of gcloud assured workloads create to be optional.
  • Add --provisioned-resources-parent flag to gcloud assured workloads create command.

BigQuery

  • Added schema to jobs.query dry run reply.
  • Supported bq partition command for HOUR/MONTH/YEAR time partitioning types.
  • Supported Avro logical types for creating new external tables.
  • Added PARQUET as option for export type. This feature is still experimental.

Cloud Asset Inventory

  • Added gcloud asset bulk-export command to beta which enables the user to export GCP resource configurations in Kubernetes Resource Model or Terraform formats.

Cloud Billing

  • Promoted gcloud billing budgets to GA.
    • Renamed all-updates-rule-* flags as notifications-rule-* flags in GA.

Cloud Build

  • Added flag --no-external-ip to gcloud beta builds worker-pools <create|update> commands.

Cloud Composer

  • Added --kms-key-name flag to gcloud beta composer environments command to specify the Customer-managed KMS key name to use for encrypting the Composer environment.

Cloud DNS

Cloud Dataproc

  • Added --max-failures-total flag to gcloud dataproc jobs submit to allow jobs to be restarted in event of a failure during job execution.

Cloud Filestore

  • Removed deprecation warning of --location flag from the gcloud filestore command group.
  • Added gcloud filestore operations cancel to cancel a Filestore operation.

Cloud Functions

Cloud Key Management Service

  • Added client-side request and response integrity verification to gcloud kms encrypt, gcloud kms decrypt, gcloud kms asymmetric-sign, gcloud kms asymmetric-decrypt in beta. For more information about Cloud KMS's integrity verification API, visit https://cloud.google.com/kms/docs/data-integrity-guidelines.
  • Added --skip-integrity-verification flag to gcloud kms encrypt, gcloud kms decrypt, gcloud kms asymmetric-sign, gcloud kms asymmetric-decrypt in beta.

Cloud Logging

  • Promoted the following commands that support Logs Buckets and Logs Views to beta:
    • gcloud logging buckets
    • gcloud logging sinks
    • gcloud logging read
    • gcloud logging locations
    • gcloud logging cmek-settings Logs Buckets are GA, while Logs Views and Regionalized Logs Buckets are in Preview.
  • Promoted --use-partitioned-tables of gcloud logging sinks to beta. BigQuery sinks with partitioned tables are GA.

Cloud Memorystore

  • Added --transit-encryption-mode flag to gcloud beta redis instances create to allow enabling Redis TLS with server authentication when creating a new instance.

Cloud Source Repositories

Cloud Spanner

  • Added --strong and --read-timestamp flags to gcloud spanner databases execute-sql to give more control over the timestamp of a read-only query.
  • Added throttling state to the output of gcloud spanner operations list.

Compute Engine

  • Promoted the following flags in gcloud compute instance-groups managed set-autoscaling to GA:
    • --stackdriver-metric-single-instance-assignment
    • --stackdriver-metric-utilization-target-type
    • --stackdriver-metric-utilization-target
    • --stackdriver-metric-filter
    • --update-stackdriver-metric
    • --remove-stackdriver-metric For more information see <https://cloud.google.com/compute/docs/autoscaler/scaling-stackdriver-monitoring-metrics#per_group_metrics>.
  • Promoted --distribution-target-shape flag in gcloud compute instance-groups managed create command to beta.
  • Promoted --distribution-target-shape flag in gcloud compute instance-groups managed update command to beta.
  • Promoted --network, --subnetwork, and --private-network-ip flags of gcloud compute instances network-interfaces update to GA.
  • Promoted --enable-endpoint-independent-mapping flag of compute routers nats create and compute routers nats update to GA.
  • Promoted the following flags in gcloud compute instance-groups managed set-autoscaling to Beta:
    • --set-schedule
    • --schedule-cron
    • --schedule-duration-sec
    • --schedule-min-required-replicas
    • --schedule-time-zone
    • --schedule-description
  • Promoted the following flags in gcloud compute instance-groups managed update-autoscaling to Beta:
    • --set-schedule
    • --remove-schedule
    • --enable-schedule
    • --disable-schedule
    • --update-schedule
    • --schedule-cron
    • --schedule-duration-sec
    • --schedule-min-required-replicas
    • --schedule-time-zone
    • --schedule-description
  • Promoted --[no-]enable-logging flag of gcloud compute health-checks command group to GA.
  • Promoted gcloud compute instance-groups managed describe-instance to GA.
  • Extended gcloud beta compute target-tcp-proxies create command with --proxy-bind flag.
  • Allow --target-tcp-proxy for gcloud beta compute forwarding-rules create and set-target with specified -load-balancing-scheme=INTERNAL_SELF_MANAGED.
  • Promoted --no-address flag in gcloud beta compute instances import command to GA.

Config Connector

Dataproc Metastore

  • Added gcloud metastore services export gcs which exports metadata from a Dataproc Metastore service.
  • Removed --maintenance-window-day-of-week and --maintenance-window-hour-of-day. Use --maintenance-window-day and --maintenance-window-hour instead.
  • Fixed issue where --maintenance-window-day-of-week and --maintenance-window-hour-of-day flags were not both required in gcloud metastore services update.
  • Promoted gcloud metastore services to beta.
  • Promoted gcloud metastore imports to beta.
  • Promoted gcloud metastore operations to beta.
  • Promoted gcloud metastore locations to beta.

Events

  • Added URI support to --target-service of gcloud events triggers create.
  • Updated gcloud beta events init to set the roles monitoring.metricWriter and cloudtrace.agent for the data plane service account.

GKE Hub

  • Promoted gcloud container hub memberships get-credentials to beta.

Kubernetes Engine

  • Promoted --private-ipv6-google-access-type to GA.
  • Fixed behavior of --no-enable-stackdriver-kubernetes flag of gcloud container clusters update command group.
  • Updates default kubectl from 1.16 to 1.17.
  • Additional kubectl versions:
    • kubectl.1.15 (1.15.12)
    • kubectl.1.16 (1.16.15)
    • kubectl.1.17 (1.17.14)
    • kubectl.1.18 (1.18.12)

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

319.0.0 (2020-11-17)

Breaking Changes

  • (Secret Manager) Modified gcloud secrets commands to send action taken (e.g. Created secret [my-secret].) to stderr instead of stdout.

Assured Workloads

  • Add --provisioned-resources-parent flag to gcloud assured workloads create command.

Cloud Asset Inventory

  • Added new content type os-inventory to gcloud asset export and gcloud asset get-history.

Cloud Healthcare

  • Promoted gcloud healthcare hl7v2-stores export to beta.

Cloud Pub/Sub

  • Promoted --message-filter flag of gcloud pubsub subscriptions create to GA. This feature allows users to specify a filter expression on a Cloud Pub/Sub subscription which will automatically drop messages.

Cloud Resource Manager

  • Updated the following commands to accept a domain name (e.g. "example.com") for organization in addition to the ID (e.g. 1234567890):
    • gcloud organizations describe
    • gcloud organizations get-iam-policy
    • gcloud organizations set-iam-policy

Cloud SQL

  • Added following flags to gcloud sql instances <create|patch>:
    • --retained-backups-count
    • --retained-transaction-log-days

Cloud Storage

  • Updated gsutil component to 4.55.

Compute Engine

  • Promoted --filter-direction flag in gcloud compute packet-mirrorings create/update commands to beta and GA.

Config Connector

Identity Groups

  • Updated --organization flag for gcloud identity groups create and gcloud identity groups search to accept domain names (e.g. example.com) in addition to organization IDs (e.g. 1234567890).

Kubernetes Engine

  • Added pd-balanced disk type to --disk-type of gcloud container command group.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

318.0.0 (2020-11-10)

AI

  • Updated --min-replica-count in gcloud beta ai endpoints deploy-model to be a non-required flag.
  • Added --enable-access-logging, --enable-container-logging, and --service-account flags to gcloud beta ai endpoints deploy-model.

App Engine

App Engine Flexible Environment

  • Promoted gcloud app services update to GA.

Artifact Registry

  • Added --show-occurrences flag to gcloud artifacts docker images list command that enables showing metadata from Container Analysis API.

Cloud SQL

  • Added following flags of gcloud sql instances create and gcloud sql instances update to GA:
    • --insights-config-query-insights-enabled
    • --insights-config-query-string-length
    • --insights-config-record-application-tags
    • --insights-config-record-client-address

Compute Engine

  • Added --chain-name to flag gcloud compute disks snapshot.
  • Added PRIVATE_SERVICE_CONNECT as a global address purpose to gcloud beta compute forwarding-rules create.
  • Added --target-google-apis-bundle to gcloud beta compute forwarding-rules create.
  • Added --no-address flag to gcloud beta compute instances import.

Kpt

  • Updated kpt from v0.35.0 to v0.36.1.
  • Updated import of cli-utils from v0.21.0 to v0.20.6.
  • Updated import of kyaml from v0.9.2 to v0.9.3.
  • Updated import of cmd/config from v0.8.3 to v0.8.4.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

317.0.0 (2020-11-03)

Breaking Changes

  • (App Engine Flexible Environment) Modified deployment prerequisites such that app.yaml is now required for all deployments and can no longer be added to .gcloudignore list.

AI

  • Added gcloud beta ai endpoints explain to send explanation requests to AI Platform endpoints.

Artifact Registry

  • Updated Maven print-settings with service account key to use preemptive for HEAD requests.
  • Promoted gcloud artifacts command group to GA.

Cloud Asset Inventory

  • Promoted Cloud assets analysis commands gcloud asset analyze-iam-policy and gcloud asset analyze-iam-policy-longrunning to GA.

Cloud Billing

  • Promoted gcloud billing budgets to beta.

Cloud Build

  • Added the flag --pack to the command gcloud builds submit.

Cloud Functions

  • Promoted build-env-vars flags of gcloud functions to GA.

Cloud IAM

  • Updated gcloud iam service-accounts keys list to remove the non-functional --uri flag.

Cloud Run

  • Added gcloud run regions list command to list supported Cloud Run (fully managed) regions.

Compute Engine

  • Enabled Patch support for target-http-proxies import command in GA.

Eventarc

  • Added gcloud beta eventarc which manages Eventarc resources.

Firebase Test Lab

  • Promoted --testing-special-entitlements flag of gcloud firebase test ios run to GA.
  • Increased the maximum number of test shards from 250 to 500 when using Android virtual devices.

Identity and Access Management

  • Added gcloud beta iam workload-identity-pools create-cred-config to create a credential config file that can grant non-Google Cloud workloads access to Google Cloud resources, without using a service account key.

Kubernetes Engine

  • Added --ephemeral-storage to gcloud beta container clusters create and gcloud beta container node-pools create. This flag is used to configure nodes' ephemeral storage to be backed by local SSDs.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

316.0.0 (2020-10-27)

Breaking Changes

  • (Cloud Spanner) Modified gcloud spanner operations list to disallow --database or --backup flags used in combination with --type=INSTANCE.
  • (Vmware Engine) Renamed gcloud config vmware/location to gcloud config vmware/region.

AI

  • Added gcloud beta ai hp-tuning-jobs stream-logs which provides the ability to stream logs of hyperparameter tuning jobs in AI Platform.

AI Platform

  • Added --service-account to gcloud beta ai-platform jobs submit training to allow specifying a service account to use when running the training appplication for a training job.
  • Updated --region flag of gcloud ai-platform command to include new CAIP regions.

App Engine

Artifact Registry

  • Disallowed creating CMEK-enabled repositories if Artifact Registry service account is not granted sufficient permissions.
  • Added a new command gcloud beta artifacts docker images describe that shows information of a docker image and optionally the metadata of the image from Container Analysis API.
  • Command gcloud beta artifacts docker images list will now show metadata of images from Container Analysis API as well.

Cloud Access Context Manager

  • Promoted gcloud access-context-manager cloud-bindings to GA.

Cloud Build

  • Updated cloud-build-local to version 0.5.2. This version allows cloud-build-local to execute without a GCP account, providing a warning rather than an error.

Cloud SQL

  • Promoted Postgres 13 to GA.

Cloud Shell

  • Promoted gcloud cloud-shell command group to GA.

Cloud Storage

  • Updated gsutil component to 4.54.

Cloud Workflows

  • Added gcloud workflows executions describe-last to beta which describes the last executed workflow execution that has been cached locally.
  • Added gcloud workflows executions wait-last to beta which waits for the last cached workflow execution to complete.
  • Added gcloud workflows run to beta which executes a workflow and waits for it to complete.

Compute Engine

  • Promoted --mtu flag to beta and GA for gcloud compute networks <create|update>.
  • Promoted gcloud compute instances set-name command to beta.
  • Promoted scope option for --disk flag for gcloud compute instances create to GA.
  • Fixed incorrect error message for gcloud compute target-http-proxies.
  • Added --user-licenses flag to disk create and update command for alpha. ' when the resource already exists.
  • Added gcloud beta compute snapshots create command. It allows to create snapshots of disks.
  • Added --[no-]negative-caching and --[no-]negative-caching-policy to gcloud beta compute backend-services create, gcloud beta compute backend-services update, gcloud beta compute backend-buckets create and gcloud beta compute backend-buckets update.
  • Added cdnPolicy.negativeCaching and cdnPolicy.negativeCachingPolicy to gcloud beta compute backend-services import and gcloud beta compute backend-services export.
  • Promoted HTTP Filter related resource properties to beta for:
    • gcloud compute target-http-proxies import
    • gcloud compute target-http-proxies export
    • gcloud compute target-https-proxies import
    • gcloud compute target-https-proxies export
    • gcloud compute url-maps import
    • gcloud compute url-maps export

Config Connector

Events

  • Updated gcloud beta events triggers create to reference the serving.knative.dev/v1 APIVersion in the subscriber reference of created triggers.

Firebase Test Lab

  • Promoted --testing-special-entitlements flag of gcloud firebase test ios run to GA.

Kpt

  • Updated kpt from v0.34.0 to v0.35.0.
  • Updated import of cli-utils from v0.20.1 to v0.20.6.
  • Updated import of kyaml from v0.8.0 to v0.9.2.
  • Updated import of cmd/config from v0.8.0 to v0.8.3.

Kubernetes Engine

  • Added --release-channel=None option to gcloud container clusters create. This option is used to explicitly opt-out of release channels.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

315.0.0 (2020-10-20)

AI

  • Added gcloud beta ai custom-jobs stream-logs which provides ability to stream logs of custom jobs in AI Platform.
  • Fixed a bug where config.yaml was parsed incorrectly for command gcloud ai custom-jobs create in AI Platform.

Artifact Registry

  • Removed GCR repositories from artifacts repositories list result.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.11.9
    • Fix handling of != and not-in operators.

Compute Engine

  • Added sles-12, sles-sap-12, sles-sap-12-byol, sles-15, sles-sap-15, and sles-sap-15-byol options to --os flag for gcloud compute images import in GA, gcloud compute instances import in GA, and gcloud compute machine-images import in beta.
  • Promoted --disable-default-snat flag for gcloud container clusters update command to GA.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

314.0.0 (2020-10-13)

Breaking Changes

  • (Cloud Build) cloud-build-local is no longer supported on 32-bit MacOS. The executable has been deleted from this release. The prior release, v0.5.0 included a 32-bit MacOS executable that may continue to work for some users.

Apigee

  • Added apigee surface to GA which provides access to Apigee Hybrid.
  • Added apigee organizations command group which provides access to Apigee organizations.
  • Added apigee apis command group which allows management and deployment of Apigee API proxies.
  • Added apigee environments command group which provides access to Apigee environments.
  • Added apigee deployments command group which provides access to Apigee API proxy deployments.
  • Added apigee product command group which allows creation and management of Apigee API products.
  • Added apigee developer command group which provides access to Apigee developers.
  • Added apigee applications command group which provides access to Apigee developer applications.

BigQuery

  • Fixed 'TableSnapshot with expiration' issue.

Certificate Authority Service

  • Added gcloud beta privateca certificates export command which simplifies the process of writing a PEM certificate to a file.

Cloud Build

Cloud Dataproc

  • Removed prompt from gcloud dataproc clusters stop and gcloud dataproc clusters start. The commands now run without requiring confirmation.

Cloud Domains

  • Promoted gcloud domains registrations to beta. Enables the registering and managing of domains.

Cloud Run

  • Promoted --vpc-egress flag of gcloud run deploy and gcloud run services update to beta.

Cloud Shell

  • Removed --boosted flag. An upgraded VM type is available by default.

Firebase Test Lab

  • Added --other-files flag to gcloud beta firebase test ios run. This flag lets you specify files that are pushed onto the iOS test device prior to testing.
  • Added --directories-to-pull flag to gcloud beta firebase test ios run. This flag lets you specify directories on the device that are pulled after testing and included in the test results.

Identity Groups

  • Promoted gcloud identity groups update to GA.

Identity Groups Memberships

  • Promoted gcloud identity groups memberships add to GA.
  • Promoted gcloud identity groups memberships modify-membership-roles to GA.

Notebooks

  • Fixed CMEK support and add PD_BALANCED disk support.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

313.0.1 (2020-10-07)

Cloud Dataflow

  • Fixed bug with gcloud dataflow flex-template build.

313.0.0 (2020-10-06)

Anthos

  • Fixed issue where v2alpha1 Login-Config could not be read from URL in gcloud anthos auth login command.

Artifact Registry

  • Added gcloud beta artifacts repositories update to enable changing the description and labels on an existing repository.

Certificate Authority Service

  • Added gcloud beta privateca command group which enables creating and managing private certificate authorities and certificates. For more information, see <https://cloud.google.com/certificate-authority-service/>.

Cloud API Gateway

  • Added gcloud api-gateway to beta, which adds commands for managing APIs, API Configs, and the Gateways that serve those APIs.

Cloud Build

Cloud Data Catalog

  • Promoted gcloud data-catalog taxonomies to GA release track.

Cloud Dataflow

  • Added runtime environment parameters support in gcloud dataflow flex-template run.

Cloud Memorystore

  • Added --enable-auth flag to gcloud beta redis instances create to allow enabling Redis AUTH when creating a new instance.

Added --[no-]enable-auth flag to gcloud beta redis instances update to allow enabling and disabling Redis AUTH when updating an instance.

Added gcloud beta redis instances get-auth-string command to allow viewing the AUTH string for an instance.

Cloud Pub/Sub

Cloud Run

  • Promoted --min-instances flag of gcloud run deploy and gcloud run services update to beta for --platform=managed.

Cloud SQL

  • Promoted server-level --deny-maintenance-period-start-date, --deny-maintenance-period-end-date, --deny-maintenance-period-time and --remove-deny-maintenance-period flags of gcloud sql instances create/patch to GA.

Cloud Services

  • Promoted gcloud services peered-dns-domains <create|delete|list> to beta.

Compute Engine

  • Promoted --mtu flag to beta and GA for gcloud compute networks <create|update>.
  • Promoted gcloud compute instances set-name command to beta.
  • Promoted scope option for --disk flag for gcloud compute instances create to GA.
  • Fixes incorrect error message for 'gcloud compute target-http-proxies ' when the resource already exists.

Config And Policy Automation

  • Added pkg as a gcloud component. pkg installs a group of Kubernetes Resource Model (KRM) package management tools including: kustomize, kpt, appctl and nomos.

Firebase Test Lab

  • Added --other-files flag to gcloud beta firebase test ios run. This flag lets you specify files that are pushed onto the iOS test device prior to testing.

Identity Groups

  • Promoted gcloud identity groups create to GA.
  • Promoted gcloud identity groups search to GA.

Identity Groups Memberships

  • Promoted gcloud identity groups memberships describe to GA.

Identity and Access Management

  • Added gcloud beta iam workload-identity-pools which enables you to grant on-premises or multi-cloud workloads access to Google Cloud resources, without using a service account key.

Pubsub Emulator

  • Increased server gRPC max message size to 10 MB with some buffer. Allows for publishing 10 MB messages.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

312.0.0 (2020-09-29)

Breaking Changes

  • (Stackdriver Debugger) Removed gcloud beta debug source upload command.

Cloud SDK

  • Modified the --billing-project flag and billing/quota_project property to accept service accounts when specifying a Google Cloud project for billing and quota purposes.

AI

  • Added gcloud ai surface to beta which provides access to manage entities in AI Platform.
  • Added gcloud ai custom-jobs command group which provides access to custom jobs in AI Platform.
  • Added gcloud ai hp-tuning-jobs command group which provides access to hyperparameter tuning jobs in AI Platform.
  • Added gcloud ai endpoints command group which provides access to endpoints in AI Platform.
  • Added gcloud ai models command group which provides access to models in AI Platform.

Artifact Registry

  • Added --labels flag to gcloud beta artifacts repositories create to allow labels to be added to a repository during creation.

Assured Workloads

  • Removed option limitations for --location flag of gcloud assured workloads create.

BigQuery

  • Fixed 'RedirectMissingLocation' issue.

Cloud Asset Inventory

  • Added --partition-key and --per-asset-type flags to gcloud asset export to support partitioned per-type BigQuery export.
  • Removed gcloud alpha asset analyze-iam-policy. Please use gcloud beta asset analyzer-iam-policy instead.

Cloud Billing

  • Added gcloud beta billing accounts add-iam-policy-binding and gcloud beta billing accounts remove-iam-policy-binding commands to manage IAM policy bindings on a Cloud Billing account.

Cloud Dataflow

  • Modified gcloud dataflow sql query to allow "project.dataset.table" and "dataset.table" formats for --bigquery-table argument.

Cloud Dataproc

  • Added --node-group flag to gcloud dataproc clusters create to allow clusters to be created on a Compute Engine sole-tenant node group.
  • Added --node-group flag to gcloud dataproc workflow-templates set-managed-cluster to allow managed clusters to be created on a Compute Engine sole-tenant node group.

Cloud Healthcare

  • Promoted gcloud healthcare consent-stores to beta.

Cloud Pub/Sub

  • Promoted --enable-message-ordering flag of gcloud pubsub subscriptions create and --ordering-key flag of gcloud pubsub topics publish to GA.

Cloud Workflows

  • Added gcloud beta workflows executions wait which allows the user to wait for a workflow execution to complete.

Compute Engine

  • Modified gcloud compute os-login to use the current gcloud project for quota by default. See help for billing/quota_project property or --billing-project flag for more details on how to control this behavior.
  • Added ubuntu-2004 option of --os flag for gcloud compute images import in GA, gcloud compute instances import in GA, and gcloud compute machine-images import in beta.
  • Promoted --service-proxy and --service-proxy-labels flags to GA for gcloud compute instance-templates create.

Events

  • Allow non-default brokers for events brokers create command.
  • Added brokers describe/list/delete commands.

GKE Hub

  • Promoted gcloud container hub memberships <register|unregister> commands to beta. Modified command to unsupport manage-workload-identity-bucket flag.

Identity Groups

  • Promoted gcloud identity groups describe to GA.

Identity Groups Memberships

  • Added --update-roles-params to gcloud beta identity groups memberships modify-membership-roles.
  • Promoted gcloud identity groups memberships delete to GA.
  • Promoted gcloud identity groups memberships list to GA.

Kubernetes Engine

  • Promoted --validate flag of gcloud container binauthz attestations create and gcloud container binauthz attestations sign-and-create to GA and beta, respectively.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

311.0.0 (2020-09-22)

Breaking Changes

  • (Assured Workloads) Updated gcloud assured workloads list and gcloud assured operations list commands to use separate flags for organization and location.

App Engine

  • Added gcloud beta app services update to allow management of incoming traffic to an app on a per-service basis.
  • Promoted --no-cache flag of gcloud app deploy to GA. This flag disables the build cache when deploying an app.
  • Added a warning that <application> or <version> elements within appengine-web.xml are not respected.
  • Modified the behavior of gcloud app deploy with --promote. Previously, attempting to deploy and promote a version that was already deployed, but stopped, would result in an error. Now a stopped version will be started before it is promoted.

App Engine Flexible Environment

  • Added gcloud beta app services update to allow management of incoming traffic to an app on a per-service basis.
  • Promoted --no-cache flag of gcloud app deploy to GA. This flag disables the build cache when deploying an app.
  • Modified the behavior of gcloud app deploy with --promote. Previously, attempting to deploy and promote a version that was already deployed, but stopped, would result in an error. Now a stopped version will be started before it is promoted.

Assured Workloads

  • Added multiple input format support to resource arguments for the following commands: gcloud assured workloads describe, gcloud assured workloads delete, gcloud assured workloads update, and gcloud assured operations describe.

Cloud Dataproc

  • Added --private-ipv6-google-access-type flag to gcloud dataproc clusters create and gcloud dataproc workflow-templates set-managed-cluster to allow users to configure the private IPv6 Google access type for the cluster.

Cloud Resource Manager

  • Added gcloud folders get-ancestors-iam-policy for retrieving IAM policies for a given folder and its ancestors.

Identity Groups

  • Promoted gcloud identity to GA.
  • Promoted gcloud identity groups delete to GA.

Kpt

  • Updated kpt from v0.33.0 to v0.34.0.
  • Updated import of cli-utils from v0.18.1 to v0.20.1.
  • Updated import of kyaml from v0.6.0 to v0.8.0.
  • Updated import of cmd/config from v0.6.0 to v0.8.0.

Secret Manager

  • Promoted gcloud secrets replication command group to beta.
  • Added --replication-policy-file flag to gcloud beta secrets create command to specify replication policy using a JSON or YAML file.
  • Added --kms-key-name flag to gcloud beta secrets create command to specify a KMS key when creating an automatic secret.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

310.0.0 (2020-09-15)

Assured Workloads

  • Added confirmation text to gcloud assured workloads delete command.

Cloud IAM

  • Changed default format for gcloud iam service-accounts list to refer to the display name of the service account as "DISPLAY NAME" instead of "NAME".

Cloud Resource Manager

  • Added a command gcloud projects get-ancestors-iam-policy for retrieving IAM policies for a given project and its ancestors.

Cloud Run

  • Added support for --format to gcloud run deploy, gcloud run services update, and gcloud run replace.

Compute Engine

  • Promoted --disk flag of gcloud compute sole-tenancy node-templates create to beta.
  • Added --accelerator flag of gcloud compute sole-tenancy node-templates create to beta.

Events

  • Added gcloud events command group to beta to allow the configuration of event-based triggers on Cloud Run for Anthos services..

Kubernetes Engine

  • Added --cloud-run-config to gcloud container clusters create and gcloud container clusters update. This flag is used to enable internal load balancer for Cloud Run cluster.
  • Enabled auto repair by default on UBUNTU and UBUNTU_CONTAINERD image.
  • Added --enable-gke-oidc to gcloud container clusters create and gcloud container clusters update. This flag is used to enable the GKE OIDC component for authentication using OIDC.
  • Added new fields to specify disk type and size configuration, shielded instance settings, and customer-managed encryption keys when using --autoprovisioning-config-file with gcloud container clusters create and gcloud container clusters update.
  • Promoted --autoprovisioning-min-cpu-platform flag of gcloud container clusters create and gcloud container clusters update to GA.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

309.0.0 (2020-09-08)

Assured Workloads

  • Added gcloud assured command group to beta. Commands in this group provide the ability to read and modify Assured data controls.
  • Added gcloud assured workloads command group to beta. Commands in this group allow you to manage Assured Workloads environment resources.
  • Added gcloud assured operations command group to beta. Commands in this group allow you to view Assured Workloads operation resources.

Cloud API Gateway

  • Promoted gcloud api-gateway to beta.
    • Modified gcloud api-gateway api-configs create. Removed --grpc-files temporarily since Cloud API Gateway does not support gRPC.
    • Modified gcloud apis create. Added the optional --managed-service flag to specify a pre-existing Google Managed Service.

Cloud Firestore

  • Promoted gcloud firestore databases to beta and GA.
  • Promoted gcloud datastore databases to beta and GA.

Cloud SQL

Compute Engine

  • Added the following flags to gcloud beta compute backend-services create, gcloud beta compute backend-services update, gcloud beta compute backend-buckets create and gcloud beta compute backend-buckets update:
    • --cache-mode
    • --[no-]client-ttl
    • --[no-]default-ttl
    • --[no-]max-ttl
    • --[no-]negative-caching
    • --[no-]negative-caching-policy
    • --[no-]custom-response-header
  • Added the following fields to gcloud beta compute backend-services import and gcloud beta compute backend-services export:
    • customResponseHeader
    • cdnPolicy:
    • cacheMode
    • clientTtl
    • defaultTtl
    • maxTtl
    • negativeCaching
    • negativeCachingPolicy

Kubernetes Engine

  • Added --notification-config to gcloud <alpha|beta> container clusters <create|update>. This flag is used to enable notifications on a cluster. Currently Pub/Sub notifications are supported.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

308.0.0 (2020-09-01)

BigQuery

  • Added 'creationTime', 'updateTime' columns for creating reservation.
  • Added 'ignore_idle_slots' flag for managing reservations idle slots behavior.
  • Supported table snapshot and restoration operation.
  • Added manual instruction for Azure connection setup.
  • Removed requirements of specifying destination table and target dataset if the scheduling query using DML or DDL with command bq query --schedule.

Cloud Data Catalog

  • Implemented the following commands for gcloud data-catalog taxonomies and gcloud data-catalog taxonomies policy-tags in beta.
    • list
    • describe
    • get-iam-policy
    • set-iam-policy
    • add-iam-policy-bindings
    • remove-iam-policy-bindings
  • Implemented export command for gcloud data-catalog taxonomies in beta.
  • Implemented import command for gcloud data-catalog taxonomies in beta.

Cloud Dataproc

  • Added --enable-kerberos flag to gcloud dataproc clusters create and gcloud dataproc workflow-templates set-managed-cluster to allow users to enable Kerberos directly without specifying --kerberos-root-principal-password-uri or --kerberos-kms-key-uri.

Cloud Firestore

  • Promoted gcloud filestore backups to beta.
  • Added gcloud beta filestore instances restore to enable restoring a Cloud Filestore instance from a backup.
  • Promoted --source-backup and --source-backup-region flags to beta to specify backup details; these flags should be used in conjunction with --file-share flag.

Cloud Healthcare

  • Promoted gcloud healthcare hl7v2-stores import to beta.

Cloud Run

  • Fixed issue when updating labels on a cluster with private visibility failed.
  • Added service endpoint visibility to gcloud run services describe output for services deployed with --platform=gke or --platform=kubernetes. Cluster-local services show Ingress: internal. Services that are not cluster-local show Ingress: all. Use --connectivity flag of gcloud run deploy or gcloud run services update to update service endpoint visibility.

Cloud Shell

  • Promoted gcloud cloud-shell command group to beta.

Compute Engine

  • Promoted compute instances get-screenshot to GA.

Notebooks

  • Added gcloud beta notebooks instances upgrade to upgrade Notebooks instance.
  • Added gcloud beta notebooks instances is-upgradeable to verify if Notebooks instance can be upgraded to a newer image.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

307.0.0 (2020-08-25)

App Engine

Cloud Dataflow

  • Promoted gcloud dataflow flex-template build to GA. Promoted gcloud dataflow flex-template run to GA.

Cloud Run

  • Changed the generation of revision names. If the generated revision name is longer than the knative resource name length limit (63 characters), shorten the part of the service name used as a prefix until the revision name is no longer than the maximum knative resource name.

Cloud SQL

  • Promoted MySQL 8 to GA.

Cloud Security Command Center

  • Promoted gcloud scc notifications command group to beta and GA.
  • Promote gcloud scc [operations|sources|findings] to beta and GA.

Cloud Storage

  • Updated gsutil component to 4.53.

Compute Engine

  • Promoted 'SHARED_LOADBALANCER_VIP' option of --purpose flag of gcloud compute addresses create to GA.
  • Promoted --logging-metadata flag to GA for
    • gcloud compute firewall-rules create
    • gcloud compute firewall-rules update.
  • Promoted --network, --subnetwork, and --private-network-ip flags of gcloud compute instances network-interfaces update to beta.

Firebase Test Lab

  • Added --additional-ipas flag to gcloud beta firebase test ios run. This flag allows you to specify additional iOS apps that should be installed on the device prior to testing.

Kpt

  • Updated kpt from v0.30.1 to v0.33.0.
  • Updated import of cli-utils from v0.15.0 to v0.18.1.
  • Updated import of kyaml from v0.3.1 to v0.6.0.
  • Updated import of cmd/config from v0.3.0 to v0.6.0.

Kubernetes Engine

  • Promoted --enable-master-global-access flag of gcloud container clusters <create|update> to GA.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

306.0.0 (2020-08-18)

BigQuery

  • Fixed issue where ls --reservation command randomly failed with internal error.
  • Added add-iam-policy-binding and remove-iam-policy-binding commands, with support for modifying IAM policies for tables and views.

Cloud Dataproc

  • Added --dataproc-metastore flag to gcloud beta dataproc clusters create to allow clusters to be created with a Dataproc Metastore service.
  • Added --dataproc-metastore flag to gcloud beta dataproc workflow-templates set-managed-cluster to allow managed clusters to be created with a Dataproc Metastore service.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.11.7
    • Includes latest features and improvements from production.

Cloud Key Management Service

  • Added gcloud beta kms keys versions get-certificate-chain to retrieve HSM attestation certificate chains.

Cloud Pub/Sub

  • Promoted gcloud pubsub topics detach-subscription to GA.

Cloud Resource Manager

  • Fixed issue where gcloud resource-manager org-policies <allow|deny> gave an error when a restore default policy exists.

Cloud Security Command Center

  • Promoted gcloud scc notifications command group to beta and GA.

Cloud TPU

  • Added --use-service-networking flag to gcloud beta compute tpus create.

Compute Engine

  • Added gcloud beta compute os-config os-upgrade to enable major OS version updates on support distributions.
  • Promoted --condition flag to GA for
    • gcloud compute instances add-iam-policy-binding
    • gcloud compute instances remove-iam-policy-binding.
  • Promoted Regional Network Endpoint Groups to GA.
  • Promoted Hybrid Network Endpoint Groups to GA.
  • Promoted gcloud compute commitments create-license to beta and GA.
  • Promoted the following commands to GA:
    • gcloud compute instance-groups managed instance-configs create
    • gcloud compute instance-groups managed instance-configs update
    • gcloud compute instance-groups managed instance-configs list
    • gcloud compute instance-groups managed instance-configs delete
  • Promoted --stateful-disk and --stateful-metadata for gcloud compute instance-groups managed create-instance to GA.
  • Added --network flag to gcloud beta compute target-instances create.

Game Servers

  • Promoted gcloud game servers to GA.

Notebooks

  • Added n1-standard-1 as the default for notebook instances.
  • Added deeplearning-platform as the default for notebook instance project and environment project.

Secret Manager

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

305.0.0 (2020-08-11)

Artifact Registry

  • Added --json-key flag to gcloud beta artifacts print-settings.
  • Added bearer auth for npm support to gcloud beta artifacts print-settings.

Cloud Build

  • Added the flag --worker-pool to the command gcloud builds submit.

Cloud Dataflow

  • Added flex template docker container building support in build command gcloud beta dataflow flex-template build.

Cloud Pub/Sub

  • Replaced --scale in gcloud beta pubsub lite-topics create and gcloud beta pubsub lite-topics update with --per-partition-publish-mib and --per-partition-subscribe-mib flags.

Cloud Run

  • Added --image flag to gcloud run services update command in beta and GA to support updating container image.

Cloud Security Command Center

  • Promoted gcloud scc assets command group to beta and GA.

Compute Engine

  • Promoted cpu-overcommit-type flag of gcloud beta compute sole-tenancy node-templates create to GA.
  • Promoted --stateful-disk flag for gcloud compute instance-groups managed create to GA.
  • Promoted --stateful-disk, --remove-stateful-disk flags for gcloud compute instance-groups managed update to GA.
  • Promoted --scale-in-control flag of gcloud compute instance-groups managed set-autoscaling to GA.
  • Promoted --scale-in-control and --clear-scale-in-control flags of gcloud compute instance-groups managed update-autoscaling to GA.

Deployment Manager

  • Added --custom-certificate-authority-roots flag to gcloud deployment-manager type-providers <create|update>.

Kubernetes Engine

  • Promoted the GKE add-on ConfigConnector of gcloud container clusters <create|update> to GA. This add-on is disabled by default.
    • Use --addons=ConfigConnector to enable the add-on during cluster creation.
    • Use --update-addons=ConfigConnector=ENABLED|DISABLED to enable/disable the add-on for existing GKE clusters.
  • Updates default kubectl from 1.15 to 1.16.
  • Additional kubectl versions:
    • kubectl.1.14 (1.14.10)
    • kubectl.1.15 (1.15.12)
    • kubectl.1.16 (1.16.13)
    • kubectl.1.17 (1.17.9)
    • kubectl.1.18 (1.18.6)
  • Promoted --disable-default-snat flag of gcloud container clusters <create|update> to GA.
  • Modified GKE nodes to have serial port output logging enabled by default. To disable, use --metadata serial-port-logging-enable=false.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

304.0.0 (2020-08-04)

Cloud Build

  • Modifed the command group gcloud beta builds worker-pools such that all underlying commands now use a regional Cloud Build API endpoint (instead of the global one).
  • Modifed the command group gcloud builds such that all underlying commands may optionally use a regional Cloud Build API endpoint (instead of the global one). This is controlled by the new flag --region, as well as the configuration of submitted builds.

Cloud Composer

  • Fixed a bug where an argument added to backfill subcommand of gcloud composer environments run fails in older Airflow versions.
  • Added --web-server-machine-type flag to gcloud beta composer environments commands to specify the machine type used by the Airflow web server.

Cloud IAM

  • Promoted gcloud iam service-accounts keys upload to GA.

Compute Engine

  • Added gcloud beta compute os-config os-upgrade to enable major OS version updates on support distributions.
  • Promoted gcloud compute diagnose export-logs to GA.

Firebase Test Lab

  • Added the command gcloud [alpha|beta] firebase test ip-blocks list, which retrieves a catalog of IP blocks used by Firebase Test Lab devices.

Kubernetes Engine

  • Added --node-group to gcloud container node-pools create. This flag is used to enable the Compute Engine sole tenant node feature on Kubernetes Engine node pools.

Secret Manager

  • Updated the following commands to better support IAM Conditions:
    • gcloud secrets get-iam-policy outputs conditions associated with each binding.
    • gcloud secrets set-iam-policy accepts policies with conditional bindings.
    • gcloud secrets <add|remove>-iam-policy-binding accepts conditional bindings.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

303.0.0 (2020-07-28)

AI Platform

  • Promoted --kms-key flag of gcloud ai-platform jobs submit training to GA.

Cloud Bigtable

  • Promoted gcloud bigtable backups commands group to GA.
  • Promated gcloud bigtable instances tables restore and gcloud bigtable instances tables list to GA.

Cloud Build

  • Added --comment-control flag option COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY to gcloud builds triggers create github in alpha and beta.

Cloud Composer

  • Added --cloud-sql-machine-type flag to gcloud beta composer environments commands to specify the Cloud SQL machine type used by the Airflow database.

Cloud Data Catalog

  • Added --restricted-locations to gcloud data-catalog search to enable regional search.

Compute Engine

  • Added --log-location flag to gcloud compute instances import and gcloud beta compute machine-images import.
  • Promoted --condition flag for
    • gcloud compute images add-iam-policy-binding
    • gcloud compute images remove-iam-policy-binding to GA.
  • Promoted --rollout-mode, --rollout-disruption-budget, and --rollout-disruption-budget-percent flags of gcloud compute os-config patch-jobs execute to GA.
  • Allowed using user-data key in metadata with gcloud compute instances create-with-container.
  • Promoted --condition flag to GA for
    • gcloud compute images add-iam-policy-binding
    • gcloud compute images remove-iam-policy-binding
    • gcloud compute snapshots add-iam-policy-binding
    • gcloud compute snapshots remove-iam-policy-binding.

Kubernetes Engine

  • Added --identity-provider to gcloud beta container clusters create and gcloud beta container clusters update. This flag is used to enable a 3P identity provider on a cluster.
  • Added flag --enable-dataplane-v2 to gcloud <alpha|beta> container clusters create. This flag allows GKE clusters to use the new and improved datapath with additional visibility and observability features.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

302.0.0 (2020-07-21)

AI Platform

App Engine

  • Added support for directly deploying the Gradle project 'build.gradle' file.

Cloud Asset Inventory

  • Modified gcloud asset search-all-resources and gcloud asset search-all-iam-policies to apply --page-size=20 by default.

Cloud Dataproc

  • Added --dag-timeout flag to gcloud dataproc workflow-templates create to allow timeouts to be set on Workflow jobs DAGs.
  • Added gcloud dataproc workflow-templates set-dag-timeout to allow DAG timeouts to be updated or set on existing Workflows.
  • Added gcloud dataproc workflow-templates remove-dag-timeout to allow DAG timeouts to be removed from Workflows.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.11.5
    • Bug fix for camel case query parameters
    • Add support for != style queries

Cloud Pub/Sub

  • Promoted --enable-message-ordering flag of gcloud pubsub subscriptions create and --ordering-key flag of gcloud pubsub topics publish to beta.

Cloud Resource Manager

  • Promoted gcloud resource-manager org-policies command group to GA.

Cloud Run

  • Promoted --tag flag of gcloud run deploy to beta.
  • Promoted --tag flag of gcloud run services update to beta.
  • Promoted --to-tags, --set-tags, --update-tags, --remove-tags, and --clear-tags flags of gcloud run services update-traffic to beta.

Cloud SQL

  • Promoted server-level --collation flag of gcloud sql instances create to GA.

Cloud Storage

  • Updated gsutil component to 4.52.

Compute Engine

  • Promoted --rollout-mode, --rollout-disruption-budget, and --rollout-disruption-budget-percent flags of gcloud compute os-config patch-jobs execute to beta.
  • Promoted gcloud compute health-checks <create|update> grpc commands to GA.

Firebase Test Lab

  • Added --grant-permissions flag to gcloud beta firebase test android run. This flag allows you to specify if runtime permissions should be granted prior to running a test.
  • Modified the limit for --num-uniform-shards and --test-targets-for-shard to be 250 when no physical devices are selected.

Kubernetes Engine

  • Added flag --private-ipv6-access-type of gcloud container clusters create and gcloud container clusters update to beta. This flag is used to allow GKE pods to connect to Google services over a low latency, secure, IPv6 network path.
  • Promoted --release-channel of gcloud container clusters create and gcloud container clusters update to GA. This flag is used to configure the cluster release channel.

Secret Manager

  • Updated gcloud secrets create command to default to an automatic replication policy if a replication policy is not provided.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

301.0.0 (2020-07-14)

Cloud SDK

  • Prefer Python 3 for deb and rpm package installations. The Cloud SDK now prefers Python 3 for bq, gcloud, and gsutil on all installation paths. See gcloud topic startup for information on configuring the Python interpreter used by the Cloud SDK.

Anthos

  • Upgraded anthos-auth component to version 1.1.2.
  • Added ldap support to gcloud anthos auth login.

App Engine

Artifact Registry

  • Added support for CMEK repository creation with customer managed encryption key.
  • Added gcloud beta artifacts repositories describe.

Compute Engine

  • Promoted --description and --family flags of gcloud compute images update to beta.
  • Promoted --target-grpc-proxy for gcloud compute forwarding-rules <create|set-target> to GA.
  • Promoted documentation for --protocol to include GRPC for gcloud compute backend-services <create|update> to GA.
  • Promoted gcloud compute target-grpc-proxies <create|delete|describe|list> to GA.
  • Added only-scale-out mode enum value to gcloud compute instance-groups managed <set|update>-autoscaling . The only-scale-out value directly replaces and deprecates the only-up value.

Kubernetes Engine

  • Promoted NodeLocalDNS Addon to GA. Use NodeLocalDNS addons with gcloud container clusters create and gcloud container clusters update.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

300.0.0 (2020-07-08)

Breaking Changes

  • (Recommender) Modified headers in output of gcloud recommender recommendations list.
    • Renamed ID to RECOMMENDATION_ID and STATE to RECOMMENDATION_STATE.
  • (Recommender) Modified headers in output of gcloud recommender insights list.
    • Renamed ID to INSIGHT_ID and STATE to INSIGHT_STATE.

Cloud Dataproc

  • Added --temp-bucket flag to gcloud dataproc clusters create and gcloud dataproc workflow-templates set-managed-cluster to allow users to configure a Cloud Storage bucket that stores ephemeral cluster and jobs data, such as Spark and MapReduce history files.

Cloud SQL

  • Promoted --enable-point-in-time-recovery flag of gcloud sql instances create and gcloud sql instances patch to GA.
  • Promoted --point-in-time flag of gcloud sql instances clone to GA.

Compute Engine

  • Promoted --source-disk flag of gcloud compute disks create to GA.

Kpt

  • Updated kpt from v0.24.0 to v0.30.1.
  • Updated import of cli-utils from v0.8.0 to v0.15.0.
  • Updated import of kyaml from v0.1.8 to v0.3.1.
  • Updated import of cmd/config from v0.1.7 to v0.3.0.

Kubernetes Engine

  • Added --system-config-from-file flag to gcloud beta container clusters create, gcloud beta container node-pools create, and gcloud beta container node-pools update to configure kubelet and Linux configuration settings on nodes.

Recommender

  • Promoted gcloud recommender insights to GA.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

299.0.0 (2020-06-30)

Cloud SDK

Anthos

  • Added gcloud anthos create-login-config command to GA.

Cloud Asset Inventory

  • Promoted Cloud assets search commands gcloud asset search-all-resources and gcloud asset search-all-iam-policies to GA.

Cloud Data Catalog

  • Added possibility to rename enum values using gcloud data-catalog tag-templates fields enum-values rename.

Cloud Dataproc

  • Promoted --enable-component-gateway flag of gcloud dataproc clusters create and gcloud dataproc workflow-templates set-managed-cluster to GA.

Cloud Run

  • Updated --service-account flag to accept a Kubernetes service account for --platform=gke and --platform=kubernetes.

Compute Engine

  • Added --interface flag to gcloud beta compute disks create.
  • Removed interface key from --disk key of gcloud beta compute instances create.
  • Promoted gcloud compute security-policies list-preconfigured-expression-sets to GA.
  • Promote --condition flag to GA for the following commands:
    • gcloud compute disks add-iam-policy-binding
    • gcloud compute disks remove-iam-policy-binding
    • gcloud compute instance-templates add-iam-policy-binding
    • gcloud compute instance-templates remove-iam-policy-binding.
  • Added --service-proxy and '--service-proxy-labels' flags to gcloud beta compute instance-templates create to populate the fields in Instance Template required to automatically deploy and configure the service proxy and service-proxy-agent.
  • Added --chain-name flag gcloud beta compute disks snapshot.
  • Promoted Regional Network Endpoint Groups to beta.

Kubernetes Engine

  • Promoted NodeLocalDNS Addon to GA. Use NodeLocalDNS addons with gcloud container clusters create and gcloud container clusters update.

VPC Access

  • Added --vpc-connector flag to gcloud run deploy and gcloud run services update which allows cloud run services to connect to a VPC Connector.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

298.0.0 (2020-06-23)

Breaking Changes

  • (Cloud Data Catalog) Removed add-enum-values flag from gcloud data-catalog tag-templates fields update.

Cloud SDK

  • Changed the bq and gcloud command-line tools to prefer Python 3 for component-based Cloud SDK installs on Unix. See gcloud topic startup for information on configuring the Python interpreter used by the Cloud SDK.

AI Platform

  • Added --network flag to gcloud ml-engine jobs submit training and gcloud ai-platform jobs submit training.

App Engine

  • Added an optional --appyaml flag to change the app.yaml file location for an application.

Cloud Data Catalog

  • Added enum-values flag in gcloud data-catalog tag-templates fields update.

Compute Engine

  • Promote --condition flag for

    • gcloud compute disks add-iam-policy-binding
    • gcloud compute disks remove-iam-policy-binding to GA.
  • Promote --condition flag for

    • gcloud compute reservations add-iam-policy-binding
    • gcloud compute reservations remove-iam-policy-binding to GA.

Secret Manager

  • Updated the following beta commands to better support IAM Conditions:
    • gcloud beta secrets get-iam-policy outputs conditions associated with each binding.
    • gcloud beta secrets set-iam-policy accepts policies with conditional bindings.
    • gcloud beta secrets <add|remove>-iam-policy-binding accepts conditional bindings.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

297.0.1 (2020-06-17)

297.0.0 (2020-06-16)

Anthos

  • Added support for preferred authentication methods to anthos auth login command.

BigQuery

  • Added support for splitting/merging capacity commitments.
  • Added support for autoscale based on reservations.
  • Fixed CLI json.loads error for Python 3.5.

Compute Engine

  • Added --preemptible flag to gcloud compute instances set-scheduling.
  • Promoted --multi-writer flag of gcloud compute disks create to beta.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

296.0.1 (2020-06-10)

Anthos

  • Fixed blocking bug in anthos auth login command.

296.0.0 (2020-06-09)

Cloud SDK

  • Updated bundled Python executable to 3.7.5.

Cloud Composer

  • Fixed a bug that causes backfill subcommand of gcloud composer environments run to be stuck indefinitely.
  • Updated gcloud composer environments run command to prefer GKE pods with 'Ready: true' condition state.

Cloud Filestore

  • Updated gcloud beta filestore instances create and gcloud beta filestore instances update to include:
    • Added HIGH_SCALE_SSD, BASIC_HDD and BASIC_SSD tiers.
    • Added nfs-export-options to --file-share flag.
    • Support for NfsExportOptions. Run gcloud filestore --help or visit https://cloud.google.com/filestore/docs/ to learn more.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.11.4
    • Fixes bug for evaluating rules in query listening.
    • Fixes support for ?show_missing in listing collection.

Cloud Resource Manager

  • Promoted gcloud projects create to beta.

Cloud Run

  • Modified --vpc-connector and --clear-vpc-connector flags to be applicable for --platform=managed only.
  • Added --format export option to gcloud run services describe and gcloud run revisions describe, to output resources without deployment-specific metadata or status information.

Compute Engine

  • Replaced coreos-cloud with fedora-coreos-cloud in the list of public image projects for --standard-images flag of gcloud compute images list.
  • Promoted gcloud compute commitments create-license to beta.
  • Added flag --instance-update-minimal-action flag to gcloud beta compute instance-groups managed instance-configs <create|update|delete>.

Kubernetes Engine

  • Added --master-logs and '--enable-master-metrics' flags to gcloud beta container clusters to enable sending master logs and metrics to Cloud Operations (fka Stackdriver).

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

295.0.0 (2020-06-02)

Anthos

  • Added gcloud anthos apply command to beta. This command declaratively applies Config Connector resource configurations.
  • Added gcloud anthos export command to beta. This command exports Config Connector resource configurations of existing Google Kubernetes Engine clusters.

Cloud Memorystore

  • Enabled support for Redis version 5.0. Added redis_5_0 as a new option for --redis_version flag of gcloud redis instances create.
  • Added gcloud redis instances upgrade to upgrade a Memorystore Redis instance to a specified Redis version.

Cloud Pub/Sub

  • Rename --filter flag of gcloud pubsub subscriptions create to --message-filter. This is done to avoid confusion with --filter flag of https://cloud.google.com/sdk/gcloud/reference/topic/filters.
  • Promoted --message-filter flag of gcloud pubsub subscriptions create to beta. This feature allows users to specify a filter expression on a Cloud Pub/Sub subscription which will automatically drop messages.

Compute Engine

  • Promoted gcloud compute instance-groups managed describe-instance to beta.
  • Added --accelerator flag to gcloud beta compute instances create-with-container.
  • Promoted --private-ipv6-google-access-type flag of gcloud compute instances <create|create-with-container> to GA.
  • Promoted --private-ipv6-google-access-type flag of gcloud compute instance-templates <create|create-with-container> to GA.
  • Promoted --private-ipv6-google-access-type flag of gcloud compute networks subnets <create|update> to GA.
  • Added --interface flag to gcloud beta compute disks create.
  • Added --interface flag to gcloud beta compute instances attach-disk.
  • Added interface key to --disk key of gcloud beta compute instances create.

Game Servers

  • Added --description to gcloud <alpha|beta> game servers <clusters/realms/deployments> update to allow updating description for resources.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

294.0.0 (2020-05-27)

Breaking Changes

  • (Secret Manager) Modified gcloud secrets beta command group to use the Secret Manager v1 API. The --uri flag now formats output to begin with https://secretmanager.googleapis.com/v1/ instead of https://secretmanager.googleapis.com/v1beta1/ when used with the following commands:
    • gcloud beta secrets list
    • gcloud beta locations list
    • gcloud beta secrets versions list

AI Platform

  • Added --kms-key to gcloud <alpha|beta> ai-platform jobs submit training to allow specifying a customer-managed encryption key for a training job.

Cloud Pub/Sub

  • Promoted configurable retry-related flags in gcloud pubsub subscriptions create and gcloud pubsub subscriptions update to GA.

Cloud Run

  • Change gcloud run services get-iam-policy, gcloud run services set-iam-policy, gcloud run services add-iam-policy-binding, and gcloud run services remove-iam-policy-binding to use the v1 api.

Cloud Storage

  • Updated gsutil component to 4.51.

Cloud Tasks

  • Promoted gcloud tasks queues create-pull-queue to beta.

Compute Engine

  • Changed default action from RESTART to REPLACE for --update-instance flag of gcloud compute instance-groups managed instance-configs create|update.
  • Promoted --maintenance-policy of gcloud compute sole-tenancy node-groups create to GA.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

293.0.0 (2020-05-19)

App Engine

Cloud SQL

  • Promoted Postgres 12 to GA.

Compute Engine

  • Promoted gcloud compute instance-groups managed list-errors to GA.
  • Added gcloud beta compute instances get-screenshot command to beta.

Firebase Test Lab

  • Promoted --additional-apks, --other-files, --network-profile, and --robo-script flags of gcloud firebase test android run to GA.

Kubernetes Engine

  • Promoted --disable-default-snat flag of gcloud container clusters <create|update> to beta.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

292.0.0 (2020-05-12)

Breaking Changes

  • (Cloud SDK) Modified gcloud auth application-default login to add a quota project by default. Use --disable-quota-project to skip setting the quota project.
  • (Cloud SDK) Modified gcloud auth application-default login and gcloud auth application-default set-quota-project so that a quota project is added to the application default credentials only when the credentials have the permission to bill the project.

Cloud SDK

App Engine Flexible Environment

  • Fixed issue where CloudBuild timeout value without 's' suffix was rejected sometimes.

Cloud DNS

  • Promoted Non-RFC 1918 Cloud DNS features to GA.

Cloud Dataproc

  • Fixed bug in gcloud dataproc clusters list where Google Kubernetes Engine-based clusters are listed with PLATFORM as GCE when accessed by the GA command.

Cloud Key Management Service

  • Promoted --condition flag to GA for the following commands:
    • gcloud kms keyrings add-iam-policy-binding
    • gcloud kms keyrings remove-iam-policy-binding
    • gcloud kms keys add-iam-policy-binding
    • gcloud kms keys remove-iam-policy-binding

Compute Engine

  • Added import and export commands to gcloud compute <target-http-proxies|target-https-proxies>.
  • Promoted --private-ipv6-google-access-type flag of gcloud compute instances <create|create-with-container> to beta.
  • Promoted --private-ipv6-google-access-type flag of gcloud compute instance-templates <create|create-with-container> to beta.
  • Promoted --autoscaler-mode, --min-nodes, and --max-nodes flags of command gcloud compute sole-tenancy node-groups create to GA.

Kubernetes Engine

  • gcloud container now respects compute/region property.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

291.0.0 (2020-05-05)

AI Platform

  • Added --config to gcloud beta ai-platform versions update and gcloud beta ai-platform versions update to allow specifying manual and auto-scaling parameters.

App Engine

BigQuery

  • Enabled purchasing capacity commitments through the BQCLI.
  • Added support for passing empty array parameters.
  • Fixed issues with handling of YAML parse errors.
  • Fixed vulnerabilities related to pre-packaged dependencies.

Cloud Access Context Manager

  • Promoted gcloud access-context-manager perimeters dry-run command group to GA.
  • Added the following flags to gcloud access-context-manager perimeters create:
    • --enable-vpc-accessible-services
    • --vpc-allowed-services
  • Added the following flags to gcloud access-context-manager perimeters update:
    • --enable-vpc-accessible-services
    • --add-vpc-allowed-services
    • --clear-vpc-allowed-services
    • --remove-vpc-allowed-services

Cloud Dataproc

  • Added --secondary-worker-type to gcloud dataproc clusters create and gcloud dataproc workflow-templates set-managed-cluster commands. This adds the ability to create a cluster with secondary workers that are non-preemptible. If unspecified, secondary workers continue to be preemptible by default.

Cloud Functions

  • gcloud functions logs read now understands log entries with JSON payloads.

Cloud Healthcare

  • Promoted gcloud healthcare command group to GA.
  • This release includes some major changes that are different from beta.
    • FHIR store creation requires a version in GA, or the request will fail.
    • HL7V2 stores can now have multiple Pub/Sub topics, corresponding API is changed to accomplish that.

Cloud IAM

  • Promoted --condition flag to GA for gcloud iam service-account <add|remove>-iam-policy-binding.

Cloud Resource Manager

  • Promoted --condition flag to GA for the following commands:
    • gcloud projects <add|remove>-iam-policy-binding
    • gcloud organizations <add|remove>-iam-policy-binding
    • gcloud resources-manager folders <add|remove>-iam-policy-binding

Cloud Run

  • Promoted --min-instances, --no-traffic, --use-http2, --clear-config-maps, --set-config-maps, --remove-config-map, --update-config-map, --clear-secrets, --set-secrets, --remove-secrets, --update-secrets flags of gcloud run services update to beta.
  • Changed default output format of gcloud run revisions describe to be more human-readable. For yaml output, use --format=yaml.

Cloud Services

  • Promoted gcloud services vpc-peerings enable-vpc-service-controls to beta.
  • Promoted gcloud services vpc-peerings disable-vpc-service-controls to beta.

Cloud Storage

  • Updated gsutil component to 4.50.

Compute Engine

  • Promoted --export-subnet-routes-with-public-ip and --import-subnet-routes-with-public-ip flags of gcloud compute networks peerings create and gcloud compute networks peerings update to beta and GA.
  • Promoted --domains flag of gcloud compute ssl-certificates create to GA.
  • Promoted suspend and resume commands of gcloud compute instances command group to beta.

Firebase Test Lab

  • Added --testing-special-entitlements flag to gcloud beta firebase test ios run. This flag allows you to test iOS app entitlements by re-signing the app with a new and explicit application-identifier.

Kpt

  • Updated kpt from v0.17.0 to v0.24.0.
  • Updated import of cli-utils from v0.6.0 to v0.8.0.
  • Updated import of kyaml from v0.1.4 to v0.1.8.
  • Updated import of cmd/config from v0.1.4 to v0.1.7.

Kubernetes Engine

  • Updates kubectl to change default version of kubectl from 1.14 to 1.15.
  • Additional kubectl versions:
    • kubectl.1.14 (1.14.10)
    • kubectl.1.15 (1.15.11)
    • kubectl.1.16 (1.16.9)
    • kubectl.1.17 (1.17.5)
  • Promoted --autoprovisioning-max-surge-upgrade, --autoprovisioning-max-unavailable-upgrade, --enable-autoprovisioning-autoupgrade, --enable-autoprovisioning-autorepair flags of gcloud container clusters create and gcloud container clusters update to GA.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

290.0.1 (2020-04-27)

Compute Engine

  • Promoted --domains flag of gcloud compute ssl-certificates create to GA.

290.0.0 (2020-04-22)

Cloud Dataflow

  • Promoted gcloud dataflow sql query command to GA.

Cloud Dataproc

  • Updated --image flag to accept image family URIs.
  • Fixed a bug where managed clusters added to workflow templates did not correctly respect --enable-component-gateway.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.11.3
    • Fix rolling back an already failed transaction.
    • Fix gRPC issue on large rules coverage reports.

Compute Engine

  • Changed the default value of --image-family flag to debian-10 for gcloud compute instances create and gcloud compute instance-templates create commands.
  • Added PRIVATE_SERVICE_CONNECT as a type of global address reservation.
  • Added --target-bundle option in gcloud compute forwarding-rules create.

Kubernetes Engine

  • Promoted the GKE ConfigConnector add-on of gcloud container clusters create and gcloud container clusters update to beta. This add-on is disabled by default.
    • Use --addons=ConfigConnector to enable the add-on during cluster creation.
    • Use --update-addons=ConfigConnector=ENABLED|DISABLED to enable/disable the add-on for existing GKE clusters.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

289.0.0 (2020-04-14)

App Engine

Cloud Access Context Manager

  • Added --custom-level-spec argument to enable custom access level definition to the following commands:
    • gcloud access-context-manager levels create
    • gcloud access-context-manager levels update
  • Added gcloud beta access-context-manager perimeters dry-run enforce command for enforcing the dry-run configurations for individual Service Perimeters.
  • Promoted gcloud access-context-manager levels replace-all and gcloud access-context-manager perimeters replace-all commands to GA.
  • Added gcloud beta access-context-manager perimeters dry-run enforce command for enforcing the dry-run configurations for individual Service Perimeters.

Cloud Dataproc

  • Fixed bug where the GKE cluster name is also displayed in the zone column when listing GKE-based Dataproc clusters.

Cloud Memorystore

  • Added new redis_5_0 redis-version value to gcloud redis instances upgrade.

Cloud Run

  • Promoted the Knative API version used from v1alpha1 to v1 on all gcloud beta run and gcloud run commands for --platform=gke and --platform=kubernetes.

Compute Engine

  • Promoted gcloud compute instances add-resource-policies command to GA.

Kubernetes Engine

  • Promoted the following flags to GA for gcloud container binauthz attestors public-keys add:
    • --pkix-public-key-file
    • --pkix-public-key-algorithm
    • --keyversion
    • --public-key-id-override

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

288.0.0 (2020-04-07)

Breaking Changes

  • (Secret Manager) Removed newline from the end of the output of gcloud secrets versions access command.

AI Platform

  • Added support for --region flag for gcloud beta ai-platform.

Cloud Access Context Manager

  • Renamed gcloud beta access-context-manager perimeters dry-run reset as gcloud beta access-context-manager perimeters dry-run drop.

Cloud Composer

  • Added the following flags to gcloud composer environments create to handle IP aliasing:

    • --enable-ip-alias
    • --cluster-ipv4-cidr
    • --services-ipv4-cidr
    • --cluster-secondary-range-name
    • --services-secondary-range-name
  • Added the following flags to gcloud composer environments create to handle Private IP:

    • --enable-private-environment
    • --enable-private-endpoint
    • --master-ipv4-cidr
  • Added the following flags to gcloud composer environments create to handle Private IP:

    • --web-server-ipv4-cidr
    • --cloud-sql-ipv4-cidr
  • Fixed a bug that could cause flags passed to gcloud composer environments run to be interpreted incorrectly.

Cloud Dataflow

  • Added gcloud beta dataflow snapshots command group which provides the ability to create and manage Cloud Dataflow snapshots.

Cloud Dataproc

  • Fixed bug where the default project was not automatically used as the GKE cluster project for GKE-based Dataproc clusters.
  • Changed the default value for --timeout in gcloud dataproc clusters update from 3h to 25h. This prevents client-side timeouts during long graceful decommissioning operations.

Cloud Run

  • Promoted --no-traffic flag of gcloud run deploy to GA for --platform=managed.

Compute Engine

  • Promoted --scale-in-control flag of gcloud compute instance-groups managed set-autoscaling to beta.
  • Promoted --scale-in-control and --clear-scale-in-control flags of gcloud compute instance-groups managed update-autoscaling to beta.
  • Added support of tabular display format of command gcloud compute networks get-effective-firewalls and gcloud compute instances network-interfaces get-effective-firewalls.

Kpt

  • Updated kpt from v0.14.0 to v0.17.0.
  • Updated import of cli-utils from v0.5.0 to v0.6.0.
  • Updated import of kyaml from v0.1.3 to v0.1.4.
  • Updated import of cmd/config from v0.1.3 to v0.1.4.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

287.0.0 (2020-04-01)

App Engine

BigQuery

  • Added support to update capacity_commitment plan and renewal_plan.
  • Modified DTS CreateTransferConfig and UpdateTransferConfig CLI to accept a version_info instead of an authorization_code.
  • Added support for ROW ACCESS POLICY DDL statements.
  • Fixed a bug with None auth_info in UpdateTransferConfig.

Cloud Access Context Manager

  • Added the following flags to gcloud beta access-context-manager perimeters create:
    • --enable-vpc-accessible-services
    • --vpc-allowed-services
  • Added the following flags to gcloud beta access-context-manager perimeters update:
    • --enable-vpc-accessible-services
    • --add-vpc-allowed-services
    • --clear-vpc-allowed-services
    • --remove-vpc-allowed-services

Cloud Asset Inventory

  • Support org-policy and access-policy in the real-time feed API.

Cloud Composer

  • Added the following flags to gcloud beta composer environments commands to specify IP ranges for Web Server and Cloud SQL network subranges:
    • --web-server-ipv4-cidr
    • --cloud-sql-ipv4-cidr
  • Require explicitly specifying web server access control when using --enable-private-environment in gcloud beta composer environments create.

Cloud Dataproc

  • Promoted gcloud dataproc jobs submit presto command group to GA.

Cloud Machine Learning Engine

  • Added --json-request flag to gcloud ml-engine predict and gcloud ml-engine local predict to improve the UX by matching the input format to that used in actual requests.

Cloud Spanner Emulator

  • Added gcloud beta emulators spanner command group which allows starting a Cloud Spanner emulator for local development and unit testing.

Cloud Storage

  • Updated gsutil component to 4.49.

Compute Engine

  • Promoted centos-8, opensuse-15, rhel-8, rhel-8-byol, sles-12-byol, and sles-15-byol options of --os flag for gcloud compute images import and gcloud compute instances import to GA.
  • Promoted --resource-policies flag of gcloud compute instances create to GA.
  • Promoted --logging-filter-expr and --logging-metadata-fields flags of gcloud compute networks subnets create and gcloud compute networks subnets update to GA.
  • Promoted --platform-key-file, --key-exchange-key-file, --signature-database-file, and --forbidden-database-file flags of gcloud compute images create command to GA.
  • Updated "list-rules" command of Organization Firewalls to add more fields.

Stackdriver Monitoring

  • Promote gcloud monitoring dashboards command group to GA.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

286.0.0 (2020-03-24)

Breaking Changes

  • (Compute Engine) Removed SECURE_BOOT from list of guest OS features.

Cloud SDK

  • Fixed issue where special characters in quoted arguments on Windows were not being escaped properly. For example, a command invocation such as: gcloud compute ssh my-vm --zone=us-central1-c --command="echo 1 && echo 2" would fail with "unrecognized arguments: 1".

Anthos

  • Added gcloud anthos auth login command to GA. This command enables authentication of Anthos clusters through a command line interface, given an on-prem identity provider (IDP) is configured in an Anthos Kubernetes cluster environment.

App Engine

Cloud Access Context Manager

  • Added gcloud beta access-context-manager perimeters dry-run command group for management of dry-run configurations for Service Perimeters.

Cloud Dataflow

  • Added --worker-region and --worker-zone parameters to gcloud dataflow jobs run.
  • Added deprecation notice for --zone parameter to gcloud dataflow jobs run.
  • Added --num-workers, --worker-machine-type, --network, --subnetwork, and --dataflow-kms-key parameters to gcloud beta dataflow sql query.
  • Promoted --num-workers, --worker-machine-type, --network, and --subnetwork parameters to GA in gcloud dataflow jobs run.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.11.1
    • Allow service account tokens in Firestore Emulator.
    • ListCollectionIds now correctly omits empty collections.
    • The first request now correctly interacts with seed data.

Cloud Key Management Service

  • Promoted changes related to external keys in gcloud kms locations list, gcloud kms keys create, gcloud kms keys versions create, gcloud kms keys versions update to GA.

Cloud Memorystore

  • Enabled support for Redis version 5.0 (beta). Added redis_5_0 as a new option for --redis_version flag when using gcloud beta redis instances create.
  • Enabled support for Redis version 5.0 (beta) stream node configurations. Added stream-node-max-bytes and stream-node-max-entries as new options for --redis-config flag when using gcloud beta redis instances create.
  • Enabled support for stream-node-max-bytes and stream-node-max-entries for --update-redis-config flag when using gcloud beta redis instances update.

Cloud Run

  • Changed the default output format for gcloud run services describe. Moved the service URL from its own line to next to the traffic section heading.
  • Changed the default output format for gcloud run services update-traffic to use the same format as the traffic section of the output of gcloud run services describe. To restore the previous output format, specify --format="table(displayPercent:label=TRAFFIC,displayRevisionId:label=REVISION)".
  • Promoted --min-instances, --no-traffic, --use-http2, --clear-config-maps, --set-config-maps, --remove-config-map, --update-config-map, --clear-secrets, --set-secrets, --remove-secrets, --update-secrets flags of gcloud run deploy to beta and GA for --platform=gke and --platform=kubernetes only.

Cloud SQL

  • Promoted Postgres 10 to GA.
  • Added support for specifying backup locations.

Cloud Spanner

  • Added gcloud spanner backups surface.
  • Added gcloud spanner databases restore.
  • Updated gcloud spanner operations for backup and restore operations, and ability to filter by operation type.
  • Added optimizer version to the query plan (PROFILE) output of gcloud spanner databases execute-sql.

Cloud Tasks

  • Promoted --log-sampling-ratio and --clear-log-sampling-ratio to GA.

Compute Engine

  • Promoted --replacement-method of gcloud compute instance-groups managed rolling-action restart to GA.
  • Promoted --[no-]enable-logging flag of gcloud compute health-checks command group to beta.
  • Added cpu-overcommit-type flag to gcloud beta compute sole-tenancy node-templates create.
  • Promoted gcloud compute org-security-policies command group to beta.
  • Promoted gcloud compute networks get-effective-firewalls command to beta.
  • Promoted gcloud compute instances network-interfaces get-effective-firewalls command to beta.
  • Promoted gcloud compute instance-groups managed update-instance to GA.
  • Promoted --failover-ratio, --drop-traffic-if-unhealthy, and --connection-drain-on-failover flags of gcloud compute backend-services create and gcloud compute backend-services update to GA.
  • Promoted --failover flag of gcloud compute backend-services add-backend and gcloud compute backend-services update-backend to GA.
  • Promoted global scope of gcloud compute network-endpoint-groups command group in global to GA.
  • Promoted --global-network-endpoint-group flag of gcloud compute backend-services to GA.

Kpt

  • Updated kpt from v0.12.0 to v0.14.0.
  • Updated import of cli-utils from v0.4.0 to v0.5.0.

Kubernetes Engine

  • Added --release-channel flag to gcloud beta container clusters update for subscribing an existing cluster to a release channel or removing a cluster from a release channel.

Service Directory

  • Promoted gcloud service-directory locations to beta.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

285.0.1 (2020-03-18)

  • Resolved issue that caused spurious post installation errors in 285.0.0.

285.0.0 (2020-03-17)

Breaking Changes

  • (Cloud Dataproc) Deprecated the following flag in gcloud dataproc clusters update command:
    • --num-preemptible-workers

AI Platform

  • Modified ai-platform models set-iam-policy to accept a model resource arg.
  • Modified ai-platform models get-iam-policy to accept a model resource arg.

Artifact Registry

  • Promoted gcloud artifacts to beta.

Cloud Access Context Manager

  • Added --custom-level-spec argument to enable custom access level definition to the following commands:
    • gcloud access-context-manager levels create
    • gcloud access-context-manager levels update

Cloud Build

  • Reset ownership to root when creating workspace snapshot.

Cloud DNS

  • Promoted gcloud dns managed-zones to beta.
  • Added --service-directory-namespace to gcloud beta dns managed-zones create to support providing a Service Directory namespace that should be associated with the zone.

Cloud Data Catalog

  • Modified gcloud data-catalog entries <create|update> to support user specified types.

Cloud Dataproc

  • Added the following flag to gcloud dataproc clusters update command:
    • --num-secondary-workers
  • Added --gke-cluster and --gke-cluster-namespace flags to gcloud beta dataproc clusters create to allow creation of GKE-based Dataproc clusters.

Cloud Identity-Aware Proxy

  • Promoted gcloud iap settings command group to GA.

Cloud Memorystore

  • Added gcloud beta memcache which manages Cloud Memorystore Memcached resources.

Cloud Run

  • Modified --args and --command flags of gcloud run services update, gcloud run deploy, gcloud beta run services update, and gcloud beta run deploy to support repeated usages on a single command invocation.

Compute Engine

  • Added cpu-overcommit-type flag to gcloud beta compute sole-tenancy node-templates create.
  • Promoted gcloud compute resource-policies create group-placement command to GA.
  • Promoted gcloud compute os-config patch-jobs command group to GA.
  • Promoted gcloud compute os-config patch-deployments command group to GA.

Identity Groups

  • Added gcloud beta identity groups preview to retrieve a list of users in a customer account using CEL query.
  • Added --dynamic-user-query to gcloud beta identity groups create.

Kpt

  • Updated kpt from v0.9.0 to v0.11.0.
  • Updated import of cli-utils from v0.2.0 to v0.3.0.

Kubernetes Engine

  • Added --enable-logging-monitoring-system-only flag to gcloud container clusters create and gcloud container clusters update to enable Stackdriver system-only logging and monitoring.

Network Management

  • Modified gcloud beta network-management connectivity-tests create to verify that at least one source and one destination are specified.
  • Modified gcloud beta network-management connectivity-tests create and gcloud beta network-management connectivity-tests update to verify that instance and network formats are valid.
  • Added the following optional flags to gcloud beta network-management connectivity-tests update:
    • --clear-source-instance
    • --clear-source-ip-address
    • --clear-destination-instance
    • --clear-destination-ip-address
  • Promoted gcloud network-management command group to GA.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

284.0.0 (2020-03-10)

Breaking Changes

  • (Cloud Dataproc) Deprecated the following flags in gcloud dataproc clusters create and
  • (Cloud Dataproc) gcloud dataproc workflow-templates set-managed-cluster commands:
    • --num-preemptible-workers
    • --num-preemptible-worker-local-ssds
    • --preemptible-worker-boot-disk-size
    • --preemptible-worker-boot-disk-type
    • --preemptible-worker-accelerator
  • (Kubernetes Engine) Promoted Workload Identity flags to GA:
    • Promoted --disable-workload-identity of gcloud beta container clusters update.
    • Renamed --identity-namespace of gcloud beta container clusters to --workload-pool.
    • Changed the choices of --workload-metadata-from-node of gcloud beta container node-pools to ["GCE_METADATA", "GKE_METADATA"].
  • (Kubernetes Engine) Removed "UNSPECIFIED" from the choices of --workload-metadata-from-node of gcloud beta container node-pools.

App Engine Flexible Environment

  • Removed the deprecated flag --use-container-optimized-os from gcloud beta app update. Starting 2020-02-17, Container-Optimized OS is the default VM image type of App Engine Flex deployments and can not be changed.

Cloud Access Context Manager

  • Added the 'etag' field to gcloud access-context-manager policies list.

Cloud Data Catalog

  • Promoted gcloud data-catalog command group to GA.
  • Added gcloud data-catalog entry-groups list to help list all entry groups in a Cloud Data Catalog location.

Cloud Dataflow

  • Added flex-template build command gcloud beta dataflow flex-template build.

Cloud Dataproc

  • Added the following flags to gcloud dataproc clusters create and gcloud dataproc workflow-templates set-managed-cluster commands:
    • --num-secondary-workers
    • --num-secondary-worker-local-ssds
    • --secondary-worker-boot-disk-size
    • --secondary-worker-boot-disk-type
    • --secondary-worker-accelerator

Compute Engine

  • Added centos-8, rhel-8, and rhel-8-byol options for --os flag to gcloud beta compute images import and gcloud beta compute instances import.

Kpt

  • Updated kpt from v0.7.0 to v0.9.0.
  • Added kpt live init command to existing kpt live commands.
  • Updated import of cli-utils from v0.1.3 to v0.2.0.

Kubernetes Engine

  • Added --enable-tpu and --tpu-ipv4-cidr flags to gcloud container clusters update to support enabling/disabling Cloud TPU on existing clusters.

Service Directory

  • Promoted gcloud service-directory namespaces to beta. Added command to create/delete/describe/list/update namespaces.
  • Promoted gcloud service-directory services to beta. Added command to create/delete/describe/list/resolve/update/add-iam-policy-binding/get-iam-policy/set-iam-policy/remove-iam-policy-binding.
  • Promoted gcloud service-directory endpoints to beta. Added command to create/delete/describe/list/update/add-iam-policy-binding/get-iam-policy/set-iam-policy/remove-iam-policy-binding.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

283.0.0 (2020-03-03)

Cloud Dataflow

  • Added gcloud beta dataflow sql query command.
  • Removed --flex-template flag support from gcloud beta dataflow jobs run.
  • Added flex-template command gcloud beta dataflow flex-template run.

Cloud Run

  • Fixed error handling when Cloud Run for Anthos fails with an HTTP error.

Cloud Storage

  • Updated gsutil component to 4.48.

Compute Engine

  • Added field 'PRESERVED_STATE' to the output of gcloud beta compute instance-groups managed list-instances.
  • Promoted --enable-logging and --logging-sample-rate flags of gcloud compute backend-services <create|update> to GA.
  • Added support for group-placement-policy without specific VM count. Spread placement policies support incremental groups size now.
  • Promoted --resource-policies flag of gcloud compute instances create to beta.
  • Added get-iam-policy and set-iam-policy commands to gcloud compute resource-policies command group.
  • Promoted export and update-from-file commands of gcloud compute instances command group to beta and GA.

Stackdriver Logging

  • Promoted the following commands to beta:
    • gcloud logging buckets list
    • gcloud logging buckets describe
    • gcloud logging buckets update

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

282.0.0 (2020-02-25)

Breaking Changes

  • (Cloud Key Management Service) Modified gcloud beta kms locations list to include EKM availability. This may disrupt automated processing of the command's output; consider using the --format flag for parsing.

BigQuery

  • Added require_hive_partition_filter support for hive partitioned tables.

Cloud Access Context Manager

  • Added replace-all command to the following command groups in beta:

    • gcloud access-context-manager levels.
    • gcloud access-context-manager perimeters.
  • replace-all is a command that is used to replace all existing levels or perimeters with the ones you provide in a valid yaml file.

Cloud Composer

  • Added the following flags to gcloud beta composer environments commands to manage Airflow web server network access control:
    • --web-server-allow-ip
    • --web-server-deny-all
    • --web-server-allow-all
    • --update-web-server-allow-ip

Cloud Dataflow

  • Added --dataflow-kms-key flag to gcloud dataflow jobs run.

Cloud Functions

  • Promoted --egress-settings and --ingress-settings flags of gcloud functions deploy to GA.

Cloud Key Management Service

  • Added EKM availability to gcloud beta kms locations list.

Cloud Memorystore

  • Added --connect-mode flag to gcloud redis instances create to specify a network connection mode when creating a new Redis instance.

Cloud SQL

  • Promoted SQL Server to GA.

Stackdriver Monitoring

  • Promoted gcloud monitoring dashboards command group to beta.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

281.0.0 (2020-02-18)

Breaking Changes

  • (Cloud SDK) Modified --update-adc in gcloud auth login to not write a quota project to the generated application default credential file. Use gcloud auth application-default login --add-quota-project or gcloud auth application-default set-quota-project to add a quota project to the generated file.

AI Platform

  • Added xrai option for --explanation-method flag to gcloud beta ai-platform versions create.

Access Approval

  • Added gcloud access-appoval surface to alpha.

App Engine

  • Added beta support for deploying the Maven project pom.xml file directly.

Cloud Asset Inventory

  • Modified the following commands such that they no longer require --scope flag:
    • gcloud beta asset search-all-iam-policies
    • gcloud beta asset search-all-resources
    • gcloud beta asset search-iam-policies
    • gcloud beta asset search-resources If scope is not specified, the default project property is used.

Cloud Bigtable

  • Added deleteallrows command to cbt command line tool, which will clear a Cloud Bigtable table.

Cloud Dataproc

  • Promoted gcloud dataproc clusters import and gcloud dataproc clusters export to GA.

Cloud IAM

  • Promoted --condition flag to beta for gcloud iam service-account <add|remove>-iam-policy-binding.

Cloud Key Management Service

  • Promoted --condition flag to beta for the following commands:
    • gcloud kms keyrings <add|remove>-iam-policy-binding
    • gcloud kms keys <add|remove>-iam-policy-binding

Cloud Resource Manager

  • Promoted --condition flag to beta for the following commands:
    • gcloud projects <add|remove>-iam-policy-binding
    • gcloud organizations <add|remove>-iam-policy-binding
    • gcloud resources-manager folders <add|remove>-iam-policy-binding

Cloud Run

  • Removed specTarget and statusTarget fields from the yaml and json output of gcloud run services update-traffic. The information nested within specTarget and statusTarget is available in the top-level latestRevision, revisionName, specPercent, and statusPercent fields of the output.

Cloud Tasks

  • Added --response-view parameter to gcloud tasks describe.

Compute Engine

  • Added sles-12-byol, sles-15-byol, and opensuse-15 options for --os flag to gcloud beta compute images import and gcloud beta compute instances import.
  • Fixed issue where gcloud compute ssh command fails with --impersonate-service-account flag.
  • Promoted --network flag of compute backend-services create to GA.
  • Promoted --condition flag to beta for the following commands:
    • gcloud compute disks <add|remove>-iam-policy-binding
    • gcloud compute images <add|remove>-iam-policy-binding
    • gcloud compute instance-templates <add|remove>-iam-policy-binding
    • gcloud compute instances <add|remove>-iam-policy-binding
    • gcloud compute reservations <add|remove>-iam-policy-binding
    • gcloud compute snapshots <add|remove>-iam-policy-binding

GKE Hub

  • Promoted gcloud container hub memberships command group to GA.
  • Deprecated gcloud beta container memberships command group.

Kubernetes Engine

  • Promoted --node-locations flags of gcloud container clusters create and gloud container clusters update to GA.
  • Added --addons=GcePersistentDiskCsiDriver to gcloud beta container clusters create and --update-addons=GcePersistentDiskCsiDriver to gcloud beta container clusters update to enable/disable the GCP Compute Persistent Disk Container Storage Interface (CSI) Driver.
  • Added kubectl version 1.17 for upcoming rapid channel release.
    • Default kubectl version 1.14.
    • Additional kubectl versions:
    • kubectl.1.13 (1.13.12)
    • kubectl.1.14 (1.14.10)
    • kubectl.1.15 (1.15.9)
    • kubectl.1.16 (1.16.6)
    • kubectl.1.17 (1.17.2)
  • Added warning for upcoming shielded nodes default behavior change.

Notebooks

  • Added notebooks surface to beta which provides access to AI Platform Notebooks.
  • Added notebooks instances command group which provides access to AI Platform Notebooks' instances.
  • Added notebooks environments command group which provides access to AI Platform Notebooks' environments.

Secret Manager

  • Promoted gcloud secrets command group to GA.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

280.0.0 (2020-02-11)

Breaking Changes

  • (Cloud SQL) Removed support for creating First Generation Cloud SQL instances.
    • Removed First Generation instance only flags: --authorized-gae-apps, --follow-gae-app, and --pricing-plan from gcloud sql create.

AI Platform

  • Added --use-chief-in-tf-config flag to the following commands:
    • gcloud beta ml-engine jobs submit training
    • gcloud ml-engine jobs submit training
    • gcloud beta ai-platform jobs submit training
    • gcloud ai-platform jobs submit training

Cloud Access Context Manager

  • Modified Access Context Manger beta commands to call the ACM v1 API instead of v1beta.

Cloud Data Catalog

  • Added gcloud beta data-catalog entries list which lists Data Catalog entries.
  • Added gcloud beta data-catalog entry-groups update which updates a Data Catalog entry group.
  • Added flags to gcloud beta data-catalog entries update for updating an entry's description, display name, and Cloud Storage file patterns.

Cloud Firestore Emulator

  • Released Cloud Firestore emulator v1.10.4
    • Added update_transform support for commit and batchWrite.
    • Send resume tokens on the Listen stream

Cloud Run

  • Added --force-override to gcloud run domain-mappings create to override an existing domain mapping.
  • Fixed a bug where --cpu flag was incorrectly disallowed with --platform=managed.

Compute Engine

  • Promoted --allow-global-access flag of gcloud compute forwarding-rules create to GA.
  • Promoted gcloud compute forwarding-rules update to GA.
  • Added HEALTH_STATE to output of gcloud compute instance-groups managed list-instances in GA.
  • Added gcloud beta compute machine-images import to enable importing OVA/OVF virtual appliances into Google machine images.

Kubernetes Engine

  • Promoted --max-surge-upgrade and --max-unavailable-upgrade flags to GA in gcloud container command group. Use these flags to specify upgrade settings parameters during cluster creation, node pool creation, or node pool update.
  • Updated kubectl to change default version of kubectl from 1.13 to 1.14.
    • Additional kubectl versions:
    • kubectl.1.13 (1.13.12)
    • kubectl.1.14 (1.14.10)
    • kubectl.1.15 (1.15.9)
    • kubectl.1.16 (1.16.6)

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

279.0.0 (2020-02-04)

Breaking Changes

  • (Cloud SDK) Modified gcloud auth application-default login to not write a quota project to the generated file. Use --add-quota-project to change this behavior.
  • (Compute Engine) Removed --priority flag from compute beta packet-mirrorings create and compute beta packet-mirrorings update.

BigQuery

  • Fixed issue where --apilog would not use the specified log file and would instead output the logs to stdout.

Cloud Dataproc

  • Deprecated default global value of gcloud dataproc --region flag.

Cloud Life Sciences

  • Added gcloud beta lifesciences locations command group to query locations where the Cloud Life Sciences API is available.

Cloud Memorystore

  • Added gcloud beta redis instances upgrade to upgrade a Memorystore Redis instance to a specified Redis version.

Cloud Run

  • Promoted --cpu to GA for all platforms.
  • Promoted gcloud run services update-traffic to GA.

Compute Engine

  • Promoted ubuntu-1804 option of --os flag for gcloud compute images import and gcloud compute instances import to GA.
  • Promoted --hostname flag of gcloud compute instances import to GA.
  • Promoted gcloud compute packet-mirrorings command group to GA.
  • Promoted --is-mirroring-collector flag of gcloud compute forwarding-rules create to GA.
  • Promoted --logging-metadata flag for gcloud compute firewall-rules create and gcloud compute firewall-rules update to beta.
  • Promoted gcloud compute network-endpoint-groups command group in global scope to beta.
  • Promoted --global-network-endpoint-group flag of gcloud compute backend-services to beta.

Kubernetes Engine

  • Promoted --enable-shielded-nodes to GA. Use this flag with gcloud container clusters create or gcloud container clusters update.

Network Management

  • Added gcloud network-management command group. This feature enable the provisioning and administering of Network Management resources.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

278.0.0 (2020-01-28)

AI Platform

  • Added --evaluator-count for local train to allow specifying the number of evaluators to run with when --distributed is set.

App Engine

Artifact Registry

  • Rolled back gcloud beta artifacts command group to alpha state.

Cloud Dataflow

  • Added --flex-template flag to gcloud beta dataflow jobs run.

Cloud Key Management Service

  • Added gcloud beta kms keys versions update to enable updating crypto key versions and the external key URIs of key versions.

Cloud Pub/Sub

  • Promoted dead letter queue-related flags in gcloud pubsub subscriptions create and gcloud pubsub subscriptions update to GA.

Compute Engine

  • Promoted permission validation in gcloud compute images import, gcloud compute images export, and gcloud compute instances import to GA.
  • Promoted gcloud compute instance-groups managed create-instance to GA.
  • Promoted gcloud compute instance-groups managed wait-until to GA.
  • Deprecated gcloud compute instance-groups managed wait-until-stable to GA; use gcloud compute instance-groups managed wait-until --stable instead.
  • Renamed --update-stateful-disk and --update-stateful-metadata of gcloud compute instance-groups managed instance-configs update to --stateful-disk and --stateful-metadata respectively.
  • Renamed --update-stateful-disk of gcloud compute instance-groups managed update to --stateful-disk.
  • Promoted gcloud compute instance-groups managed list-errors command to beta.

Firebase Test Lab

  • Removed --app-package and --test-package flags from gcloud firebase test android run; the application and test package names are parsed automatically from the APK manifest.
  • Updated --environment-variables to allow a period in the key.

Kpt

  • Published kpt binary as a new Cloud SDK component.
    • kpt may be installed with gcloud components install kpt.
    • kpt contains utilities for packaging, viewing and modifying Kubernetes configuration.
    • For more information, run kpt help.

Kubernetes Engine

  • Promoted Autoscaling Profiles to beta. Use with gcloud beta container clusters create or gcloud container clusters update: --autoscaling-profile=balanced (default) or --autoscaling-profile=optimize-utilization.
  • Promoted --sandbox flag of gcloud container node-pools create to GA. This flag enables the requested sandbox on all nodes in the node-pool.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

277.0.0 (2020-01-21)

Breaking Changes

  • (App Engine) Fixed longstanding issue where /path* in dispatch.yaml was silently converted to /path/*.
  • (Cloud Dataproc) Modified --region flag to be mandatory.
    • To use Cloud Dataproc commands, pass --region flag on every invocation, or set dataproc/region configuration variable via gcloud config set dataproc/region.

Cloud SDK

  • Added --update-adc to gcloud auth login to update the credentials in ADC at the end of authentication.
  • Promote REGISTRIES positional argument in gcloud auth configure-docker to GA.

AI Platform

  • Added Tensorflow version check for local train. For version 1.x, 'master' is used as primary node. For version 2.x, 'chief' is used as primary node.

Artifact Registry

  • Promoted gcloud artifacts to beta.
  • Following operations will be supported in beta:
    • Repository creation, deletion, and listing.
    • Printing settings for supported native tools (e.g. mvn, npm, gradle).
    • Setting and getting permission/IAM policies on repositories.
    • Listing and deleting packages inside a repository.
    • Listing and deleting versions inside a package.
    • Creating, updating, deleting, and listing tags.
    • Listing and deleting docker images or specific image digests.
    • Adding, listing, and deleting docker image tags.
    • Listing Artifact Registry supported locations.

Cloud Machine Learning Engine

  • Added Tensorflow version check for local train. For version 1.x, 'master' is used as primary node. For version 2.x, 'chief' is used as primary node.

Compute Engine

  • Added --hostname to gcloud beta compute instances import.
  • Promoted --instance-redistribution-type flag of compute instance-groups managed create to GA.
  • Promoted --instance-redistribution-type flag of compute instance-groups managed update to GA.
  • Promoted gcloud compute diagnose export-logs to beta.
  • Promoted --replacement-mode flag of command gcloud compute instance-groups managed rolling-action start-update and gcloud compute instance-groups managed rolling-action replace to beta.

Kubernetes Engine

  • Increased default Operation timeout in gcloud container clusters command group to 1 hour.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

276.0.0 (2020-01-14)

Breaking Changes

  • (Cloud Dataproc) Modified gcloud beta clusters create command replacing --reservation-label with --reservation which accepts the name of the reservation when --reservation-affinity is specific, matching gcloud compute instances create.

Cloud SDK

  • Modified gcloud auth configure-docker to take a --registries flag.
    • Use this flag to provide a comma-separated list of registries to add to the Docker credential configuration. If the flag is not set, the command adds all gcr.io registries.
    • Changes to the docker credential configuration are now merged in to the existing configuration instead of replacing all existing entries.
    • Added support for *.pkg.dev domains.

App Engine

  • Updated appengine libraries to pick up fix using now-invalid project ids with VPC connectors.
  • Fixed an issue where response headers were not usable due to python3 bytes regex use.

BigQuery

  • Fixed delimiter specification issues in Python3.
  • Fixed proxy authentication issues in Python3.

Cloud Dataproc

  • Promoted --reservation and --reservation-affinity flags of gcloud dataproc clusters create to GA.

Cloud Storage

  • Updated gsutil component to 4.47.

Compute Engine

  • Promoted --mode flag of gcloud compute instance-groups managed set-autoscaling command to GA.
  • Promoted gcloud compute instance-groups managed update-autoscaling command to GA.
  • Promoted instance-configs create, instance-configs list, instance-configs update, instance-configs delete commands to beta.

Kubernetes Engine

  • Adds kubectl version 1.16.4 for the rapid channel.
  • Additional kubectl versions:
    • kubectl.1.13 (1.13.12)
    • kubectl.1.14 (1.14.10)
    • kubectl.1.15 (1.15.7)
    • kubectl.1.16 (1.16.4)

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

275.0.0 (2020-01-07)

Breaking Changes

  • (Firebase Test Lab) Modified --other-files to allow the specification of a list of device-path=file-path instead of a list of file-path=device-directory. Additionally, the flag can no longer be specified multiple times. Use a comma-separated list to push multiple files to a device.

Cloud SDK

  • Modified gcloud auth application-default login to find a quota project from gcloud command-line tool's context and write it to the application default credentials. This allows Google client libraries to use the project for quota and billing.
  • Added gcloud auth application-default set-quota-project to update the quota project in application default credentials.
  • Fixed issue where gcloud components update and gcloud components install would crash with a UnicodeDecodeError when encountering certain network errors. The gcloud command-line tool will now correctly display the error encountered during the update or installation. This issue was reported at https://issuetracker.google.com/issues/80344082.

App Engine

Cloud Asset Inventory

  • Promoted group commands of gcloud asset feeds to GA.

Cloud DNS

  • Promoted DNS Peering to GA.

Cloud Data Catalog

  • Added flags to gcloud beta data-catalog entries update for updating an entry's description, display name, and Cloud Storage file patterns.
  • Added required field to gcloud beta data-catalog tag-templates create --field to specify whether the tag template field is required.
  • Added --required flag to gcloud beta data-catalog tag-templates fields update to specify whether the tag template field is required.
  • Removed gcloud beta data-catalog entries set-iam-policy commands.

Cloud Identity-Aware Proxy

  • Promoted gcloud iap command group to GA.

Cloud Run

  • Promoted gcloud run services replace to beta.
  • Promoted --command and --args flags for gcloud run deploy and gcloud services update to GA.
  • Promoted --port flag for gcloud run deploy and gcloud services update to GA.
  • Promoted --revision-suffix flag for gcloud run deploy and gcloud services update to GA.

Compute Engine

  • Changed gcloud compute backend-services create to make specification of health checks optional when no associated backends are specified.
  • Added --no-health-checks flag to gcloud compute backend-services update to support unsetting all health checks for the given backend service.
  • Added group-placement-policy to resource-policies creation.
  • Promoted resource-policies group-placement-policy creation to beta.
  • Updated Windows PuTTY executables to version 0.73.
  • Modified gcloud beta compute images import and gcloud beta compute instances import to validate required permissions.
  • Promoted gcloud compute networks peerings list-routes to GA.
  • Promoted --stateful-disks flag in managed instance group creation to beta.
  • Promoted --update-stateful-disks and --remove-stateful-disks flags for updating managed instance groups to beta.
  • Fixed gcloud compute instances import to support importing OVFs stored directly in Cloud Storage buckets (as opposed to stored in sub-directories).

Kubernetes Engine

  • The following flags are now available in GA on gcloud container clusters create and gcloud container clusters update:
    • --maintenance-window-start
    • --maintenance-window-end
    • --maintenance-window-recurrence
    • --add-maintenance-exclusion-name
    • --add-maintenance-exclusion-start
    • --add-maintenance-exclusion-end
    • --clear-maintenance-window
    • --remove-maintenance-exclusion

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

274.0.1 (2019-12-26)

274.0.0 (2019-12-17)

Cloud SDK

  • Cloud SDK now has GA support for Python 3. Please run gcloud topic startup for:
    • Information on configuring the Python interpreter used by the Cloud SDK.
    • List of tools in the Cloud SDK that still require a Python 2.7 interpreter.
    • List of known issues with Python 3 support.
  • For Windows installer-installed Cloud SDK version 274.0.0, if the Cloud SDK fails to run, upgrade to version 274.0.1 or higher. Refer to this tracking bug for details.

BigQuery

  • Added support for Python3.
  • Specifying unique prefixes for any flag name is no longer accepted. For example using --project instead of --project_id will throw an error. This change is a result of changing the underlying flag library from gflags to abseil-flags.
  • Added --service_account_name flag in bq mk --transfer_confg and bq update --transfer_config --update_credential to use a service account credential on transfer config or scheduled query.
  • Removed support for Reservation v1alpha2 API.

Cloud Access Context Manager

  • Fixed a bug where access-context-manager commands couldn't run without --policy specified; commands now use the default policy ID if one isn't provided.

Compute Engine

  • Added ubuntu-1804 option to --os flag of gcloud beta compute images import and gcloud beta compute instances import.
  • Promoted --target-distribution-shape flag of compute instance-groups managed create to GA.
  • Promoted --erase-windows-vss-signature flag of compute disks create to beta.
  • Promoted compute machine-images command group to beta.
  • Promoted --source-machine-image, --source-machine-image-csek-key-file, and --erase-windows-vss-signature flags of compute instances create to beta.
  • Fixed issue where gcloud compute os-login commands failed with --impersonate-service-account flag.
  • Promoted gcloud compute os-config guest-policies command group to beta.
  • Removed --description flag from gcloud beta compute os-config guest-policies create command to only allow creating a guest policy from a file.
  • Removed --description and --etag flags from gcloud beta compute os-config guest-policies update command to only allow updating a guest policy from a file.
  • Removed --organization and --folder flags from the following commands to only allow managing project-level guest policies:
    • gcloud beta compute os-config guest-policies create
    • gcloud beta compute os-config guest-policies describe
    • gcloud beta compute os-config guest-policies delete
    • gcloud beta compute os-config guest-policies update
  • Promoted --maintenance-policy flag of gcloud compute sole-tenancy node-groups create to beta.
  • Promoted --min-node-cpu flag of compute instances create to beta.
  • Added --min-node-cpu and --clear-min-node-cpu to gcloud compute instances set-scheduling beta.
  • Added --node-group, --node, --node-affinity-file, and --clear-node-affinities flags to compute instances set-scheduling beta.

Kubernetes Engine

  • Added --boot-disk-kms-key to gcloud beta container clusters create and --boot-disk-kms-key to gcloud beta container node-pools create to specify a customer managed encryption key to encrypt the node boot disks with.

Miscellaneous

  • Modified the account loader to print a warning if there is no active account, and the configuration file can not be found.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

273.0.0 (2019-12-10)

Cloud SDK

  • Fixed issue where the gcloud command-line tool would crash with a TypeError when invoked behind a proxy using a Python 3 interpreter. This issue was reported at: https://issuetracker.google.com/issues/144297388.
  • GA support for Python 3 will be announced soon. Please run gcloud topic startup for:
    • Information on configuring the Python interpreter used by the Cloud SDK.
    • List of tools in the Cloud SDK that still require a Python 2.7 interpreter.
    • List of known issues with Python 3 support.

Cloud Bigtable

Cloud Build

  • Passing empty --cache-dir flag to Kaniko to suppress log spam about "Error while retrieving image from cache".

Cloud Composer

  • Modified validation for --master-ipv4-cidr flag of gcloud beta composer environments create to verify that the IPV4 CIDR block has a mask of 28 bits size.

Cloud Dataproc

  • Promoted gcloud dataproc jobs submit spark-r command group to GA.

Cloud Datastore

  • Fixed a bug where the strings "yes", "no", "y", or "n" could not be used as field names in indexes.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.10.1
    • Fix bug where ruleCoverage.html pages were always return a 404 NOT FOUND.
  • Release Cloud Firestore emulator v1.10.2
    • Introduce support for data import and export.
    • Fix bug where rapid, repeated writes to the same document could trigger timestamp collisions.

Cloud Key Management Service

  • Promoted gcloud kms commands for external keys to beta.
  • Promoted key import commands to GA.

Cloud Memorystore

  • Promoted the following commands to GA:
    • gcloud redis instances import
    • gcloud redis instances export
    • gcloud redis operations cancel

Compute Engine

  • Promoted gcloud compute os-config patch-jobs command group to beta.
  • Added the following flags to gcloud beta compute os-config patch-jobs execute command to allow for a custom patch job name and more structured expressions for instance filters:
    • --display-name
    • --instance-filter-all
    • --instance-filter-group-labels
    • --instance-filter-zones
    • --instance-filter-names
    • --instance-filter-name-prefixes
  • Promoted gcloud compute os-config patch-deployments command group to beta.
  • Promoted gcloud compute security-policies list-preconfigured-expression-sets to beta.
  • Promoted --private-ipv6-google-access-type flag of gcloud compute networks subnets <create|update> to beta.
  • Modified gcloud compute backend-services create to accept one of --global-health-checks or --health-checks-region.
  • Modified the following commands to accept one of --global or --region flag:
    • gcloud compute ssl-certificates create
    • gcloud compute ssl-certificates delete
    • gcloud compute ssl-certificates describe
  • Updated the following commands to require either a --global or --region flag:
    • gcloud compute health-checks create http
    • gcloud compute health-checks create http2
    • gcloud compute health-checks create https
    • gcloud compute health-checks create ssl
    • gcloud compute health-checks create tcp
    • gcloud compute health-checks delete
    • gcloud compute health-checks describe
    • gcloud compute health-checks update http
    • gcloud compute health-checks update http2
    • gcloud compute health-checks update https
    • gcloud compute health-checks update ssl
    • gcloud compute health-checks update tcp
  • Modified the following commands to accept either a regional or global flag:
    • gcloud compute target-http-proxies create can accept a --region or --global flag.
    • gcloud compute target-http-proxies delete can accept a --region or --global flag.
    • gcloud compute target-http-proxies describe can accept a --region or --global flag.
    • gcloud compute target-http-proxies list can accept a --global or --regions flag.
    • gcloud compute target-http-proxies update can accept a --region or --global flag.
  • Modified the following commands to accept either a regional or global flag:
    • gcloud compute target-https-proxies create can accept a --region or --global flag.
    • gcloud compute target-https-proxies create can accept a --url-map-region or --global-url-map flag.
    • gcloud compute target-https-proxies create can accept a--ssl-certificates-regionor--global-ssl-certificates` flag.
    • gcloud compute target-https-proxies delete can accept a --region or --global flag.
    • gcloud compute target-https-proxies describe can accept a --region or --global flag.
    • gcloud compute target-https-proxies list can accept a --global or --regions flag.
    • gcloud compute target-https-proxies update can accept a --region or --global flag.
    • gcloud compute target-https-proxies update can accept a --url-map-region or --global-url-map flag.
    • gcloud compute target-https-proxies update can accept a --ssl-certificates-region or --global-ssl-certificates flag.
  • Promoted --autoscaler-mode, --min-nodes, --max-nodes flags of gcloud compute sole-tenancy node-groups <create|update> to beta.
  • Added and standardized the Windows Client BYOL names in --osflag of gcloud compute images import.
    • For 32-bit versions of Windows: Windows 7 SP1: windows-7-x86-byol Windows 8.0 and 8.1: windows-8-x86-byol Windows 10, all versions: windows-10-x86-byol
    • For 64-bit versions of Windows: Windows 7 SP1: windows-7-x64-byol (renamed, previously windows-7-byol) Windows 8.0 and 8.1: windows-8-x64-byol (renamed, previously windows-8-1-x64-byol) Windows 10, all versions: windows-10-x64-byol (renamed, previously windows-10-byol)
  • Modified the following commands to accept either a regional or global flag:
    • gcloud compute url-maps add-host-rule can accept a --global or --regions flag.
    • gcloud compute url-maps add-path-matcher can accept a --global or --regions flag.
    • gcloud compute url-maps create can accept a --global or --regions flag.
    • gcloud compute url-maps delete can accept a --global or --regions flag.
    • gcloud compute url-maps describe can accept a --global or --regions flag.
    • gcloud compute url-maps list can accept a --global or --regions flag.
    • gcloud compute url-maps remove-host-rule can accept a --global or --regions flag.
    • gcloud compute url-maps remove-path-matcher can accept a --global or --regions flag.
    • gcloud compute url-maps set-default-service can accept a --global or --regions flag.
  • Updated gcloud compute forwarding-rules create command to accept one of the following flags: --global-target-http-proxy, --target-http-proxy-region, --global-target-https-proxy, --target-https-proxy-region.

Firebase Test Lab

  • Added --num-uniform-shards and --test-targets-for-shard (mutually exclusive) flags to gcloud beta firebase test android run to run tests in parallel.

GKE Hub

  • Added support for registrations in container.

Kubernetes Engine

  • Promoted NodeLocalDNS Addon to beta. Use --addons=NodeLocalDNS with gcloud beta container clusters create. This addon can be enabled or disabled on existing clusters using --update-addons=NodeLocalDNS=ENABLED or --update-addons=NodeLocalDNS=DISABLED with gcloud container clusters update.
  • Fixed doc link of gcloud container clusters create amd gcloud container clusters update.

Miscellaneous

  • Modified gcloud projects list to apply --limit on client-side if any client-side filters were applied with --filter.

Policy Troubleshooter

  • Added gcloud policy-troubleshoot iam, which troubleshoots a member's IAM permissions on a resource.

Secret Manager

  • Promoted gcloud secrets command group to beta.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

272.0.0 (2019-11-19)

Cloud SDK

App Engine Flexible Environment

  • Modified builds to start on the server-side by default.

Cloud DNS

  • Promoted Non-RFC1918 support features to beta. Added --managed-reverse-lookup and --private-forwarding-targets params to support resolution and forwarding of Non-RFC1918 IP Addresses.

Cloud Dataproc

  • Fixed a bug where --region wasn't getting applied to gcloud dataproc jobs set-iam-policy --region and gcloud dataproc jobs get-iam-policy --region or to the polling requests of gcloud dataproc jobs wait --region and gcloud dataproc jobs kill --region, resulting in errors whenever --region was supplied and did not match the value of gcloud config get-value dataproc/region.

Cloud Pub/Sub

  • Added the following optional flags to gcloud pubsub topics update to support Cloud KMS integration:
    • --topic-encryption-key
    • --topic-encryption-key-keyring
    • --topic-encryption-key-location
    • --topic-encryption-key-project

Cloud Run

  • Promoted gcloud run to GA. All beta commands and flags have been promoted with the following exceptions:
    • gcloud run domain-mappings is limited to Cloud Run for Anthos. To use with Cloud Run (fully managed), please continue to use gcloud beta run domain-mappings.

Cloud Tasks

  • Promoted gcloud beta tasks create-http-task to GA.

Kubernetes Engine

  • Hid the following flags on gcloud container clusters create and gcloud container clusters update. The promotion to GA is delayed. Flags are temporarily hidden to avoid confusion.
    • --maintenance-window-start
    • --maintenance-window-end
    • --maintenance-window-recurrence
    • --add-maintenance-exclusion-name
    • --add-maintenance-exclusion-start
    • --add-maintenance-exclusion-end
    • --clear-maintenance-window
    • --remove-maintenance-exclusion

Stackdriver Monitoring

  • Promoted monitoring channels and monitoring channel-descriptors commands from alpha to beta.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

271.0.0 (2019-11-12)

Breaking Changes

  • (Kubernetes Engine) Enabled node auto-upgrade by default for clusters and node-pools created with gcloud container <clusters|node-pools> create. To disable manually, use --no-enable-autoupgrade flag.

App Engine

App Engine Flexible Environment

  • Deprecated --use-container-optimized-os flag of gcloud beta app update.

BigQuery

  • Updated the BigQuery CLI to handle ASSERT statements.
  • Modified JSON mode such that failed child job results aren't printed.
  • Enabled v2 API for enabling/disabling materialized view refresh.
  • Added Reservation API v1beta1 support.

Cloud Functions

  • Promoted the following commands to GA: gcloud functions add-iam-policy-binding, gcloud functions remove-iam-policy-binding, gcloud functions set-iam-policy, and gcloud functions get-iam-policy.

Cloud Run

  • Removed the ability to specify deprecated string values like "Single" to --concurrency flag in gcloud beta run deploy and gcloud beta run services update. Instead, please specify an integer value for this field or "default".
  • Changed the default describe format for services to be human-readable. To use the previous yaml describe format, pass the flag --format=yaml.

Compute Engine

  • Added --private-network-ip flag to gcloud compute instance-templates create command.
  • Added --private-network-ip flag to gcloud compute instance-templates create-with-container command.
  • Promoted gcloud compute backend-services export command to GA.
  • Promoted gcloud compute backend-services import command to GA.
  • Promoted gcloud compute forwarding-rules export command to GA.
  • Promoted gcloud compute forwarding-rules import command to GA.
  • Promoted gcloud compute url-maps export command to GA.
  • Promoted gcloud compute url-maps import command to GA.
  • Promoted --storage-location flag of gcloud compute images create and gcloud compute images import to GA.
  • Promoted gcloud compute instance-groups managed create-instance command to beta.

Kubernetes Engine

  • Promoted --enable-vertical-pod-autoscaling flag of gcloud container clusters create and gloud container clusters update to GA.
  • Added --release-channel flag to gcloud beta container clusters update for subscribing an existing cluster to a release channel or removing a cluster from a release channel.
  • Promoted Cloud Run for Anthos on Google Cloud to GA. Use --addons=CloudRun with gcloud container clusters create or --update-addons=CloudRun=ENABLED with gcloud container clusters update.
  • Promoted the GKE ApplicationManager add-on of gcloud container clusters create and gcloud container clusters update to beta. This add-on is disabled by default.
    • Use --addons=ApplicationManager to enable the add-on during cluster creation.
    • Use --update-addons=ApplicationManager=ENABLED|DISABLED to enable/disable the add-on for existing GKE clusters.
  • Promoted --shielded-secure-boot and --shielded-integrity-monitoring flags of gcloud container clusters create and gloud container clusters update to GA.

Pubsub Emulator

  • Released Cloud Pub/Sub emulator v0.1.0
    • First versioned release.
    • Build system changes.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

270.0.0 (2019-11-05)

AI Platform

  • Added --explanation-method, --num-integral-steps, and --num-paths options for gcloud <alpha|beta> ai-platform versions create.
  • Added command gcloud <alpha|beta> ai-platform explain.

App Engine

App Engine Flexible Environment

  • Fixed gcloud beta app deploy to stream to build logs to stderr instead of stdout.

Cloud Bigtable

  • Show full operation name without the implied operation and project prefix in gcloud bigtable operations list.
  • Accept full operation name or full name without the implied operation and project prefix in gcloud bigtable operations describe.

Cloud Dataflow

  • Added --disable-public-ips flag to gcloud dataflow jobs run.

Cloud Dataproc

  • Fixed gcloud dataproc workflow-templates instantiate-inline to accept cluster properties. Previously, you would have seen the error "File not found $PWD/google-cloud-sdk/latest/google-cloud-sdk/lib/googlecloudsdk/schemas/dataproc/v1/PropertiesValue.yaml".

Cloud Endpoints

  • Fixed issue where gcloud endpoints services deploy would sometimes fail due to a permissions error.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.10.0
    • Added support for seeding database from export via --seed_from_export.
    • Fixed an issue where batchGet and transactions does not work over REST.

Cloud Storage

  • Updated gsutil component to 4.46.

Compute Engine

  • Promoted --mode flag of gcloud compute instance-groups managed set-autoscaling command to beta.
  • Promoted gcloud compute instance-groups managed update-autoscaling command to beta.

Kubernetes Engine

  • Fixed issue where setting maintenance windows would overwrite all existing maintenance exclusions.
  • Fixed issue where you could not set a recurring maintenance window if a daily window was already set (and vice versa).
  • Promoted Node Auto-Provisioning to GA. Use --enable-autoprovisioning with gcloud container clusters create or gcloud container clusters update to enable this feature.
  • Added --enable-autoprovisioning to gcloud container node-pools create, gcloud beta container node-pools create, gcloud beta container node-pools update and gcloud container node-pools update.
  • Fixed cluster and node pool creation in gcloud beta container commands when using GKE versions below 1.13.6. The regression was caused by sending a NodePool API field that's version-gated (1.13.6+ only). This field is now only sent when --shielded-integrity-monitoring or --shielded-secure-boot flags are set.
  • Added --max-surge-upgrade and --max-unavailable-upgrade flags to gcloud beta container command group. Use these flags to specify surge upgrade parameters for cluster creation, node pool creation, or node pool update.
    • Surge upgrade is enabled by default (--max-surge-upgrade=1) for clusters and node pools created with gcloud beta container commands.
  • Promoted the following flags to GA on gcloud container clusters create and gcloud container clusters update:
    • --maintenance-window-start
    • --maintenance-window-end
    • --maintenance-window-recurrence
  • Promoted the following flags to GA on gcloud container clusters update:
    • --add-maintenance-exclusion-name
    • --add-maintenance-exclusion-start
    • --add-maintenance-exclusion-end
    • --clear-maintenance-window
    • --remove-maintenance-exclusion
  • Promoted --database-encryption-key for gcloud container clusters create|update, and --disable-database-encryption for gcloud container clusters update to GA.
  • Added --enable-cloud-run-alpha flag to gcloud container clusters create to enable Cloud Run alpha features on the cluster.

Managed Active Directory

  • Promoted gcloud active-directory command group to GA.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

269.0.0 (2019-10-29)

Breaking Changes

  • (Cloud Run) Removed check for the compute/region property when determining which Cloud Run region to use. Pass --region or set the run/region property instead.

Cloud Composer

  • Added two Airflow subcommands (list_dag_runs, next_execution) to gcloud composer environments run.

Cloud Functions

  • Promoted network settings flags (ingress, egress) for gcloud functions deploy to beta.
  • Promoted prompt to allow unauthenticated access for gcloud functions deploy to GA.
  • Promoted --allow-unauthenticated flag for gcloud functions deploy to GA.

Cloud IAM

  • Promoted gcloud iam service-accounts disable to GA.
  • Promoted gcloud iam service-accounts enable to GA.

Cloud Services

  • Promoted services identity command group to beta.
  • Removed the command services operations list.

Compute Engine

  • Promoted --next-hop-ilb and --next-hop-ilb-region flags of gcloud compute routes create to GA.
  • Promoted gcloud compute packet-mirrorings command group to beta.
  • Promoted --is-mirroring-collector flag of gcloud compute forwarding-rules create command to beta.
  • Rename the flag --drain-nat-ips to --nat-external-drain-ip-pool to match the user guide.

Miscellaneous

  • Fixed issue where results would be limited before filtering.
  • Fixed issue where a blank line was not printed between pages when the result set fit on two pages.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

268.0.0 (2019-10-22)

Cloud Life Sciences

  • Added gcloud beta lifesciences pipelines which defines and runs pipelines.
  • Added gcloud beta lifesciences operations which manages pipeline operations.

Cloud Memorystore

  • Modified --update-redis-config flag of gcloud redis instances update to accept 'maxmemory-gb' as a parameter.

Cloud SQL

  • Promoted --disk-encryption-key flag to GA.

Cloud Storage

  • Updated gsutil component to 4.45.

Compute Engine

  • Promoted --drain-nat-ips and --clear-drain-nat-ips flags of gcloud compute routers nats to GA.

GKE Hub

  • Renamed container hub register-cluster and container hub unregister-cluster to container memberships register and container memberships unregister respectively.

Kubernetes Engine

  • Fixed issue where gcloud beta container clusters update crashed when adding a maintenance exclusion if a maintenance window is set but no exclusions exist.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

267.0.0 (2019-10-15)

Breaking Changes

  • (Cloud Datastore Emulator) Removed the deprecated component (gcd-emulator) for the legacy version that used the v1beta3 API.
  • (Cloud Datastore Emulator) Removed the deprecated --legacy flag from gcloud beta emulators datastore start that invoked the legacy version of the emulator.

BigQuery

  • Fixed crash when displaying the results of a script query.
  • Added options to control the maximum time and bytes per script statement, maximum time to run a script, and the maximum number of results to display for a script.

Cloud Asset Inventory

  • Promoted gcloud asset feeds command group to beta.

Cloud Bigtable

  • Added support for authorization tokens via the -auth-token flag.

Cloud Dataproc

  • Fixed issue where --region flag was not honored for gcloud beta dataproc commands, specifically when passing resources as URIs.
    • If dataproc/region is set --region flag, still correctly override it.

Cloud Firestore

  • Promoted gcloud firestore command group to GA.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.9.0
    • Serve WebChannel traffic on the same port as gRPC.

Cloud IAM

  • Promoted --description flag of gcloud iam service-accounts create and gcloud iam service-accounts update to GA.

Cloud Run

  • Cloud Run will no longer require the Istio add-on for newer versions of GKE (1.15.3-gke.19+, 1.14.3-gke.12+, and 1.13.10-gke.8+).

Compute Engine

  • Promoted --family and --description flags of gcloud compute images import to GA.

Kubernetes Engine

  • Fixed defaulting of --shielded-integrity-monitoring to remain true when --shielded-secure-boot is also enabled.
  • Removed validation condition that restricts --autoprovisioning-service-account and --autoprovisioning-scopes from being specified together.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

266.0.0 (2019-10-08)

AI Platform

  • Promoted --accelerator in gcloud ai-platform versions create to beta.

App Engine

  • Modified validation for Go main package paths: hyphens and other characters are now valid.
  • Added error checking when a deployed jar does not contain a Main-Class manifest entry.

Cloud Build

  • Promoted gcloud builds triggers command group to beta.

Cloud Data Catalog

  • Added gcloud beta data-catalog entry-groups command group.
  • Added create and delete commands to gcloud beta data-catalog entries.

Cloud Dataproc

  • Added realm field to the file specified by --kerberos-config-file, applicable to the following commands:
    • gcloud dataproc clusters create
    • gcloud dataproc workflow-templates set-managed-cluster
    • gcloud beta dataproc clusters create
    • gcloud beta dataproc workflow-templates set-managed-cluster

Cloud Functions

  • Promoted --vpc-connector in functions deploy to GA.

Cloud Run

  • Modified routes and configurations command groups to be hidden.
  • Changed the descriptions of the platforms for Cloud Run to match current product names and functionality.

Cloud Spanner

  • Added --timeout flag to gcloud spanner databases execute-sql to support long-running requests.

Cloud Storage

  • Updated gsutil component to 4.44.

Compute Engine

  • Promoted --networks flag of compute backend-services create to beta.
  • Promoted 'SHARED_LOADBALANCER_VIP' option of --purpose flag of gcloud beta compute addresses create to beta.

Kubernetes Engine

  • Added the following flags to gcloud beta container clusters create and gcloud beta container clusters update for specifying more flexible maintenance windows:
    • --maintenance-window-start
    • --maintenance-window-end
    • --maintenance-window-recurrence
  • Added the following flags to gcloud beta container clusters update for specifying exclusions to maintenance windows:
    • --add-maintenance-exclusion-name
    • --add-maintenance-exclusion-start
    • --add-maintenance-exclusion-end
  • Added the following flags to gcloud beta container clusters update for removing maintenance windows and exclusions:
    • --clear-maintenance-window
    • --remove-maintenance-exclusion
  • Promoted --enable-binauthz flag of gcloud container clusters create to GA.
  • Added --node-locations flag to gcloud container create node-pool and gcloud container update node-pool commands. This flag specifies the location(s) where nodes will be hosted when the node pool has been created or updated.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

265.0.0 (2019-10-01)

Cloud SDK

  • Added --include-email flag to gcloud auth print-identity-token to include service account email in the identity token of an impersonated service account.
  • Added --token-format and --include-license flags to gcloud auth print-identity-token to include project and instance information in the identity token of a Compute Engine instance.

App Engine

  • Added support for deploying Java11 fatjar directly.
  • Added support for Class-Path entry dependent jars for deploying a Java11 fatjar.
  • Updated the Go SDK to version 1.9.71. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/go/release-notes

BigQuery

  • Modified the output of bq show for models to also show encryption info.
  • Added functionality to bq update with --clustering_fields flag to convert a clustered table to an unclustered table.
  • Added --use_avro_logical_types flag to bq extract to extract some columns to their AVRO logical types rather than raw types.
  • Fixed issue where the formatting of unicode table names in some error messages was incorrect.
  • Modified bq query to display the results of each statement in a script, instead of only the last statement.
  • Added --parent_job_id flag to bq ls for listing child jobs of a script job.

Cloud DNS

  • Promoted --enable-logging flag of gcloud dns polices to GA.

Cloud Dataproc

  • Promoted gcloud dataproc autoscaling-policies command group to GA.
  • Promoted --autoscaling-policy flag of gcloud dataproc clusters create and gcloud dataproc clusters update to GA.

Cloud Functions

  • Fixed a bug in gcloud beta functions deploy where new functions were incorrectly made publicly invokable when the user specified they should be private.

Cloud Pub/Sub

  • Promoted --message-storage-policy-allowed-regions flag of gcloud pubsub topics create, and --recompute-message-storage-policy and --message-storage-policy-allowed-regions flags of gcloud pubsub topics update to GA. This allows users to control the Cloud regions where published messages are stored at rest.

Cloud Run

  • Promoted --max-instances flag of gcloud run deploy and gcloud run services update to beta.

Cloud Storage

  • Updated gsutil component to 4.43.

Compute Engine

  • Promoted 100G interconnect link type support for gcloud compute interconnects create to GA.
  • Promoted gcloud compute instances os-inventory command group to GA.
  • Promoted gcloud compute instances import to GA.

Firebase Test Lab

  • Added beta support for iOS Game Loop tests.
  • Added --type flag to gcloud firebase test ios run.
  • Added --app to gcloud firebase test ios run.
  • Added --scenario-numbers to gcloud firebase test ios run.

Miscellaneous

  • Added separator attribute to --format=multi flag.

Translation API

  • Added gcloud beta ml translate command group.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

264.0.0 (2019-09-24)

Cloud SDK

Cloud Bigtable

  • Added gcloud bigtable operations describe|list which provides the functionality to describe an operation or list operations to GA.

Cloud DNS

  • Promoted gcloud dns polices to GA.
  • Promoted gcloud dns managed-zones forwarding-targets to GA.

Cloud Dataproc

  • Fixes issues where --region flag is passed to gcloud dataproc autoscaling-policies or gcloud dataproc workflow-templates, but the commands still fail with the error "The required property [region] is not currently set.".

Cloud SQL

  • Added Postgres 11 option to --database-version flag.

Compute Engine

Kubernetes Engine

  • Google Kubernetes Engine default kubectl is updated to 1.13.11.
  • Addresses CVE-2019-11251.
  • Additional kubectl versions:
    • kubectl.1.13 (1.13.11)
    • kubectl.1.14 (1.14.7)
    • kubectl.1.15 (1.15.4)
  • Fixed gcloud container binauthz IAM commands to call the correct v1 API routes.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

263.0.0 (2019-09-17)

Breaking Changes

  • (Compute Engine) gcloud compute vpn-tunnels create now requires either a --target-vpn-gateway or --vpn_gateway flag.
  • (Compute Engine) gcloud compute vpn-tunnels create now requires one of the following three flags:
    • --peer_address
    • --peer_gcp_gateway
    • --peer_external_gateway
  • (Compute Engine) Promoted --reservations-from-file, --reservation, --reservation-zone, --accelerator, -local-ssd, --machine-type, --machine-type, --min-cpu-platform, --require-specific-reservation, and --vm-count flags for gcloud compute commitments create to GA.
  • (Miscellaneous) Fixed issue where gcloud table formats would sort numbers alphabetically, rather than numerically.

Cloud Asset Inventory

  • Added --bigquery-table --output-bigquery-force flags to gcloud asset export.

Cloud Dataproc

  • Promoted accelerators and min cpu platform related flags to GA.
    • Added --preemptible-worker-accelerator flag to gcloud dataproc clusters create, providing the capability for accelerators to be attached to preemptible workers.

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.8.3.
    • Fix bug where concurrent requests for the same transaction would sometimes hang.
  • Release Cloud Firestore emulator v1.8.4
    • Fix bug where WriteResults for deletes had an update_time populated.

Cloud Pub/Sub

  • Promoted the following commands under gcloud pubsub topics and gcloud pubsub subscriptions to GA to support iAM policy configuration:
    • add-iam-policy-binding
    • get-iam-policy
    • remove-iam-policy-binding
    • set-iam-policy

Cloud Run

  • Promoted --platform=kubernetes, --kubeconfig, and --context flags of gcloud run to beta.

Compute Engine

  • Promoted gcloud compute external-vpn-gateways to GA.
  • Promoted gcloud compute vpn-gateways to GA.
  • Promoted Highly Available related comands for gcloud compute vpn-tunnels to GA.
  • Promoted --logging-aggregation-interval, --logging-flow-sampling, and --logging-metadata flags of gcloud compute networks subnets <create|update> to GA.
  • Promoted --reservation and --reservation-affinity flags for gcloud compute instance-templates create to GA.
  • Promoted --reservation and --reservation-affinity flags for gcloud compute instances create to GA.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

262.0.0 (2019-09-10)

Cloud SDK

  • Added 'context_aware' configuration, to specify the usage of client certificate. Please see gcloud config set --help for more details.
  • Updated the winkeygen.exe executable on Windows to include a fix that will re-encode .ppk key files created with an incorrect encoding.

Cloud Healthcare

  • Promoted gcloud healthcare command group to beta.

Cloud Run

  • Added log warning that shows the list of regions that did not respond to gcloud run beta services list.
  • Promoted --labels and related flags for gcloud beta run update and gcloud beta run deploy to beta.

Cloud Speech API

  • Promoted --additional-language-codes, --include-word-confidence, --enable-speaker-diarization, --diarization-speaker-count flags of gcloud ml speech recognize to beta.
  • Promoted --additional-language-codes, --include-word-confidence, --enable-speaker-diarization, --diarization-speaker-count flags of gcloud ml speech recognize-long-running to beta.

Compute Engine

  • Promoted gcloud compute networks peerings update to GA.
  • Added --family flag to gcloud beta compute images import.
  • Added --description flag to gcloud beta compute images import.
  • Added Mutual TLS support for context aware access users to access VMs(ssh/tcp) using IAP tunnel.
  • Updated Windows PuTTY executables to version 0.71.
  • Promoted gcloud beta compute routers nats update to beta.
  • Promoted enable-display-device flag for gcloud compute instances create to GA.
  • Promoted enable-display-device and no-enable-display-device flags for gcloud compute instances update to GA.

Kubernetes Engine

  • Flag --allow-route-overlap now needs either --enable-ip-alias or --no-enable-ip-alias to be set.
  • Added --enable-intra-node-visibility to gcloud container clusters create.
  • Added --release-channel flag to gcloud beta container clusters create for subscribing a cluster to a release channel.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

261.0.0 (2019-09-03)

Breaking Changes

  • (Cloud Datastore Emulator) Deprecated --legacy flag from gcloud beta emulators datastore start. This is due to the legacy Datastore emulator no longer being supported. The flag will be removed in early October 2019.
  • (Kubernetes Engine) Removed deprecated PGP-specific flags from gcloud beta container binauthz command group.

Cloud Bigtable

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.8.1.
    • Fixed bug where committing a transaction with no writes would not release locks.
  • Release Cloud Firestore emulator v1.8.2.
    • Fixed bug where transactions that timed out could still modify data.

Compute Engine

  • Promoted gcloud compute networks peerings update to GA.
  • Added --family flag to gcloud beta compute images import.
  • Added --description flag to gcloud beta compute images import.

Kubernetes Engine

  • Removed the following flags from gcloud beta container clusters create and gcloud beta container clusters update:
    • --database-encryption-key-location
    • --database-encryption-key-keyring
    • --database-encryption-key-project.
  • Deprecated --enable-cloud-monitoring and --enable-cloud-logging flags and moved default selection for Stackdriver monitoring and logging to the GKE API.
  • Promoted gcloud container binauthz KMS and PKIX key type support to beta.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

260.0.0 (2019-08-27)

Breaking Changes

  • (Cloud Dataproc) Modified --region flag to be mandatory.
    • To use Cloud Dataproc commands, pass the --region flag on every invocation, or set the dataproc/region configuration variable via gcloud config set dataproc/region.
    • For gcloud beta dataproc commands, this flag/config value is required.
    • For gcloud dataproc commands, the default will remain global until January 2020.
  • (Cloud Run) Removed --[no-]allow-unauthenticated flag from gcloud beta run services update. Use gcloud beta run services add-iam-policy-binding and gcloud beta run services remove-iam-policy-binding commands to modify the policies of an existing service.

Cloud SDK

  • Deprecated --size alias of gcloud container clusters resize --num-nodes.

AI Platform

  • Added --tpu-tf-version to gcloud beta ai-platform jobs submit training.

BigQuery

  • Added support for org/folder level reservation grants.
  • Added support for setting and getting IAM policies: bq get-iam-policy <resource> [<json_file_name>].

Cloud Firestore Emulator

  • Release Cloud Firestore emulator v1.8.0
    • Add support for queries inside of read-write transactions.
    • Fix bug causing the WebChannel adapter to reject queries with limits.

Cloud Run

  • Updated success message for synchronous gcloud run alpha/beta deploy to indicate if and how much traffic the new revision is serving.

Compute Engine

  • Added windows-2019, windows-2019-byol, and windows-8-1-x64-byol options to --os flag of gcloud compute images import.

Kubernetes Engine

  • Added --enable-shielded-nodes to gcloud beta container clusters create and gcloud beta container clusters update. These flags control the Shielded GKE Nodes feature, see https://cloud.google.com/kubernetes-engine/docs/how-to/shielded-gke-nodes.
  • Made --max-cpu and --max-memory flags optional for gcloud container clusters update --enable-autoprovisioning.
  • Enabled auto repair by default on COS_CONTAINERD image.
  • Google Kubernetes Engine default kubectl is updated to 1.13.9.
  • Additional kubectl versions:
    • kubectl.1.11 (1.11.10)
    • kubectl.1.12 (1.12.10)
    • kubectl.1.13 (1.13.9)
    • kubectl.1.14 (1.14.5)
    • kubectl.1.15 (1.15.2)
  • Added --autoprovisioning-locations flag for gcloud container clusters create --enable-autoprovisioning and gcloud container clusters update --enable-autoprovisioning.

Policy Troubleshooter

  • Added gcloud beta policy-troubleshoot iam which troubleshoots a member's IAM permission on a resource.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

259.0.0 (2019-08-20)

Cloud SDK

  • Updated gsutil component be able to use Python v3.x.
  • Added --impersonate-service-account flag to gcloud auth print-identity-token to be used in conjunction with --audiences.
  • Added support for Compute Engine service accounts to gcloud auth print-identity-token.

Cloud Pub/Sub

  • Added the following optional flags to gcloud pubsub topics create to support Cloud KMS integration:
    • --topic-encryption-key
    • --topic-encryption-key-keyring
    • --topic-encryption-key-location
    • --topic-encryption-key-project

Compute Engine

  • Added --storage-location flag to gcloud beta compute images import to allow specifying image location in VM image import.

GKE Hub

  • Promoted gcloud container hub commands to beta. Added --version flag to allow specifying a specific GKE Connect version to use.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

258.0.0 (2019-08-13)

Breaking Changes

  • (Compute Engine) Renamed --custom-vm-gen flag to --custom-vm-type for the following commands:
    • gcloud compute instances create
    • gcloud compute instances create-with-container
    • gcloud compute instances import
    • gcloud compute instances set-machine-type
    • gcloud compute instance-template create
    • gcloud compute instance-template create-with-container

Cloud Dataproc

  • Added flags --max-age, --max-idle, --expiration-time to gcloud dataproc clusters create command group.
  • Added flags --max-age, '--max-idle', --expiration-time, --no-max-age, --no-max-idle to gcloud dataproc clusters update command group.

Cloud Firestore Emulator

  • Released Cloud Firestore emulator v1.7.1
    • Fixed bug where auth context was always null when using WebChannel.
    • Changed name of experimental --webchannel-port flag to --webchannel_port.

Cloud Functions

  • Changed gcloud beta functions deploy to disallow unauthenticated callers of new functions by default. The GA gcloud functions deploy command remains the same.

Cloud Storage

  • Updated gsutil component to 4.42.

Kubernetes Engine

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

257.0.0 (2019-08-06)

Breaking Changes

  • (Cloud SDK) Removed support for multistore format credentials. To upgrade from versions older than 155.0.0 without losing credentials, run the following commands:
    • gcloud components update --version=255.0.0
    • gcloud auth list
    • gcloud components update

Cloud Firestore Emulator

  • Released Cloud Firestore emulator v1.7.0
    • Added experimental support for the WebChannel protocol, allowing communication with browser clients.

Kubernetes Engine

256.0.0 (2019-07-30)

Breaking Changes

  • (Kubernetes Engine) Reverted cluster creation behavior such that new clusters now come up in Routes mode by default. The change to using VPC-Native mode as the default will be reintroduced at a later date. Use --enable-ip-alias flag for VPC-Native (IP Alias-enabled) mode.

BigQuery

  • Fixed bug in bq update --transfer_config --update_credentials.

Cloud Bigtable

  • Added support for specifying complex policies using cbt setgcpolicy such as maxage=30d || (maxage=3d && maxversions=100).

Cloud Dataflow

  • Added --dataflow-kms-key flag to gcloud beta dataflow jobs run.

Cloud Identity-Aware Proxy

  • Promoted gcloud iap command group to beta.

Cloud Pub/Sub

  • Added optional flags --push-auth-service-account and --push-auth-token-audience for defining an authenticated push subscription in gcloud pubsub subscriptions create | update | modify-push-config.

Managed Active Directory

  • Added gcloud active-directory command group. This feature enables the provisioning and administering of a managed Microsoft Active Directory domain.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

255.0.0 (2019-07-23)

Breaking Changes

  • (Cloud Run) Changed --platform flag and its respective run/platform property to be required in all gcloud beta run commands. If not specified, you will be prompted to choose a platform.

Cloud Asset Inventory

  • Added new content type access-policy to gcloud asset export and gcloud asset get-history.

Cloud Storage

  • Updated gsutil component to 4.41.

Compute Engine

  • Removed deprecation notice for --zones in gcloud compute. --zones is no longer deprecated and will continue to be supported.
  • Added gcloud compute diagnose command group.
  • Added gcloud beta compute diagnose command group.
  • Fixed bug where gcloud compute network-endpoint-groups update did not require either --add-endpoint or --remove-endpoint flag to be specified.

Firebase Test Lab

  • Fixed a bug where the files specified using --other-files were not correctly pushed to an Android device before the test starts.

Kubernetes Engine

  • Promoted gcloud beta container binauthz to GA.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

254.0.0 (2019-07-16)

AI Platform

  • Promoted the following flags for gcloud ai-platform jobs submit training to GA:
    • --master-machine-type
    • --master-accelerator
    • --master-image-uri
    • --worker-count
    • --worker-machine-type
    • --worker-accelerator
    • --worker-image-uri
    • --parameter-server-count
    • --parameter-server-machine-type
    • --parameter-server-accelerator
    • --parameter-server-image-uri Use these flags to configure training VMs and deploy custom containers.

BigQuery

  • Removed json formatting requirement for bq ls --print_last_token.
  • Added support for dataset default KMS key.

Cloud Asset Inventory

  • Added --output-path-prefix flag to gcloud asset export.
  • Added new content type org-policy to gcloud asset export and gcloud asset get-history.

Cloud Firestore Emulator

  • Released Cloud Firestore emulator v1.6.1.
    • Fixed bug where ClearData would fail for databases with more than 500 documents.
  • Released Cloud Firestore emulator v1.6.2.
    • Fixed bug where Firestore queries with cursors had incorrect boundary behavior.

Cloud Pub/Sub

  • Promoted --message-storage-policy-allowed-regions flag of gcloud pubsub topics create to beta. This feature allows users to control the Cloud regions where published messages are stored at rest.
  • Promoted --recompute-message-storage-policy and --message-storage-policy-allowed-regions flags of gcloud pubsub topics update to beta. This feature allows users to control the Cloud regions where published messages are stored at rest.

Cloud Run

  • Fixed bug causing unnecessary API enablement prompt when working with Cloud SQL instances.

Cloud Storage

  • Updated gsutil component to 4.40.

Compute Engine

  • Added disk-resource-policy option to --create-disk flag in gcloud beta compute instance-templates create.
  • Fixed bug where gcloud compute images export would create temporary Cloud Storage bucket in US multi-region when destination file is in a different region.
  • Promoted gcloud compute resource-policies to GA.
  • Promoted resource policies in gcloud compute disks to GA.

Firebase Test Lab

  • Fixed a possible crash when invalid iOS device dimensions are specified for a test run.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

253.0.0 (2019-07-02)

Breaking Changes

  • (Compute Engine) Deprecated gcloud beta compute resource-policies create-snapshot-schedule. Use gcloud beta compute resource-policies create snapshot-schedule instead.

Cloud SDK

  • Promoted --audiences flag of gcloud auth print-identity-token to GA.

App Engine

BigQuery

  • Added support for persistent user-defined functions and stored procedures in bq show --routine, bq ls --routines, and bq rm --routine.
  • Added support for creating scheduled queries; use bq query with --schedule as well as --destination_table and --target_dataset flags.
  • Increased number of projects listed from the 'bq show' command.
  • Added 'clustered fields' information for list dataset and show table commands.
  • Modified bq show --connection to use the default location if the connection name is given in 'short' form.
  • Fixed Python 3 compatibility issues.

Cloud Firestore Emulator

  • Released Cloud Firestore emulator v1.6.0.
    • Calling SetSecurityRules with invalid rules is allowed.

Cloud Key Management Service

  • Promoted gcloud kms import-jobs and other import-related commands to beta.

Cloud Run

  • Removed --kubeconfig and --context flags and --platform=kubernetes option from gcloud beta run.

Cloud SQL

  • Updated gcloud sql instances describe to show the 'STOPPED' instance state, to be consistent with the 'gcloud sql instances list` command.

Compute Engine

  • Fixed bug where gcloud compute images import would create temporary Cloud Storage bucket in US multi-region when source image file is in a different region.
  • Promoted gcloud compute instances get-guest-attributes to GA.
  • Promoted --storage-location flag of gcloud compute images create to beta.
  • Modified gcloud compute backend-services create and gcloud compute backend-services update to relax validation for specifying --enable-logging, and --logging-sample-rate.
  • Promoted http2 value to v1 for --protocol flag of gcloud compute backend-services create and gcloud compute backend-services update.
  • Promoted gcloud compute start-iap-tunnel to GA.
  • Promoted --tunnel-through-iap flag of gcloud compute ssh and gcloud compute scp to GA.
  • Promoted --internal-ip flag of gcloud compute scp to GA.
  • Promoted gcloud compute health-checks create http2 and gcloud compute health-checks update http2 commands to GA.
  • Promoted gcloud compute instances import to beta.
  • Added --ssh_key_expiration and --ssh_key_expire_after flags to gcloud compute scp, and gcloud compute ssh, and gcloud compute connect-to-serial-port commands to set expirations for ssh keys.

Kubernetes Engine

  • Promoted Google Kubernetes Engine kubectl to 1.12.9 from 1.12.8, to address CVE-2019-11246.
  • Promoted the following flags of gcloud container clusters update to beta:

    • --database-encryption-key
    • --database-encryption-key-keyring
    • --database-encryption-key-location
    • --database-encryption-key-project

    These flags control Database Encryption which encrypt Kubernetes Secrets at the application layer. For more information, see https://cloud.google.com/kubernetes-engine/docs/how-to/encrypting-secrets.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

252.0.0 (2019-06-25)

Breaking Changes

  • (Compute Engine) Removed --network-interface from gcloud beta compute start-iap-tunnel.

Cloud SDK

  • Fixed issue where the Cloud SDK failed to install on Windows if the install path contained exclamation point characters.

Cloud Data Catalog

  • Added gcloud beta data-catalog tags and gcloud beta data-catalog tag-templates to manage tags and tag templates in Cloud Data Catalog.
  • Added gcloud beta data-catalog search to search Cloud Data Catalog resources.

Cloud Datalab

Cloud Functions

  • Promoted the following commands to beta:
    • gcloud functions add-iam-policy-binding
    • gcloud functions get-iam-policy
    • gcloud functions remove-iam-policy-binding
    • gcloud functions set-iam-policy
  • Promoted --max-instances and --clear-max-instances flags of gcloud functions deploy to GA.

Cloud Pub/Sub

  • Promoted gcloud labels functionality to GA for topics and subscriptions. These features allow users to create resource labels, or update existing resource labels. The label features now live on the following commands:
    • gcloud pubsub topics create
    • gcloud pubsub topics update
    • gcloud pubsub subscriptions create
    • gcloud pubsub subscriptions update

Cloud Storage

  • Updated gsutil component to 4.39.

Compute Engine

  • Promoted --allow-global-access flag of gcloud compute forwarding-rules create and gcloud compute forwarding-rules update to beta.
  • Promoted --source-snapshot flag of gcloud compute instances create to GA.
  • Promoted source-snapshot option of --create-disk flag of gcloud compute instances create to GA.
  • update-instances command (gcloud beta compute instance-groups managed update-instances) is now available in beta.
  • Added the following commands:
    • gcloud beta compute reservations get-iam-policy
    • gcloud beta compute reservations set-iam-policy
    • gcloud beta compute reservations add-iam-policy-binding
    • gcloud beta compute reservations remove-iam-policy-binding

Kubernetes Engine

  • Promoted --identity-namespace and --disable-workload-identity flags of gcloud container clusters create and gcloud container clusters update to beta. These flags control Workload Identity, which lets Kubernetes service accounts act as Google service accounts. For more information, see https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

251.0.0 (2019-06-18)

Breaking Changes

  • (Compute Engine) Commands under the following command groups now require either a --global or --region flag:
    • gcloud beta compute target-http-proxies
    • gcloud beta compute target-https-proxies
    • gcloud beta compute url-maps
    • gcloud beta compute health-checks
  • (Kubernetes Engine) Modified Kubernetes Engine cluster creation such that new clusters now come up in VPC-native (IP Alias enabled) mode by default. Use --[no-]enable-ip-alias flag for the old, non-default behavior (Routes mode).

Cloud Bigtable

  • Fixed Latin-1 regex filters, allowing \C.
  • Exposed PassAllFilter.

Cloud Dataproc

  • Added --kerberos-root-principal-password-uri, --kerberos-kms-key, and --kerberos-config-file flags to gcloud dataproc clusters create and gcloud dataproc workflow-templates set-managed-cluster.

Cloud Firestore Emulator

  • Released Cloud Firestore emulator v1.5.0.
    • Fixed bug where property paths with special characters would cause errors due to ClassNotFound exceptions.
    • Fixed bug where auto-id allocation only worked once per collection.
    • Added REST API to set security rules.

Cloud Key Management Service

  • Fixed issue where gcloud kms decrypt would crash when decrypting an empty encrypted file.

Cloud Run

  • Added --platform flag and its respective run/platform property to all commands in gcloud beta run. This argument is optional but will be required in a future release of the gcloud command-line tool.
  • Added support for connecting to clusters defined in a kubeconfig file. Specify --platform kubernetes or run/platform kubernetes to use. Optionally, use --kubeconfig to specify a kubeconfig file and --context to specify a connection context.

Compute Engine

  • Added support for regional variants of the following resources in beta:
    • gcloud beta compute health-checks
    • gcloud beta compute url-maps
    • gcloud beta compute target-http-proxies
    • gcloud beta compute target-https-proxies
  • Added INTERNAL_MANAGED as an option for --load-balancing-scheme to the following commands:
    • gcloud beta compute forwarding-rules create.
    • gcloud beta compute backend-services create.

Kubernetes Engine

  • Promoted resource usage export to GA. Use --resource-usage-bigquery-dataset with gcloud container clusters create or gcloud container clusters update to enable this feature.
  • Migrated the Occurrence type created by gcloud beta container binauthz attestations create from PgpSignedAttestation to GenericSignedAttestation.
    • If you were signing JSON not generated by binauthz create-signature-payload, you must now provide this JSON as --payload-file when creating the Attestation.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

250.0.0 (2019-06-11)

Breaking Changes

  • (Compute Engine) Modified gcloud compute networks update --switch-to-custom-subnet-mode to poll and wait for operation to finish instead of returning immediately. Please use --async flag to reproduce the previous behavior of returning immediately.

Cloud SDK

  • Added core/disable_file_logging property to prevent the gcloud command-line tool from storing logs to a file. This may be useful if disk space is limited. To set this property, run gcloud config set core/disable_file_logging True.

App Engine

Cloud Functions

  • Added --clear-vpc-connector flag to gcloud beta functions deploy.

Cloud Key Management Service

  • Promoted the following commands to GA.
    • gcloud kms asymmetric-decrypt.
    • gcloud kms asymmetric-sign.
    • gcloud kms keys versions get-public-key.
  • Promoted the following flags in gcloud kms keys command group to GA.
    • --attestation-file.
    • --default-algorithm.
    • --purpose.
    • --protection-level.

Cloud Memorystore

  • Added gcloud beta redis instances import and gcloud beta redis instances export to import data to or export data from a Memorystore Redis instance from or to Google Cloud Storage.
  • Added gcloud beta redis operations cancel to cancel a Memorystore Redis import or export operation.

Cloud Pub/Sub

  • Added the following optional flags to gcloud beta pubsub topics create to support Cloud KMS integration:
    • --topic-encryption-key
    • --topic-encryption-key-keyring
    • --topic-encryption-key-location
    • --topic-encryption-key-project

Cloud Run

  • Promoted --service-account flag of gcloud run deploy and gcloud run services update to beta.

Compute Engine

  • Promoted gcloud compute instances create --source-snapshot flag to beta.
  • Promote INTERNAL_SELF_MANAGED value of --load-balancing-scheme in gcloud compute backend-services create and gcloud compute forwarding-rules create to GA.
  • Modified gcloud compute backend-services create and gcloud compute backend-services update to allow toggling logging for backend services with HTTP2 protocol.
  • Promoted --server-binding flag of gcloud compute sole-tenancy node-templates create to GA.
  • Promoted --enable-logging and --log-filter flags of gcloud compute routers nats to GA.

Kubernetes Engine

  • Promoted Stackdriver Kubernetes Engine Monitoring to GA. Use --enable-stackdriver-kubernetes with gcloud container clusters create or gcloud container clusters update to enable this feature.
  • Updated several flag names in gcloud beta container binauthz that assumed PGP as the only supported key type.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

249.0.0 (2019-06-04)

Cloud SDK

  • Added gcloud auth print-identity-token command.
  • Added property survey/disable_prompts to opt out of being prompted to take a survey periodically.

Compute Engine

  • Promoted the following commands to beta:
    • gcloud compute backend-services import
    • gcloud compute backend-services export
    • gcloud compute url-maps import
    • gcloud compute url-maps export
    • gcloud compute forwarding-rules import
    • gcloud compute forwarding-rules export

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

248.0.0 (2019-05-28)

Breaking Changes

  • (Cloud Composer) Removed support for the deprecated initdb, resetdb, and upgradedb subcommands within gcloud composer environments run. Execution of these subcommands could be detrimental to the Airflow metadata of existing Composer environments.

Cloud Build

  • Added --ignore-file flag to gcloud builds submit for overriding default .gcloudignore file.

Cloud Firestore Emulator

  • Release Cloud Firestore Emulator version 1.4.6.
    • Fixed bug where some FieldTransforms were not sending the correct responses.
    • Added support for read-only transactions.

Cloud Resource Manager

  • Added gcloud projects get-ancestors command to display project ancestors.

Cloud Run

  • Added --connectivity and --allow-unauthenticated flags to gcloud beta run services update.

Cloud Scheduler

  • Promoted gcloud scheduler command group to GA.

Compute Engine

  • Added --custom-vm-gen flag to the following commands to allow specifying the VM generation (either n1 or n2) of custom machine types:
    • gcloud compute instances create
    • gcloud compute instances create-with-container
    • gcloud compute instances import
    • gcloud compute instances set-machine-type
    • gcloud compute instance-template create
    • gcloud compute instance-template create-with-container
  • Promoted gcloud compute instances os-inventory to beta.

Firebase Test Lab

  • Added --client-details flag to gcloud beta firebase test android run and gcloud beta firebase test ios run. This flag allows you to add additional contextual details to the test run.

Kubernetes Engine

  • Added --enable-stackdriver-kubernetes flag to gcloud beta container clusters update.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

247.0.0 (2019-05-21)

App Engine

  • Added --ignore-file to gcloud app deploy for overriding default .gcloudignore file.

Cloud Bigtable

  • Promoted gcloud bigtable instances tables list to beta.

Cloud Build

  • Added --ignore-file flag to gcloud builds submit for overriding default .gcloudignore file.

Cloud Dataproc

  • Removed the --max-age, --max-idle, --expiration-time flags from the gcloud beta dataproc workflow-templates set-managed-cluster command group. The workflow template feature does not support cluster scheduled deletion.

Cloud Functions

  • Added --ignore-file flag to gcloud functions deploy for overriding default .gcloudignore file.

Cloud Machine Learning Engine

  • Fixed incorrect URL for viewing an AI Platform job in the Cloud Console.

Cloud Scheduler

  • Added the following commands:
    • gcloud beta scheduler jobs update app-engine
    • gcloud beta scheduler jobs update http
    • gcloud beta scheduler jobs update pubsub

Cloud Tasks

  • Added gcloud beta tasks create-http-task command.
  • Added --log-sampling-ratio and --clear-log-sampling-ratio to gcloud beta tasks queues create and gcloud beta tasks queues update commands.

Kubernetes Engine

  • Updated Google Kubernetes Engine kubectl to 1.12.8 (from 1.11.9).
  • Updated extra Google Kubernetes Engine kubectl versions:
    • kubectl.1.11 (patch 1.11.10)
    • kubectl.1.12 (patch 1.12.8)
    • kubectl.1.13 (patch 1.13.6)
    • kubectl.1.14 (patch 1.14.1)

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

246.0.0 (2019-05-14)

Breaking Changes

  • (Compute Engine) Removed redundant --bandwidth flag values with bps- prefix from gcloud compute interconnects attachments dedicated create, gcloud compute interconnects attachments dedicated update, gcloud compute interconnects attachments provider create, and gcloud compute interconnects attachments provider update commands. Use matching values without this prefix instead.

Cloud SDK

  • Added the --billing-project flag to all gcloud commands, for explicitly specifying a project to bill.

Cloud Functions

  • Added --allow-unauthenticated flag to gcloud beta functions deploy.

Cloud Pub/Sub

  • Promoted --expiration-period in gcloud pubsub subscriptions create and gcloud pubsub subscriptions update to GA.

Cloud Scheduler

  • Added attempt-deadline flag to gcloud beta scheduler jobs create.

Cloud Tasks

  • Promoted gcloud tasks command group to GA.

Compute Engine

  • Added --accelerator flag to gcloud compute instances create-with-container.
  • Added '--resource-policy' flag to gcloud beta compute instances create-disk

Vision API

  • Added gcloud beta ml vision product-search command group.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

245.0.0 (2019-05-07)

Breaking Changes

  • (Kubernetes Engine) Removed deprecated --enable-cloud-endpoints flag.
  • (Kubernetes Engine) Removed container/new_scopes_behavior property (new_scopes_behavior is now default behavior).

Cloud SDK

  • Run gcloud alpha survey to help improve the gcloud command-line tool experience by answering a customer satisfaction survey.
  • Reminders for the survey will be made periodically.

App Engine

  • Updated the Java SDK to version 1.9.74. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes

Cloud Asset Inventory

  • Added --output-path-prefix flag to gcloud beta asset export.

Cloud Run

  • Fixed --uri flag support for list commands in gcloud beta run.
  • Cloud SQL flags are now available in beta.

Cloud Scheduler

  • Added gcloud beta scheduler jobs pause and gcloud beta scheduler jobs resume commands.

Compute Engine

  • Promoted --instance-redistribution-type flag of gcloud compute instance-groups managed create and gcloud compute instance-groups managed update to beta.

Kubernetes Engine

  • Modified gcloud container clusters create and gcloud container node-pools create to allow simultaneously specifying both --scopes and --service-account flags.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

244.0.0 (2019-04-30)

Cloud Scheduler

  • Added auth flags to gcloud beta scheduler jobs create http.

Kubernetes Engine

  • Promoted gcloud container subnets list-usable to GA.
  • Added the --workload-metadata-from-node flag to gcloud beta container node-pools update for changing the type of metadata server visible to pods running in the nodepool.

Vision API

  • Added --detect_objects, --detect_text_pdf, --detect_text_tiff commands to gcloud ml vision.

Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.

243.0.0 (2019-04-23)

Breaking Changes

  • (AI Platform) Renamed --worker-server-count flag of gcloud ml-engine jobs submit training to --worker-count.
  • (App Engine) Updated gcloud app repair to no longer recreate a deleted service account.
  • (Cloud Machine Learning Engine) Deprecated the gcloud ml-engine command group. Use