Copyright 2014-2021 Google Inc. All rights reserved.
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
ofgcloud 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
togcloud beta compute backend-services create
,gcloud beta compute backend-services update
,gcloud beta compute backend-buckets create
andgcloud beta compute backend-buckets update
. - Added
cdnPolicy.requestCoalescing
field support togcloud beta compute backend-services import
. - Promoted
--target_distribution_shape
flag ofgcloud compute instance-groups managed
create
andupdate
to GA. Added--compute-service-account
flag togcloud compute instances import
. - Removed unneeded
curl
progress output fromgcloud compute ssh
with `--internal-ip flag. - Promoted
--zone
flag togcloud beta compute images describe-from-family
.
Config Connector
- Updated Google Cloud Config Connector to version 1.45.0. See Config Connector Overview for more details https://cloud.google.com/config-connector/docs/overview.
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 ofgcloud bigtable instances create
. All - (Cloud Bigtable) instances are now of type PRODUCTION.
App Engine
- Updated the Java SDK to version 1.9.88. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes.
Cloud Access Context Manager
- Promoted
ingress-policies
andegress-policies
flags ofgcloud 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 togcloud asset analyze-iam-policy
andgcloud asset analyze-iam-policy-longrunning
.
Cloud Bigtable
- Added
--kms-key
,--kms-keyring
,--kms-location
and--kms-project
flags togcloud bigtable clusters create
for alpha, beta and GA for creating CMEK-protected clusters. - Added key
kms-key
to--cluster-config
flag ofgcloud bigtable instances create
, for creating CMEK-protected clusters. - Promoted
--cluster-config
flag ofgcloud 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
andgcloud 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
andgcloud compute backend-services export
:- cdnPolicy:
- negativeCaching
- negativeCachingPolicy
- bypassCacheOnRequestHeaders
- serveWhileStale
- Added support for
authorizationPolicy
andserverTlsPolicy
forgcloud compute target-https-proxies import
command. - Added
--iap-tunnel-disable-connection-check
flag togcloud 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 togcloud compute instance-templates create
for beta and GA. - Promoted
--image-family-scope
flag togcloud beta compute instances create
andgcloud 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 groupgcloud builds worker-pools
(except forgcloud builds worker-pools list
). - (Cloud Run) Deprecated
--connectivity
flag ofgcloud run deploy
andgcloud 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. Usegcloud 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 ofgcloud beta ai endpoints
to include new online prediction regions. - Modified
--region
flag ofgcloud 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 andmk --table
commands for Parquet format. Runbq load --help
orbq 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 ofgcloud run deploy
andgcloud 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 togcloud beta compute instances import
. - Added
--service-directory-registration
flag togcloud compute forwarding-rules create --global --target-google-apis-bundle=<bundle>
in beta and GA. - Added
--target-google-apis-bundle
togcloud compute forwarding-rules create
. - Added
PRIVATE_SERVICE_CONNECT
as a global address purpose togcloud compute addresses create
. - Promoted
--post-key-reservation-action-type
flag to beta forgcloud compute instances create
. - Promoted
--post-key-reservation-action-type
flag to beta forgcloud compute instance-templates create
. - Added
--resource-policies
flag forgcloud compute instance-templates create
command in alpha, beta, and GA. - Added
--service-account
,--no-service-account
,--scopes
and--no-scopes
flags forgcloud 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
- Updated Google Cloud Config Connector to version 1.44.0. See Config Connector Overview for more details https://cloud.google.com/config-connector/docs/overview.
Database Migration
- Launched Database Migration.
Dataproc Metastore
- Added
--dump-type
flag togcloud beta metastore services export gcs
to allow specification of the database dump type to export. - Added
--release-channel
flag togcloud 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 togcloud beta secrets create
,gcloud secrets create
gcloud beta secrets update
andgcloud secrets update
commands to specify the timestamp at which to sendSECRET_ROTATE
notification. - Added
--rotation-period
flag togcloud beta secrets create
,gcloud secrets create
gcloud beta secrets update
andgcloud secrets update
commands to specify a duration between secret rotation notifications. - Added
--remove-next-rotation-time
flag togcloud beta secrets update
andgcloud secrets update
command to remove scheduled rotation time from a secret if it has one. - Added
--remove-rotation-period
flag togcloud beta secrets update
andgcloud secrets update
command to remove a set rotation period if it has one. - Added
--remove-rotation-schedule
flag togcloud beta secrets update
andgcloud secrets update
command to remove the rotation policy from a secret if it has one. - Promoted
--expire-time
flag ofgcloud secrets create
andgcloud secrets update
to GA. - Promoted
--ttl
flag ofgcloud secrets create
andgcloud secrets update
to GA. - Promoted
--remove-expiration
flag ofgcloud secrets update
to GA. - Promoted
--topics
flag ofgcloud 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 togcloud 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
andgcloud 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
andgcloud dataproc clusters start
which stop and start clusters. - Promoted
--dataproc-metastore
flag ofgcloud dataproc clusters create
to GA. - Promoted
--dataproc-metastore
flag ofgcloud dataproc workflow-templates set-managed-cluster
to GA. - Added
--secure-multi-tenancy-user-mapping
and--identity-config-file
flags togcloud dataproc clusters create
andgcloud 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 togcloud 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 forgcloud compute instances import
in beta. - Added
--compute-service-account
flag forgcloud compute machine-images import
in beta. - Promoted
--description
and--family
flags ofgcloud 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
- Updated Google Cloud Config Connector to version 1.42.0. See Config Connector Overview for more details https://cloud.google.com/config-connector/docs/overview.
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 forgcloud
.UTF-8
will be the default IO encoding on Unix.
App Engine
- Updated the Java SDK to version 1.9.87. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes.
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 ofgcloud functions deploy
to GA. - Modified
--limit
ofgcloud 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 ofgcloud run deploy
to GA. - Promoted
--tag
flag ofgcloud run services update
to GA. - Promoted
--to-tags
,--set-tags
,--update-tags
,--remove-tags
, and--clear-tags
flags ofgcloud 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 betagcloud compute instances import
in betagcloud compute machine-images import
in beta
- Promoted
gcloud compute instances remove-resource-policies
command to GA. - Added
--boot-disk-provisioned-iops
togcloud compute instances create
andgcloud 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 togcloud beta metastore services imports create
to set the database dump type. - Deprecated
--database-type
flaggcloud 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 forgcloud metastore services
in beta.
Identity Groups
- Added
--group-type
flag togcloud identity groups create
to automatically set group labels based on the type of group being created.
Kubernetes Engine
- Promoted
--enable-l4-ilb-subsetting
ofgcloud container clusters create
andgcloud container clusters update
to beta. - Added
--node-labels
,--node-taints
, and--tags
flags togcloud 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 togcloud beta ai endpoints deploy-model
.
App Engine
- Updated
gcloud app instances list
andgcloud 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
andgcloud 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 ofgcloud run deploy
andgcloud 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 ofgcloud compute disks create
to GA. - Promoted
gcloud compute public-delegated-prefixes
to beta.
Config Connector
- Updated Google Cloud Config Connector to version 1.41.0. See Config Connector Overview for more details https://cloud.google.com/config-connector/docs/overview.
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 togcloud secrets create
command to specify replication policy using a JSON or YAML file. - Added
--kms-key-name
flag togcloud 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.
- If the provided subnet is a shared subnet, use the flag
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 togcloud 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 thelocal-extract
component.
Cloud Pub/Sub
- Promoted
--partitions
flag ingcloud pubsub lite-topics update
to GA. - Added
--view
flag togcloud 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
togcloud beta compute backend-services create
,gcloud beta compute backend-services update
,gcloud beta compute backend-buckets create
andgcloud beta compute backend-buckets update
. - Promoted support for
gce-vm-ip
for--network-endpoint-type
forgcloud compute network-endpoint-groups create
andgcloud compute network-endpoint-groups update
to GA.
Config Connector
- Updated Google Cloud Config Connector to version 1.39.0. See Config Connector Overview for more details https://cloud.google.com/config-connector/docs/overview.
Kubernetes Engine
- Added
--pod-ipv4-range
and--create-pod-ipv4-range
flags togcloud 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
togcloud 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 togcloud beta asset export
.
Cloud Code
- Promoted
gcloud code dev
andgcloud code clean-up
to beta.
Cloud Composer
- Added
--kms-key
flag togcloud 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 togcloud redis instances create
to allow enabling Redis TLS with server authentication when creating a new instance. - Modified
--region
flag to be optional ingcloud memcache
. If not specified, use the value inmemcache/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 ofgcloud 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
ofgcloud compute firewall-policies create
to be a required flag. - Promoted
--proxy-bind
flag ofgcloud compute target-tcp-proxies create
to GA. - Allow
--target-tcp-proxy
forgcloud compute forwarding-rules
create
andset-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 togcloud 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 missingroles/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
- Updated the Java SDK to version 1.9.86. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes.
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 ofgcloud beta composer environments update
to be mutually exclusive. - Added the following flags to
gcloud composer environments create
andgcloud 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 togcloud beta pubsub topics create
. Messages published to the topic with the given message encoding will be validated against the specified schema. - Added
--partitions
flag togcloud beta pubsub lite_topics update
to allow increasing partitions in a Pub/Sub Lite topic.
Cloud SQL
- Added
--secondary-zone
flag togcloud 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 togcloud 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 ofgcloud 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
- Updated Google Cloud Config Connector to version 1.38.1. See Config Connector Overview for more details https://cloud.google.com/config-connector/docs/overview.
Container Analysis
- Modified
gcloud container images describe
to group vulnerability occurrences by effective severity instead of severity.
Identity Groups
- Promoted
--dynamic-user-query
flag ofgcloud identity create
to GA.
Kubernetes Engine
- Promoted
--notification-config
ofgcloud 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 togcloud container clusters create
,gcloud container node-pools create
, andgcloud 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 togcloud beta secrets create
command to specify a list of Pub/Sub topics to configure on the secret. - Added
--add-topics
flag togcloud beta secrets update
command to specify a list of Pub/Sub topics to add to the secret. - Added
--remove-topics
flag togcloud beta secrets update
command to specify a list of Pub/Sub topics to remove from the secret. - Added
--clear-topics
flag togcloud 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
) togcloud <alpha|beta> ai custom-jobs create
andgcloud <alpha|beta> ai hp-tuning-jobs create
to allow specifying a customer-managed encryption key.
App Engine
- Updated the Java SDK to version 1.9.85. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes.
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 ofgcloud 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 usinggcloud 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
ofgcloud logging read
to GA. - Promoted
--description
and--log-filter
ofgcloud logging metrics
to GA. - Promoted
--use-partitioned-tables
ofgcloud logging sinks
to GA.
Compute Engine
- Added support for
short-name=windows
for--os-type
flag forgcloud beta compute instances ops-agents policies
. This is only valid when--agent-rules=type=ops-agent
. - Promoted
--cpu-utilization-predictive-method
flag ofgcloud compute instance-groups managed <set-autoscaling|update-autoscaling>
to beta. - Added support for
--asn
flag forgcloud compute routers update
. - Promoted
gcloud compute security-policies update
to beta. - Added
--enable-layer7-ddos-defense
flag and--layer7-ddos-defense-rule-visibility
flag togcloud beta compute security-policies update
.
Events
- Added
--authentication
flag togcloud events init
command. - Added
--authentication
flag togcloud events namespaces init
command. - Added
workload-identity-gsa
support to--authentication
flag forgcloud events init
command. - Modifed
gcloud events namespaces init
command to create namespace if it is missing.
Identity Groups
- Added
--labels
flag togcloud identity groups update
to allow updating the labels for a group.
Identity Groups Memberships
- Promoted
--expiration
flag ofgcloud identity groups memberships add
to GA. - Promoted
--update-roles-param
flag ofgcloud 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 formprojects/<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
andupdateTime
) togcloud 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 togcloud beta dataflow jobs run
. - Added
--additional-experiments
flag togcloud 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
togcloud beta compute images import
. - Changed
--os
flag to be optional forgcloud 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 includedshort-name
values of 'debian' or 'ubuntu' in--os-types
had trouble locating packages due to a missing call toapt-get update
. - Updated Windows PuTTY executables to version 0.74.
Config Connector
- Updated Google Cloud Config Connector to version 1.37.0. See Config Connector Overview for more details https://cloud.google.com/config-connector/docs/overview.
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
togcloud 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
togcloud 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
ingcloud beta compute instances ops-agents policies create
andgcloud beta compute instances ops-agents policies update
from optional to required. - (Container Registry) Updated
gcloud container images list-tags
andgcloud container images describe
to use ContainerAnalysis V1 API in beta.- Changed occurrence kind
PACKAGE_VULNERABILITY
toVULNERABILITY
,DEPLOYABLE
toDEPLOYMENT
,BUILD_DETAILS
toBUILD
andIMAGE_BASIS
toIMAGE
. To construct filters on kinds, new names should be used. For example,kind="VULNERABILITY
. - Occurrence kind names are changed in output accordingly.
- Changed occurrence kind
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 togcloud beta privateca roots delete
andgcloud 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 forgcloud compute images import
.
Eventarc
- Added
--transport-topic
flag togcloud beta eventarc triggers create
, to allow the use of an existing Pub/Sub topic for a trigger's transport intermediary.
Miscellaneous
- Fixed https://issuetracker.google.com/161399034 where
--sort-by
flag caused the output to duplicate the last value in the list.
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
andsampling-percentage
togcloud 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
togcloud 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
andsampling-percentage
togcloud 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 ofgcloud ml speech recognize
andgcloud ml speech recognize-long-running
to GA.
Cloud Workflows
- Added
gcloud workflows
andgcloud workflows executions
commands to GA.
Compute Engine
- Added
--compute-service-account
togcloud 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
andgcloud 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
andgcloud beta compute backend-services export
:- cdnPolicy:
- bypassCacheOnRequestHeaders
- serveWhileStale
- Promoted
--compute-service-account
flag to GA forgcloud compute images export
. - Added
org-firewall-policies
command group.
Config Connector
- Updated Google Cloud Config Connector to version 1.35.0. See Config Connector Overview for more details https://cloud.google.com/config-connector/docs/overview.
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 togcloud beta secrets create
andgcloud beta secrets update
commands to specify timestamp for the secret to expire. - Added
--ttl
flag togcloud beta secrets create
andgcloud beta secrets update
commands to specify a duration until the secret should expire. - Added
--remove-expiration
flag togcloud 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 togcloud 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 togcloud dataproc workflow-templates set-managed-cluster
to allow users to configure Compute Engine Shielded VMs on Dataproc managed clusters.
Cloud Filestore
- Added
--description
flag togcloud beta filestore backups create
command.
Cloud Run
- Promoted
--use-http2
flag to beta for Cloud Run (fully managed).
Config Connector
- Updated Google Cloud Config Connector to version 1.34.0. See Config Connector Overview for more details https://cloud.google.com/config-connector/docs/overview.
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 togcloud beta active-directory domains create
andgcloud beta active-directory domains update
. - Added
AUDIT_LOGS_ENABLED
parameter togcloud beta active-directory domains list
. - Added
auditLogsEnabled
parameter togcloud 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 viagrpc-files
flag to beta.
Cloud Composer
- Added
--max-pods-per-node
option togcloud 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 togcloud beta dataflow jobs run
. - Added
--enable-streaming-engine
flag togcloud dataflow jobs run
.
Cloud Filestore
- Promoted
nfs-export-options
key of--file-shares
flag ingcloud 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 forgcloud compute interconnects attachments <dedicated|partner> <create|update>
. - Changed
--os
flag to be optional for:gcloud compute images import
in betagcloud compute instances import
in betagcloud compute machine-images import
in beta
- Promoted
--maintenance-window-start-time
flag ingcloud compute sole-tenancy node-groups create
command to GA. - Added
--compute-service-account
togcloud compute images export
in beta. - Added
--service-directory-registration
togcloud compute forwarding-rules create
in beta. - Promoted
--no-address
flag to GA forgcloud compute images import
.
Config Connector
- Updated Google Cloud Config Connector to version 1.33.0. See Config Connector Overview for more details https://cloud.google.com/config-connector/docs/overview.
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
andegress-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
andegress-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 ofgcloud 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
andgcloud 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 ofgcloud run deploy
andgcloud run services update
to GA. - Promoted
--ingress
flag ofgcloud run deploy
andgcloud run services update
to beta.
Cloud SQL
- Promoted
--type
flag ofgcloud 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 forgcloud compute images import
,gcloud compute instances import
, andgcloud 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 ingcloud compute sole-tenancy node-templates create
command to GA. - Added
--shielded-vtpm
,--shielded-secure-boot
, and--shielded-integrity-monitoring
flags togcloud compute instances create-with-container
command. - Added
--shielded-vtpm
,--shielded-secure-boot
, and--shielded-integrity-monitoring
flags togcloud compute instance-templates create-with-container
command. - Added
--shielded-vtpm
,--shielded-secure-boot
,--shielded-integrity-monitoring
, and--shielded-learn-integrity-policy
flags togcloud 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
andgcloud 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
andgcloud compute backend-services export
:- customResponseHeader
- cdnPolicy:
- cacheMode
- clientTtl
- defaultTtl
- maxTtl
Events
- Added URI support to
--target-service
ofgcloud events triggers create
. - Modify
--type
flag ofgcloud events triggers create
to be optional for ApiServerSource.
Kubernetes Engine
- Added
--addons=GcePersistentDiskCsiDriver
togcloud container clusters create
and--update-addons=GcePersistentDiskCsiDriver
togcloud 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 togcloud compute networks vpc-access connectors create
which can be used to specify a subnet to house the connector rather than specifyingnetwork
andrange
flags.- If the provided subnet is a shared subnet, the flag
subnet-project
has been added to specify the host project id.
- If the provided subnet is a shared subnet, the flag
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:
gcloud ai-platform models
gcloud ai-platform versions
gcloud ai-platform predict
gcloud ai-platform explain
Learn more about regional endpoints and see a list of available regions here: https://cloud.google.com/ai-platform/prediction/docs/regional-endpoints.
App Engine
- Updated
gcloud beta app instances list
andgcloud 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 ofgcloud assured workloads create
to be optional. - Add
--provisioned-resources-parent
flag togcloud 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 asnotifications-rule-*
flags in GA.
- Renamed
Cloud Build
- Added flag
--no-external-ip
togcloud beta builds worker-pools <create|update>
commands.
Cloud Composer
- Added
--kms-key-name
flag togcloud beta composer environments
command to specify the Customer-managed KMS key name to use for encrypting the Composer environment.
Cloud DNS
- Fixed issue where
gcloud dns managed-zones update
could not remove labels. This issue can be tracked at https://issuetracker.google.com/issues/171509626.
Cloud Dataproc
- Added
--max-failures-total
flag togcloud 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 thegcloud filestore
command group. - Added
gcloud filestore operations cancel
to cancel a Filestore operation.
Cloud Functions
- Fixed issue where
gcloud functions deploy
would crash with an AttributeError when provided invalid YAML data. This issue can be tracked at https://issuetracker.google.com/issues/173043502.
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 togcloud 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
ofgcloud logging sinks
to beta. BigQuery sinks with partitioned tables are GA.
Cloud Memorystore
- Added
--transit-encryption-mode
flag togcloud beta redis instances create
to allow enabling Redis TLS with server authentication when creating a new instance.
Cloud Source Repositories
- Fixed issue where
gcloud source repos clone
installed its credential helper for all URLs instead of only for Cloud Source Repositories URLs. This issue can be tracked at https://issuetracker.google.com/issues/173139520.
Cloud Spanner
- Added
--strong
and--read-timestamp
flags togcloud 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 ingcloud compute instance-groups managed create
command to beta. - Promoted
--distribution-target-shape
flag ingcloud compute instance-groups managed update
command to beta. - Promoted
--network
,--subnetwork
, and--private-network-ip
flags ofgcloud compute instances network-interfaces update
to GA. - Promoted
--enable-endpoint-independent-mapping
flag ofcompute routers nats create
andcompute 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 ofgcloud 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
forgcloud beta compute forwarding-rules
create
andset-target
with specified-load-balancing-scheme=INTERNAL_SELF_MANAGED
. - Promoted
--no-address
flag ingcloud beta compute instances import
command to GA.
Config Connector
- Updated Google Cloud Config Connector to version 1.32.0. See Config Connector Overview for more details https://cloud.google.com/config-connector/docs/overview.
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 ingcloud 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
ofgcloud events triggers create
. - Updated
gcloud beta events init
to set the rolesmonitoring.metricWriter
andcloudtrace.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 ofgcloud 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 togcloud assured workloads create
command.
Cloud Asset Inventory
- Added new content type
os-inventory
togcloud asset export
andgcloud asset get-history
.
Cloud Healthcare
- Promoted
gcloud healthcare hl7v2-stores export
to beta.
Cloud Pub/Sub
- Promoted
--message-filter
flag ofgcloud 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 ingcloud compute packet-mirrorings create/update
commands to beta and GA.
Config Connector
- Updated Google Cloud Config Connector to version 1.30.0. See Config Connector Overview for more details https://cloud.google.com/config-connector/docs/overview.
Identity Groups
- Updated
--organization
flag forgcloud identity groups create
andgcloud 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
ofgcloud 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
ingcloud beta ai endpoints deploy-model
to be a non-required flag. - Added
--enable-access-logging
,--enable-container-logging
, and--service-account
flags togcloud beta ai endpoints deploy-model
.
App Engine
- Updated the Java SDK to version 1.9.83. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes.
- Promoted
gcloud app services update
to GA.
App Engine Flexible Environment
- Promoted
gcloud app services update
to GA.
Artifact Registry
- Added
--show-occurrences
flag togcloud artifacts docker images list
command that enables showing metadata from Container Analysis API.
Cloud SQL
- Added following flags of
gcloud sql instances create
andgcloud 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 flaggcloud compute disks snapshot
. - Added
PRIVATE_SERVICE_CONNECT
as a global address purpose togcloud beta compute forwarding-rules create
. - Added
--target-google-apis-bundle
togcloud beta compute forwarding-rules create
. - Added
--no-address
flag togcloud 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
andgcloud asset analyze-iam-policy-longrunning
to GA.
Cloud Billing
- Promoted
gcloud billing budgets
to beta.
Cloud Build
- Added the flag
--pack
to the commandgcloud builds submit
.
Cloud Functions
- Promoted
build-env-vars
flags ofgcloud 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 ofgcloud 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
togcloud beta container clusters create
andgcloud 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
togcloud 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
togcloud 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 ofgcloud ai-platform
command to include new CAIP regions.
App Engine
- Updated the Go SDK to version 1.9.72. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/go/release-notes.
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 allowscloud-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 forgcloud compute networks <create|update>
. - Promoted
gcloud compute instances set-name
command to beta. - Promoted
scope
option for--disk
flag forgcloud 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
togcloud beta compute backend-services create
,gcloud beta compute backend-services update
,gcloud beta compute backend-buckets create
andgcloud beta compute backend-buckets update
. - Added
cdnPolicy.negativeCaching
andcdnPolicy.negativeCachingPolicy
togcloud beta compute backend-services import
andgcloud 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
- Added Google Cloud Config Connector v1.26.0. See Config Connector Overview for more details https://cloud.google.com/config-connector/docs/overview.
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 ofgcloud 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 togcloud 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
!=
andnot-in
operators.
- Fix handling of
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 forgcloud compute images import
in GA,gcloud compute instances import
in GA, andgcloud compute machine-images import
in beta. - Promoted
--disable-default-snat
flag forgcloud 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
- Updated
cloud-build-local
component to version v.0.5.1. This fixes an issue identified in https://github.com/GoogleCloudPlatform/cloud-build-local/releases/tag/v0.5.1. - Fixed issue where
gcloud builds submit
would not transfer symbolic links correctly to the build.
Cloud Dataproc
- Removed prompt from
gcloud dataproc clusters stop
andgcloud 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 ofgcloud run deploy
andgcloud 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 togcloud 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 togcloud 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
- Statically linked
cloud-build-local
component. For more information, see https://issuetracker.google.com/issues/166758582.
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 togcloud 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
- Promoted
gcloud pubsub lite-topics
andgcloud pubsub lite-subscriptions
to GA. For more information about Pub/Sub Lite, see https://cloud.google.com/pubsub/lite/docs.
Cloud Run
- Promoted
--min-instances
flag ofgcloud run deploy
andgcloud 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 ofgcloud 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 forgcloud compute networks <create|update>
. - Promoted
gcloud compute instances set-name
command to beta. - Promoted
scope
option for--disk
flag forgcloud 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
andnomos
.
Firebase Test Lab
- Added
--other-files
flag togcloud 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 andbilling/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 togcloud beta artifacts repositories create
to allow labels to be added to a repository during creation.
Assured Workloads
- Removed option limitations for
--location
flag ofgcloud assured workloads create
.
BigQuery
- Fixed 'RedirectMissingLocation' issue.
Cloud Asset Inventory
- Added
--partition-key
and--per-asset-type
flags togcloud asset export
to support partitioned per-type BigQuery export. - Removed
gcloud alpha asset analyze-iam-policy
. Please usegcloud beta asset analyzer-iam-policy
instead.
Cloud Billing
- Added
gcloud beta billing accounts add-iam-policy-binding
andgcloud 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 togcloud dataproc clusters create
to allow clusters to be created on a Compute Engine sole-tenant node group. - Added
--node-group
flag togcloud 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 ofgcloud pubsub subscriptions create
and--ordering-key
flag ofgcloud 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 currentgcloud
project for quota by default. See help forbilling/quota_project
property or--billing-project
flag for more details on how to control this behavior. - Added ubuntu-2004 option of
--os
flag forgcloud compute images import
in GA,gcloud compute instances import
in GA, andgcloud compute machine-images import
in beta. - Promoted
--service-proxy
and--service-proxy-labels
flags to GA forgcloud 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
togcloud 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 ofgcloud container binauthz attestations create
andgcloud 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
andgcloud 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 ofgcloud 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 ofgcloud 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
, andgcloud assured operations describe
.
Cloud Dataproc
- Added
--private-ipv6-google-access-type
flag togcloud dataproc clusters create
andgcloud 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 togcloud beta secrets create
command to specify replication policy using a JSON or YAML file. - Added
--kms-key-name
flag togcloud 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
togcloud run deploy
,gcloud run services update
, andgcloud run replace
.
Compute Engine
- Promoted
--disk
flag ofgcloud compute sole-tenancy node-templates create
to beta. - Added
--accelerator
flag ofgcloud 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
togcloud container clusters create
andgcloud 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
togcloud container clusters create
andgcloud 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
withgcloud container clusters create
andgcloud container clusters update
. - Promoted
--autoprovisioning-min-cpu-platform
flag ofgcloud container clusters create
andgcloud 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.
- Modified
Cloud Firestore
- Promoted
gcloud firestore databases
to beta and GA. - Promoted
gcloud datastore databases
to beta and GA.
Cloud SQL
- Updated
cloud_sql_proxy
component to version 1.17.0. Please visit the following release notes for details: https://github.com/GoogleCloudPlatform/cloudsql-proxy/releases. - Added support for offloading export operations.
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
andgcloud 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
andgcloud beta compute backend-services export
:- customResponseHeader
- cdnPolicy:
- cacheMode
- clientTtl
- defaultTtl
- maxTtl
- negativeCaching
- negativeCachingPolicy
Kubernetes Engine
- Added
--notification-config
togcloud <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
andgcloud 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 forgcloud data-catalog taxonomies
in beta. - Implemented
import
command forgcloud data-catalog taxonomies
in beta.
Cloud Dataproc
- Added
--enable-kerberos
flag togcloud dataproc clusters create
andgcloud 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 showIngress: internal
. Services that are not cluster-local showIngress: all
. Use--connectivity
flag ofgcloud run deploy
orgcloud 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
- Updated the Java SDK to version 1.9.82. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes.
Cloud Dataflow
- Promoted
gcloud dataflow flex-template build
to GA. Promotedgcloud 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 ofgcloud compute addresses create
to GA. - Promoted
--logging-metadata
flag to GA forgcloud compute firewall-rules create
gcloud compute firewall-rules update
.
- Promoted
--network
,--subnetwork
, and--private-network-ip
flags ofgcloud compute instances network-interfaces update
to beta.
Firebase Test Lab
- Added
--additional-ipas
flag togcloud 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 ofgcloud 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
andremove-iam-policy-binding
commands, with support for modifying IAM policies for tables and views.
Cloud Dataproc
- Added
--dataproc-metastore
flag togcloud beta dataproc clusters create
to allow clusters to be created with a Dataproc Metastore service. - Added
--dataproc-metastore
flag togcloud 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 togcloud 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 forgcloud 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
forgcloud compute instance-groups managed create-instance
to GA. - Added
--network
flag togcloud 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
- Updated
gcloud secrets versions access
command to redact the output from logs produced by the gcloud command-line tool. For more information, see https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets#secretmanager-access-secret-version-cli.
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
togcloud 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 commandgcloud 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
ingcloud beta pubsub lite-topics create
andgcloud beta pubsub lite-topics update
with--per-partition-publish-mib
and--per-partition-subscribe-mib
flags.
Cloud Run
- Added
--image
flag togcloud 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 ofgcloud beta compute sole-tenancy node-templates create
to GA. - Promoted
--stateful-disk
flag forgcloud compute instance-groups managed create
to GA. - Promoted
--stateful-disk
,--remove-stateful-disk
flags forgcloud compute instance-groups managed update
to GA. - Promoted
--scale-in-control
flag ofgcloud compute instance-groups managed set-autoscaling
to GA. - Promoted
--scale-in-control
and--clear-scale-in-control
flags ofgcloud compute instance-groups managed update-autoscaling
to GA.
Deployment Manager
- Added
--custom-certificate-authority-roots
flag togcloud deployment-manager type-providers <create|update>
.
Kubernetes Engine
- Promoted the GKE add-on
ConfigConnector
ofgcloud 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.
- Use
- 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 ofgcloud 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 ofgcloud composer environments run
fails in older Airflow versions. - Added
--web-server-machine-type
flag togcloud 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
togcloud 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 ofgcloud ai-platform jobs submit training
to GA.
Cloud Bigtable
- Promoted
gcloud bigtable backups
commands group to GA. - Promated
gcloud bigtable instances tables restore
andgcloud bigtable instances tables list
to GA.
Cloud Build
- Added
--comment-control
flag option COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY togcloud builds triggers create github
in alpha and beta.
Cloud Composer
- Added
--cloud-sql-machine-type
flag togcloud beta composer environments
commands to specify the Cloud SQL machine type used by the Airflow database.
Cloud Data Catalog
- Added
--restricted-locations
togcloud data-catalog search
to enable regional search.
Compute Engine
- Added
--log-location
flag togcloud compute instances import
andgcloud beta compute machine-images import
. - Promoted
--condition
flag forgcloud 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 ofgcloud compute os-config patch-jobs execute
to GA. - Allowed using
user-data
key in metadata withgcloud compute instances create-with-container
. - Promoted
--condition
flag to GA forgcloud 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
togcloud beta container clusters create
andgcloud beta container clusters update
. This flag is used to enable a 3P identity provider on a cluster. - Added flag
--enable-dataplane-v2
togcloud <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
- Promoted
--machine-type
and--accelerator
flags to GA. While these flags are GA, some machine types themselves may be in beta; for more information, see https://cloud.google.com/ai-platform/prediction/docs/machine-types-online-prediction#available_machine_types. - Promoted
--region
to GA to enable regional endpoint specification; this is the preferred method for using online prediction for n1* machine types.
App Engine
- Added support for directly deploying the Gradle project 'build.gradle' file.
Cloud Asset Inventory
- Modified
gcloud asset search-all-resources
andgcloud asset search-all-iam-policies
to apply--page-size=20
by default.
Cloud Dataproc
- Added
--dag-timeout
flag togcloud 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 ofgcloud pubsub subscriptions create
and--ordering-key
flag ofgcloud pubsub topics publish
to beta.
Cloud Resource Manager
- Promoted
gcloud resource-manager org-policies
command group to GA.
Cloud Run
- Promoted
--tag
flag ofgcloud run deploy
to beta. - Promoted
--tag
flag ofgcloud run services update
to beta. - Promoted
--to-tags
,--set-tags
,--update-tags
,--remove-tags
, and--clear-tags
flags ofgcloud run services update-traffic
to beta.
Cloud SQL
- Promoted server-level
--collation
flag ofgcloud 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 ofgcloud 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 togcloud 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
ofgcloud container clusters create
andgcloud 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
ofgcloud container clusters create
andgcloud 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
- Updated the Java SDK to version 1.9.81. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes.
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 ofgcloud compute images update
to beta. - Promoted
--target-grpc-proxy
forgcloud compute forwarding-rules <create|set-target>
to GA. - Promoted documentation for
--protocol
to include GRPC forgcloud 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 togcloud compute instance-groups managed <set|update>-autoscaling
. Theonly-scale-out
value directly replaces and deprecates theonly-up
value.
Kubernetes Engine
- Promoted NodeLocalDNS Addon to GA. Use NodeLocalDNS addons with
gcloud container clusters create
andgcloud 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 togcloud dataproc clusters create
andgcloud 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 ofgcloud sql instances create
andgcloud sql instances patch
to GA. - Promoted
--point-in-time
flag ofgcloud sql instances clone
to GA.
Compute Engine
- Promoted
--source-disk
flag ofgcloud 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 togcloud beta container clusters create
,gcloud beta container node-pools create
, andgcloud 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
- Added
gcloud cheat-sheet
command to display the gcloud command-line tool cheat sheet. For the full cheat sheet, refer to https://cloud.google.com/sdk/docs/cheatsheet.
Anthos
- Added
gcloud anthos create-login-config
command to GA.
Cloud Asset Inventory
- Promoted Cloud assets search commands
gcloud asset search-all-resources
andgcloud 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 ofgcloud dataproc clusters create
andgcloud 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 togcloud beta compute disks create
. - Removed
interface
key from--disk
key ofgcloud 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 togcloud 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
flaggcloud 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
andgcloud container clusters update
.
VPC Access
- Added
--vpc-connector
flag togcloud run deploy
andgcloud 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 togcloud ml-engine jobs submit training
andgcloud 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 forgcloud compute disks add-iam-policy-binding
gcloud compute disks remove-iam-policy-binding
to GA.
Promote
--condition
flag forgcloud 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)
- Fixed bug in
gcloud app deploy
command. This issue can be tracked at https://issuetracker.google.com/issues/159109983
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 togcloud compute instances set-scheduling
. - Promoted
--multi-writer
flag ofgcloud 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 ofgcloud 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
andgcloud 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 togcloud run services describe
andgcloud 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 ofgcloud compute images list
. - Promoted
gcloud compute commitments create-license
to beta. - Added flag
--instance-update-minimal-action
flag togcloud beta compute instance-groups managed instance-configs <create|update|delete>
.
Kubernetes Engine
- Added
--master-logs
and '--enable-master-metrics' flags togcloud 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 ofgcloud 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 ofgcloud 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 ofgcloud 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 togcloud beta compute instances create-with-container
. - Promoted
--private-ipv6-google-access-type
flag ofgcloud compute instances <create|create-with-container>
to GA. - Promoted
--private-ipv6-google-access-type
flag ofgcloud compute instance-templates <create|create-with-container>
to GA. - Promoted
--private-ipv6-google-access-type
flag ofgcloud compute networks subnets <create|update>
to GA. - Added
--interface
flag togcloud beta compute disks create
. - Added
--interface
flag togcloud beta compute instances attach-disk
. - Added
interface
key to--disk
key ofgcloud beta compute instances create
.
Game Servers
- Added
--description
togcloud <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 withhttps://secretmanager.googleapis.com/v1/
instead ofhttps://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
togcloud <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
andgcloud 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
, andgcloud 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
toREPLACE
for--update-instance
flag ofgcloud compute instance-groups managed instance-configs create|update
. - Promoted
--maintenance-policy
ofgcloud 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
- Updated the Python SDK to version 1.9.91. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/python/release-notes.
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 ofgcloud firebase test android run
to GA.
Kubernetes Engine
- Promoted
--disable-default-snat
flag ofgcloud 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
andgcloud 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
- Fixed an issue in
gcloud auth login
andgcloud init
when running behind a proxy/firewall. This issue can be tracked at https://issuetracker.google.com/issues/155818300.
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 withPLATFORM
asGCE
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
andexport
commands togcloud compute <target-http-proxies|target-https-proxies>
. - Promoted
--private-ipv6-google-access-type
flag ofgcloud compute instances <create|create-with-container>
to beta. - Promoted
--private-ipv6-google-access-type
flag ofgcloud compute instance-templates <create|create-with-container>
to beta. - Promoted
--autoscaler-mode
,--min-nodes
, and--max-nodes
flags of commandgcloud compute sole-tenancy node-groups create
to GA.
Kubernetes Engine
gcloud container
now respectscompute/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
togcloud beta ai-platform versions update
andgcloud beta ai-platform versions update
to allow specifying manual and auto-scaling parameters.
App Engine
- Updated the Java SDK to version 1.9.80. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes.
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
togcloud dataproc clusters create
andgcloud 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.
- FHIR store creation requires a
Cloud IAM
- Promoted
--condition
flag to GA forgcloud 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 ofgcloud 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 ofgcloud compute networks peerings create
andgcloud compute networks peerings update
to beta and GA. - Promoted
--domains
flag ofgcloud compute ssl-certificates create
to GA. - Promoted
suspend
andresume
commands ofgcloud compute instances
command group to beta.
Firebase Test Lab
- Added
--testing-special-entitlements
flag togcloud 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 ofgcloud container clusters create
andgcloud 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 ofgcloud 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 forgcloud compute instances create
andgcloud compute instance-templates create
commands. - Added PRIVATE_SERVICE_CONNECT as a type of global address reservation.
- Added
--target-bundle
option ingcloud compute forwarding-rules create
.
Kubernetes Engine
- Promoted the GKE
ConfigConnector
add-on ofgcloud container clusters create
andgcloud 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.
- Use
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
289.0.0 (2020-04-14)
App Engine
- Deploying Maven projects using a pom.xml file is now GA.
- Updated the Python SDK to version 1.9.90. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/python/release-notes.
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
andgcloud 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 togcloud redis instances upgrade
.
Cloud Run
- Promoted the Knative API version used from v1alpha1 to v1 on all
gcloud beta run
andgcloud 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 forgcloud beta ai-platform
.
Cloud Access Context Manager
- Renamed
gcloud beta access-context-manager perimeters dry-run reset
asgcloud 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
ingcloud dataproc clusters update
from 3h to 25h. This prevents client-side timeouts during long graceful decommissioning operations.
Cloud Run
- Promoted
--no-traffic
flag ofgcloud run deploy
to GA for--platform=managed
.
Compute Engine
- Promoted
--scale-in-control
flag ofgcloud compute instance-groups managed set-autoscaling
to beta. - Promoted
--scale-in-control
and--clear-scale-in-control
flags ofgcloud compute instance-groups managed update-autoscaling
to beta. - Added support of tabular display format of command
gcloud compute networks get-effective-firewalls
andgcloud 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
- Updated the Python SDK to version 1.9.89. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/python/release-notes.
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
andaccess-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
ingcloud beta composer environments create
.
Cloud Dataproc
- Promoted
gcloud dataproc jobs submit presto
command group to GA.
Cloud Machine Learning Engine
- Added
--json-request
flag togcloud ml-engine predict
andgcloud 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 forgcloud compute images import
andgcloud compute instances import
to GA. - Promoted
--resource-policies
flag ofgcloud compute instances create
to GA. - Promoted
--logging-filter-expr
and--logging-metadata-fields
flags ofgcloud compute networks subnets create
andgcloud compute networks subnets update
to GA. - Promoted
--platform-key-file
,--key-exchange-key-file
,--signature-database-file
, and--forbidden-database-file
flags ofgcloud 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
- Updated the Java SDK to version 1.9.79. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes.
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 togcloud dataflow jobs run
. - Added deprecation notice for
--zone
parameter togcloud dataflow jobs run
. - Added
--num-workers
,--worker-machine-type
,--network
,--subnetwork
, and--dataflow-kms-key
parameters togcloud beta dataflow sql query
. - Promoted
--num-workers
,--worker-machine-type
,--network
, and--subnetwork
parameters to GA ingcloud 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 usinggcloud beta redis instances create
. - Enabled support for Redis version 5.0 (beta) stream node configurations. Added
stream-node-max-bytes
andstream-node-max-entries
as new options for--redis-config
flag when usinggcloud beta redis instances create
. - Enabled support for
stream-node-max-bytes
andstream-node-max-entries
for--update-redis-config
flag when usinggcloud 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 ofgcloud 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 ofgcloud 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
ofgcloud compute instance-groups managed rolling-action restart
to GA. - Promoted
--[no-]enable-logging
flag ofgcloud compute health-checks
command group to beta. - Added
cpu-overcommit-type
flag togcloud 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 ofgcloud compute backend-services create
andgcloud compute backend-services update
to GA. - Promoted
--failover
flag ofgcloud compute backend-services add-backend
andgcloud 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 ofgcloud 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 togcloud 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
togcloud 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 togcloud 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 ofgcloud run services update
,gcloud run deploy
,gcloud beta run services update
, andgcloud beta run deploy
to support repeated usages on a single command invocation.
Compute Engine
- Added
cpu-overcommit-type
flag togcloud 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
togcloud 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 togcloud container clusters create
andgcloud 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
andgcloud 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
ofgcloud beta container clusters update
. - Renamed
--identity-namespace
ofgcloud beta container clusters
to--workload-pool
. - Changed the choices of
--workload-metadata-from-node
ofgcloud beta container node-pools
to ["GCE_METADATA", "GKE_METADATA"].
- Promoted
- (Kubernetes Engine) Removed "UNSPECIFIED" from the choices of
--workload-metadata-from-node
ofgcloud beta container node-pools
.
App Engine Flexible Environment
- Removed the deprecated flag
--use-container-optimized-os
fromgcloud 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
andgcloud 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 togcloud beta compute images import
andgcloud beta compute instances import
.
Kpt
- Updated kpt from v0.7.0 to v0.9.0.
- Added
kpt live init
command to existingkpt 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 togcloud 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 fromgcloud 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 ofgcloud 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 ofgcloud compute instances create
to beta. - Added
get-iam-policy
andset-iam-policy
commands togcloud compute resource-policies
command group. - Promoted
export
andupdate-from-file
commands ofgcloud 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 existinglevels
orperimeters
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 togcloud dataflow jobs run
.
Cloud Functions
- Promoted
--egress-settings
and--ingress-settings
flags ofgcloud functions deploy
to GA.
Cloud Key Management Service
- Added EKM availability to
gcloud beta kms locations list
.
Cloud Memorystore
- Added
--connect-mode
flag togcloud 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
ingcloud auth login
to not write a quota project to the generated application default credential file. Usegcloud auth application-default login --add-quota-project
orgcloud auth application-default set-quota-project
to add a quota project to the generated file.
AI Platform
- Added xrai option for
--explanation-method
flag togcloud 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 tocbt
command line tool, which will clear a Cloud Bigtable table.
Cloud Dataproc
- Promoted
gcloud dataproc clusters import
andgcloud dataproc clusters export
to GA.
Cloud IAM
- Promoted
--condition
flag to beta forgcloud 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
andstatusTarget
fields from the yaml and json output ofgcloud run services update-traffic
. The information nested withinspecTarget
andstatusTarget
is available in the top-levellatestRevision
,revisionName
,specPercent
, andstatusPercent
fields of the output.
Cloud Tasks
- Added
--response-view
parameter togcloud tasks describe
.
Compute Engine
- Added sles-12-byol, sles-15-byol, and opensuse-15 options for
--os
flag togcloud beta compute images import
andgcloud beta compute instances import
. - Fixed issue where
gcloud compute ssh
command fails with--impersonate-service-account
flag. - Promoted
--network
flag ofcompute 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 ofgcloud container clusters create
andgloud container clusters update
to GA. - Added
--addons=GcePersistentDiskCsiDriver
togcloud beta container clusters create
and--update-addons=GcePersistentDiskCsiDriver
togcloud 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
fromgcloud sql create
.
- Removed First Generation instance only flags:
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
- Added
Cloud Run
- Added
--force-override
togcloud 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 ofgcloud compute forwarding-rules create
to GA. - Promoted
gcloud compute forwarding-rules update
to GA. - Added
HEALTH_STATE
to output ofgcloud 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 ingcloud 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 fromcompute beta packet-mirrorings create
andcompute 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 forgcloud compute images import
andgcloud compute instances import
to GA. - Promoted
--hostname
flag ofgcloud compute instances import
to GA. - Promoted
gcloud compute packet-mirrorings
command group to GA. - Promoted
--is-mirroring-collector
flag ofgcloud compute forwarding-rules create
to GA. - Promoted
--logging-metadata
flag forgcloud compute firewall-rules create
andgcloud 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 ofgcloud compute backend-services
to beta.
Kubernetes Engine
- Promoted
--enable-shielded-nodes
to GA. Use this flag withgcloud container clusters create
orgcloud 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
- Updated the Java SDK to version 1.9.78. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes.
Artifact Registry
- Rolled back
gcloud beta artifacts
command group to alpha state.
Cloud Dataflow
- Added
--flex-template
flag togcloud 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
andgcloud pubsub subscriptions update
to GA.
Compute Engine
- Promoted permission validation in
gcloud compute images import
,gcloud compute images export
, andgcloud 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; usegcloud compute instance-groups managed wait-until --stable
instead. - Renamed
--update-stateful-disk
and--update-stateful-metadata
ofgcloud compute instance-groups managed instance-configs update
to--stateful-disk
and--stateful-metadata
respectively. - Renamed
--update-stateful-disk
ofgcloud 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 fromgcloud 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 withgcloud 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
orgcloud container clusters update
:--autoscaling-profile=balanced
(default) or--autoscaling-profile=optimize-utilization
. - Promoted
--sandbox
flag ofgcloud 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 setdataproc/region
configuration variable viagcloud config set dataproc/region
.
- To use Cloud Dataproc commands, pass
Cloud SDK
- Added
--update-adc
togcloud 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
togcloud beta compute instances import
. - Promoted
--instance-redistribution-type
flag ofcompute instance-groups managed create
to GA. - Promoted
--instance-redistribution-type
flag ofcompute instance-groups managed update
to GA. - Promoted
gcloud compute diagnose export-logs
to beta. - Promoted
--replacement-mode
flag of commandgcloud compute instance-groups managed rolling-action start-update
andgcloud 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
isspecific
, matchinggcloud 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 ofgcloud dataproc clusters create
to GA.
Cloud Storage
- Updated gsutil component to 4.47.
Compute Engine
- Promoted
--mode
flag ofgcloud 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
andgcloud 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
- Updated the Python SDK to version 1.9.88. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/python/release-notes.
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 togcloud beta data-catalog tag-templates create --field
to specify whether the tag template field is required. - Added
--required
flag togcloud 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 forgcloud run deploy
andgcloud services update
to GA. - Promoted
--port
flag forgcloud run deploy
andgcloud services update
to GA. - Promoted
--revision-suffix
flag forgcloud run deploy
andgcloud 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 togcloud compute backend-services update
to support unsetting all health checks for the given backend service. - Added
group-placement-policy
toresource-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
andgcloud 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
andgcloud 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)
- Fixed issue in which the Windows installer failed on install paths containing spaces. This issue can be tracked at https://issuetracker.google.com/issues/146458519.
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 inbq mk --transfer_confg
andbq 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 ofgcloud beta compute images import
andgcloud beta compute instances import
. - Promoted
--target-distribution-shape
flag ofcompute instance-groups managed create
to GA. - Promoted
--erase-windows-vss-signature
flag ofcompute 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 ofcompute 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 fromgcloud beta compute os-config guest-policies create
command to only allow creating a guest policy from a file. - Removed
--description
and--etag
flags fromgcloud 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 ofgcloud compute sole-tenancy node-groups create
to beta. - Promoted
--min-node-cpu
flag ofcompute instances create
to beta. - Added
--min-node-cpu
and--clear-min-node-cpu
togcloud compute instances set-scheduling
beta. - Added
--node-group
,--node
,--node-affinity-file
, and--clear-node-affinities
flags tocompute instances set-scheduling
beta.
Kubernetes Engine
- Added
--boot-disk-kms-key
togcloud beta container clusters create
and--boot-disk-kms-key
togcloud 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
- Added Table-level IAM controls. For more information, see
gcloud bigtable instances tables --help
and https://cloud.google.com/bigtable/docs/access-control.
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 ofgcloud 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 ofgcloud 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 ofgcloud compute sole-tenancy node-groups <create|update>
to beta. - Added and standardized the Windows Client BYOL names in
--os
flag ofgcloud 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 togcloud 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
withgcloud beta container clusters create
. This addon can be enabled or disabled on existing clusters using--update-addons=NodeLocalDNS=ENABLED
or--update-addons=NodeLocalDNS=DISABLED
withgcloud container clusters update
. - Fixed doc link of
gcloud container clusters create
amdgcloud 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
- The gcloud command-line tool now has beta support for using a Python 3.5+
interpreter, users interested in using Python 3 should switch now. Follow
the instructions linked below.
- Some Python tools other than the gcloud command-line tool that are shipped
in the Cloud SDK still require a Python 2.7 interpreter, for details run:
gcloud topic startup
or visit: https://cloud.google.com/sdk/gcloud/reference/topic/startup. - For more information on how to configure your Python interpreter, run:
gcloud topic startup
or visit: https://cloud.google.com/sdk/gcloud/reference/topic/startup.
- Some Python tools other than the gcloud command-line tool that are shipped
in the Cloud SDK still require a Python 2.7 interpreter, for details run:
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 togcloud dataproc jobs set-iam-policy --region
andgcloud dataproc jobs get-iam-policy --region
or to the polling requests ofgcloud dataproc jobs wait --region
andgcloud dataproc jobs kill --region
, resulting in errors whenever--region
was supplied and did not match the value ofgcloud 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 usegcloud 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
andgcloud 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
andmonitoring 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
- Updated the Java SDK to version 1.9.77. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes
App Engine Flexible Environment
- Deprecated
--use-container-optimized-os
flag ofgcloud 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
, andgcloud functions get-iam-policy
.
Cloud Run
- Removed the ability to specify deprecated string values like "Single" to
--concurrency
flag ingcloud beta run deploy
andgcloud 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 togcloud compute instance-templates create
command. - Added
--private-network-ip
flag togcloud 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 ofgcloud compute images create
andgcloud compute images import
to GA. - Promoted
gcloud compute instance-groups managed create-instance
command to beta.
Kubernetes Engine
- Promoted
--enable-vertical-pod-autoscaling
flag ofgcloud container clusters create
andgloud container clusters update
to GA. - Added
--release-channel
flag togcloud 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
withgcloud container clusters create
or--update-addons=CloudRun=ENABLED
withgcloud container clusters update
. - Promoted the GKE
ApplicationManager
add-on ofgcloud container clusters create
andgcloud 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.
- Use
- Promoted
--shielded-secure-boot
and--shielded-integrity-monitoring
flags ofgcloud container clusters create
andgloud 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 forgcloud <alpha|beta> ai-platform versions create
. - Added command
gcloud <alpha|beta> ai-platform explain
.
App Engine
- Updated the Python SDK to version 1.9.87. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/python/release-notes
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 togcloud 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.
- Added support for seeding database from export via
Cloud Storage
- Updated gsutil component to 4.46.
Compute Engine
- Promoted
--mode
flag ofgcloud 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
withgcloud container clusters create
orgcloud container clusters update
to enable this feature. - Added
--enable-autoprovisioning
togcloud container node-pools create
,gcloud beta container node-pools create
,gcloud beta container node-pools update
andgcloud 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 togcloud 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 withgcloud beta container
commands.
- Surge upgrade is enabled by default (
- Promoted the following flags to GA on
gcloud container clusters create
andgcloud 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
forgcloud container clusters create|update
, and--disable-database-encryption
forgcloud container clusters update
to GA. - Added
--enable-cloud-run-alpha
flag togcloud 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 forgcloud 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 ofgcloud compute routes create
to GA. - Promoted
gcloud compute packet-mirrorings
command group to beta. - Promoted
--is-mirroring-collector
flag ofgcloud 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 ofgcloud 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 ofgcloud compute routers nats
to GA.
GKE Hub
- Renamed
container hub register-cluster
andcontainer hub unregister-cluster
tocontainer memberships register
andcontainer 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 fromgcloud 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 forgcloud beta dataproc commands
, specifically when passing resources as URIs.- If
dataproc/region
is set--region
flag, still correctly override it.
- If
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 ofgcloud iam service-accounts create
andgcloud 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 ofgcloud 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
ingcloud 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
anddelete
commands togcloud 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
andconfigurations
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 togcloud spanner databases execute-sql
to support long-running requests.
Cloud Storage
- Updated gsutil component to 4.44.
Compute Engine
- Promoted
--networks
flag ofcompute backend-services create
to beta. - Promoted 'SHARED_LOADBALANCER_VIP' option of
--purpose
flag ofgcloud beta compute addresses create
to beta.
Kubernetes Engine
- Added the following flags to
gcloud beta container clusters create
andgcloud 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 ofgcloud container clusters create
to GA. - Added
--node-locations
flag togcloud container create node-pool
andgcloud 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 togcloud 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 togcloud 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 tobq 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 tobq ls
for listing child jobs of a script job.
Cloud DNS
- Promoted
--enable-logging
flag ofgcloud dns polices
to GA.
Cloud Dataproc
- Promoted
gcloud dataproc autoscaling-policies
command group to GA. - Promoted
--autoscaling-policy
flag ofgcloud dataproc clusters create
andgcloud 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 ofgcloud pubsub topics create
, and--recompute-message-storage-policy
and--message-storage-policy-allowed-regions
flags ofgcloud 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 ofgcloud run deploy
andgcloud 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 togcloud firebase test ios run
. - Added
--app
togcloud firebase test ios run
. - Added
--scenario-numbers
togcloud 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
- Fixed issue where the Google Cloud SDK Windows installer would break the
PSModulePath environment variable when installing the "Cloud Tools for
PowerShell" component. This issue was reported at
https://github.com/GoogleCloudPlatform/google-cloud-powershell/issues/524.
- Users affected by this breakage may need to manually add %HomeDrive%%HomePath%\Documents\WindowsPowerShell\Modules to their PSModulePath user environment variable. See the instructions here for adding a persistent value: https://docs.microsoft.com/en-us/powershell/developer/module/modifying-the-psmodulepath-installation-path#to-add-locations-to-the-psmodulepath-variable.
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 togcloud dataproc autoscaling-policies
orgcloud 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
- Promoted instance health state field of
gcloud compute instance-groups managed list-instances
to beta. - Made
--os
flag optional ingcloud <alpha|beta> compute instances import
. - Updated
gcloud compute ssh
to add support for reading SSH host keys from instance guest attributes. For more information, see https://cloud.google.com/solutions/connecting-securely#storing_host_keys_by_enabling_guest_attributes.
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 forgcloud 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 togcloud asset export
.
Cloud Dataproc
- Promoted accelerators and min cpu platform related flags to GA.
- Added
--preemptible-worker-accelerator
flag togcloud dataproc clusters create
, providing the capability for accelerators to be attached to preemptible workers.
- Added
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.
- Fix bug where WriteResults for deletes had an
Cloud Pub/Sub
- Promoted the following commands under
gcloud pubsub topics
andgcloud 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 ofgcloud 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 ofgcloud compute networks subnets <create|update>
to GA. - Promoted
--reservation
and--reservation-affinity
flags forgcloud compute instance-templates create
to GA. - Promoted
--reservation
and--reservation-affinity
flags forgcloud 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 forgcloud beta run update
andgcloud beta run deploy
to beta.
Cloud Speech API
- Promoted
--additional-language-codes
,--include-word-confidence
,--enable-speaker-diarization
,--diarization-speaker-count
flags ofgcloud ml speech recognize
to beta. - Promoted
--additional-language-codes
,--include-word-confidence
,--enable-speaker-diarization
,--diarization-speaker-count
flags ofgcloud ml speech recognize-long-running
to beta.
Compute Engine
- Promoted
gcloud compute networks peerings update
to GA. - Added
--family
flag togcloud beta compute images import
. - Added
--description
flag togcloud 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 forgcloud compute instances create
to GA. - Promoted
enable-display-device
andno-enable-display-device
flags forgcloud 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
togcloud container clusters create
. - Added
--release-channel
flag togcloud 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 fromgcloud 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
- Fixed issue where the ColumnFamilies and timestamp granularity was missing in the emulator's CreateTableResponse. This issue can be tracked at https://github.com/googleapis/google-cloud-go/issues/1512.
- Fixed issue where the emulator would return partial matches for a regex that contained alternation operator. This issue can be tracked at https://github.com/googleapis/google-cloud-go/issues/1499.
- Fixed issue where the emulator would ignore the result of a
PredicateFilter
. This issue can be tracked at https://github.com/googleapis/google-cloud-go/issues/1435.
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 togcloud beta compute images import
. - Added
--description
flag togcloud beta compute images import
.
Kubernetes Engine
- Removed the following flags from
gcloud beta container clusters create
andgcloud 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 thedataproc/region
configuration variable viagcloud config set dataproc/region
. - For
gcloud beta dataproc
commands, this flag/config value is required. - For
gcloud dataproc
commands, the default will remainglobal
until January 2020.
- To use Cloud Dataproc commands, pass the
- (Cloud Run) Removed
--[no-]allow-unauthenticated
flag fromgcloud beta run services update
. Usegcloud beta run services add-iam-policy-binding
andgcloud beta run services remove-iam-policy-binding
commands to modify the policies of an existing service.
Cloud SDK
- Deprecated
--size
alias ofgcloud container clusters resize --num-nodes
.
AI Platform
- Added
--tpu-tf-version
togcloud 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 ofgcloud compute images import
.
Kubernetes Engine
- Added
--enable-shielded-nodes
togcloud beta container clusters create
andgcloud 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 forgcloud 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 forgcloud container clusters create --enable-autoprovisioning
andgcloud 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 togcloud 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 togcloud 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
togcloud dataproc clusters create
command group. - Added flags
--max-age
, '--max-idle',--expiration-time
,--no-max-age
,--no-max-idle
togcloud 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 GAgcloud functions deploy
command remains the same.
Cloud Storage
- Updated gsutil component to 4.42.
Kubernetes Engine
- Added
--shielded-secure-boot
and--shielded-integrity-monitoring
togcloud beta container clusters create
andgcloud beta container clusters create
. These flags control the corresponding Shielded VM options on Nodes, see https://cloud.google.com/security/shielded-cloud/shielded-vm.
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
- Added
--disable-database-encryption
togcloud beta container clusters update
to allow disabling Database Encryption. For more information, see https://cloud.google.com/kubernetes-engine/docs/how-to/encrypting-secrets.
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 asmaxage=30d || (maxage=3d && maxversions=100)
.
Cloud Dataflow
- Added
--dataflow-kms-key
flag togcloud 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 ingcloud 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 respectiverun/platform
property to be required in allgcloud beta run
commands. If not specified, you will be prompted to choose a platform.
Cloud Asset Inventory
- Added new content type
access-policy
togcloud asset export
andgcloud asset get-history
.
Cloud Storage
- Updated gsutil component to 4.41.
Compute Engine
- Removed deprecation notice for
--zones
ingcloud 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 togcloud asset export
. - Added new content type
org-policy
togcloud asset export
andgcloud 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 ofgcloud 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 ofgcloud 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 ingcloud 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
. Usegcloud beta compute resource-policies create snapshot-schedule
instead.
Cloud SDK
- Promoted
--audiences
flag ofgcloud auth print-identity-token
to GA.
App Engine
- Updated the Java SDK to version 1.9.76. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes
BigQuery
- Added support for persistent user-defined functions and stored procedures in
bq show --routine
,bq ls --routines
, andbq 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
andshow 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 fromgcloud 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 ofgcloud compute images create
to beta. - Modified
gcloud compute backend-services create
andgcloud compute backend-services update
to relax validation for specifying--enable-logging
, and--logging-sample-rate
. - Promoted
http2
value to v1 for--protocol
flag ofgcloud compute backend-services create
andgcloud compute backend-services update
. - Promoted
gcloud compute start-iap-tunnel
to GA. - Promoted
--tunnel-through-iap
flag ofgcloud compute ssh
andgcloud compute scp
to GA. - Promoted
--internal-ip
flag ofgcloud compute scp
to GA. - Promoted
gcloud compute health-checks create http2
andgcloud 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 togcloud compute scp
, andgcloud compute ssh
, andgcloud 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
fromgcloud 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
andgcloud 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
- Updated
datalab
component to the 20190610 release. Released changes are documented in its tracking issue at https://github.com/googledatalab/datalab/issues/2144.
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 ofgcloud 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 ofgcloud compute forwarding-rules create
andgcloud compute forwarding-rules update
to beta. - Promoted
--source-snapshot
flag ofgcloud compute instances create
to GA. - Promoted
source-snapshot
option of--create-disk
flag ofgcloud 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 ofgcloud container clusters create
andgcloud 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 togcloud dataproc clusters create
andgcloud 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 respectiverun/platform
property to all commands ingcloud 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
orrun/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
withgcloud container clusters create
orgcloud container clusters update
to enable this feature. - Migrated the
Occurrence
type created bygcloud beta container binauthz attestations create
fromPgpSignedAttestation
toGenericSignedAttestation
.- 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.
- If you were signing JSON not generated by
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, rungcloud config set core/disable_file_logging True
.
App Engine
- Updated the Python SDK to version 1.9.86. For more details, see https://cloud.google.com/appengine/docs/python/release-notes.
- Updated the Java SDK to version 1.9.75. For more details, see https://cloud.google.com/appengine/docs/java/release-notes.
Cloud Functions
- Added
--clear-vpc-connector
flag togcloud 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
andgcloud 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 ofgcloud run deploy
andgcloud 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
ingcloud compute backend-services create
andgcloud compute forwarding-rules create
to GA. - Modified
gcloud compute backend-services create
andgcloud compute backend-services update
to allow toggling logging for backend services with HTTP2 protocol. - Promoted
--server-binding
flag ofgcloud compute sole-tenancy node-templates create
to GA. - Promoted
--enable-logging
and--log-filter
flags ofgcloud compute routers nats
to GA.
Kubernetes Engine
- Promoted Stackdriver Kubernetes Engine Monitoring to GA. Use
--enable-stackdriver-kubernetes
withgcloud container clusters create
orgcloud 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
, andupgradedb
subcommands withingcloud composer environments run
. Execution of these subcommands could be detrimental to the Airflow metadata of existing Composer environments.
Cloud Build
- Added
--ignore-file
flag togcloud 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 togcloud 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 togcloud beta firebase test android run
andgcloud 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 togcloud 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
togcloud app deploy
for overriding default .gcloudignore file.
Cloud Bigtable
- Promoted
gcloud bigtable instances tables list
to beta.
Cloud Build
- Added
--ignore-file
flag togcloud builds submit
for overriding default .gcloudignore file.
Cloud Dataproc
- Removed the
--max-age
,--max-idle
,--expiration-time
flags from thegcloud 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 togcloud 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
togcloud beta tasks queues create
andgcloud 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 withbps-
prefix fromgcloud compute interconnects attachments dedicated create
,gcloud compute interconnects attachments dedicated update
,gcloud compute interconnects attachments provider create
, andgcloud 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 togcloud beta functions deploy
.
Cloud Pub/Sub
- Promoted
--expiration-period
ingcloud pubsub subscriptions create
andgcloud 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 togcloud 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 togcloud beta asset export
.
Cloud Run
- Fixed
--uri
flag support forlist
commands ingcloud beta run
. - Cloud SQL flags are now available in beta.
Cloud Scheduler
- Added
gcloud beta scheduler jobs pause
andgcloud beta scheduler jobs resume
commands.
Compute Engine
- Promoted
--instance-redistribution-type
flag ofgcloud compute instance-groups managed create
andgcloud compute instance-groups managed update
to beta.
Kubernetes Engine
- Modified
gcloud container clusters create
andgcloud 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 togcloud 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 togcloud 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 ofgcloud 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. Usegcloud ai-platform
instead.
AI Platform
- Added the
gcloud ai-platform
command group to replacegcloud ml-engine
. - Promoted
gcloud ai-platform versions create
andgcloud ai-platform versions update
to beta. - Added the
--enable-console-logging
flag togcloud beta ai-platform models create
to enable logging of stderr and stdout streams for online prediction in Stackdriver Logging.
Cloud Composer
- Added five new flags to
gcloud beta composer environments create
to support IP alias (a.k.a. VPC-native) for Composer environments:--enable-ip-alias
--cluster-ipv4-cidr
--cluster-secondary-range-name
--services-ipv4-cidr
--services-secondary-range-name
Cloud Firestore Emulator
- Released Cloud Firestore Emulator version 1.4.5
- Fixed bug for Firestore REST API
- Added support to allow secure JWTs with warnings
Cloud SQL
- Added the
--root-password
flag togcloud sql instances create
.
Cloud Tasks
- Replaced
gcloud tasks queues create-app-engine-queue
andgcloud tasks queues update-app-engine-queue
withgcloud tasks queues create
andgcloud tasks queues update
in beta and GA.
Compute Engine
- Promoted
gcloud compute network-endpoint-groups
command group to GA. - Promoted the
--storage-location
and--labels
flag ofgcloud compute disks snapshot
to GA. - Promoted
--network-endpoint-group
and--network-endpoint-group-zone
flags ofgcloud compute backend-services add-backend
,gcloud compute backend-services remove-backend
, andgcloud compute backend-services update-backend
to GA. - Promoted
--max-connections-per-endpoint
and--max-rate-per-endpoint
flags ofgcloud compute backend-services add-backend
andgcloud compute backend-services update-backend
to GA. - Promoted
--use-serving-port
flag to GA for the following commands:gcloud compute health-checks http create
gcloud compute health-checks https create
gcloud compute health-checks http2 create
gcloud compute health-checks ssl create
- Promoted
--custom-request-headers
and--no-custom-request-headers
flags ofgcloud compute backend-services create
andgcloud compute backend-services update
to GA. - Promoted
--no-guest-environment
,--network
, and--subnet
flags ofgcloud compute images import
to GA. - Changed
--no-guest-environment
to--guest-environment
flag ingcloud compute images import
. - Promoted
--subnet
flag ofgcloud compute images export
to GA. - Promoted feature allowing
gcloud beta compute images import
andgcloud beta compute images export
to use temporary buckets in the same region as source/destination buckets. This avoids cross-region copying and its associated cost and performance penalty. - Promoted
--container-mount-disk-*
flags ofgcloud compute instances create-with-container
andgcloud compute instances update-container
to GA. - Promoted
--container-mount-disk-*
flags ofgcloud compute instance-templates create-with-container
to GA.
Kubernetes Engine
- Added
--update-addons=CloudRun=ENABLED|DISABLED
to allow enabling and disabling the Cloud Run on Google Kubernetes Engine add-on for existing GKE clusters. - Promoted the
--sandbox
flag ofgcloud container node-pools create
to beta. 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.
242.0.0 (2019-04-16)
Breaking Changes
- (Cloud Composer) Deprecated support for the
initdb
,resetdb
, andupgradedb
subcommands withingcloud composer environments run
. Execution of these subcommands can be detrimental to the Airflow metadata of existing Composer environments.
Cloud Data Catalog
- Added the
--lookup-entry
flag togcloud beta data-catalog entries update
to update the entry corresponding to the lookup of the given resource.
Cloud Firestore Emulator
- Released Cloud Firestore Emulator version 1.4.4
- Reduced lock contention for multiple writes on a single document
- Fixed bug where no-op writes were incorrectly updating the updatedAt timestamp
- Released Cloud Firestore Emulator version 1.4.3
- Fixed bug that caused parsing security rules with string literals to fail
Compute Engine
- Updated
gcloud beta compute ssh
andgcloud beta compute scp
to use IAP Tunneling by default if an external interface/IP address is not available and--internal-ip
has not been specified. - Added warning message about the maximum number of nodes that a cluster can have when being created.
- Added the
--deprecate-in
and--deprecate-on
flags togcloud compute images deprecate
to set informational deprecate times to images.
Identity and Access Management
- Added the
--description
flag togcloud beta iam service-accounts create
andgcloud beta iam service-accounts update
.
Kubernetes Engine
- Renamed
--size
flag ofgcloud container clusters resize
to--num-nodes
.--size
retained as an alias. - Disabled node auto-repair and node auto-upgrade by default when
--enable-kubernetes-alpha
flag is used to create clusters with Kubernetes alpha features enabled. Users may now create alpha clusters without specifying--no-enable-autorepair
or--no-enable-autoupgrade
flags. However, for creating new node pools in an existing alpha cluster, these two flags may still be required.
Miscellaneous
- Fixed a bug in
gcloud config config-helper
which could result in old identity tokens when--force-auth-refresh
was not present.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
241.0.0 (2019-04-03)
Breaking Changes
- (Cloud Functions) Modified
gcloud functions deploy
such that the--runtime
flag needs to be set when deploying a new function.
App Engine
- Updated the Java SDK to version 1.9.73. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes
- Updated the Python SDK to version 1.9.85. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/python/release-notes
BigQuery
- Added DML/DDL query results that display the number of affected rows (for DML) and performed operation and target name (for DDL).
Cloud Asset Inventory
- Promoted
gcloud asset
command group to GA
Cloud Bigtable
- Promoted the following to GA:
gcloud bigtable app-profiles
command groupgcloud bigtable clusters create
gcloud bigtable clusters update
gcloud bigtable clusters delete
Cloud Build
- Added
--network=cloudbuild
togcloud builds submit --tag
invocations ofdocker build
. This enables access to metadata during DockerfileRUN
operations at build time.
Cloud Composer
- Added three new flags to
gcloud beta composer environments create
to support Private IP Composer environments:--enable-private-environment
--enable-private-endpoint
--master-ipv4-cidr
- Added
gcloud beta composer environments list-upgrades
to list all image version upgrades that are supported for a specified environment. - Added two mutually exclusive flags to
gcloud beta composer environments update
to allow for in-place environment upgrades:--airflow-version
--image-version
Cloud DNS
- Added support for DNS peering in
gcloud beta dns managed-zones
. - Added
--enable-logging
flag togcloud beta dns policies
to enable query logging.
Cloud Data Catalog
- Added the
gcloud beta data-catalog entries
command group, which provides lookup, describe, and schema update functionality for Cloud Data Catalog entries.
Cloud Firestore Emulator
- Release Cloud Firestore Emulator version 1.4.2
- Adds implementations for BeginTransaction and Rollback
Cloud Functions
- Added
--service-account
flag togcloud functions deploy
. - Added
--vpc-connector
flag togcloud beta functions deploy
.
Cloud Memorystore
- Added
gcloud redis instances failover
which provides the ability to failover a standard tier Cloud Memorystore for Redis instance from the master node to its replica. - Added
--redis-version
flag togcloud beta redis instances create
to enable the specification of a preferred Redis version compatibility; this can be eitherredis_3_2
orredis_4_0
. - Modified the
--update-redis-config
flag ofgcloud redis instances update
to accept three additional parameters for Redis 4.0 compatible instances:activedefrag
,lfu-decay-time
,lfu-log-factor
.
Cloud Pub/Sub
- Added optional flags
--push-auth-service-account
and--push-auth-token-audience
for defining an authenticated push subscription to the following commands:gcloud beta pubsub subscriptions create
gcloud beta pubsub subscriptions update
gcloud beta pubsub subscriptions modify-push-config
Cloud Storage
- Updated gsutil component to 4.38.
Cloud Video Intelligence API
- Added
gcloud beta ml video transcribe-speech|detect-text|detect-object
commands.
Compute Engine
- Promoted
--logging-aggregation-interval
,--logging-flow-sampling
, and--logging-metadata
flags ofgcloud compute networks subnets create
andgcloud compute networks subnets update
to beta. - Modified
gcloud compute networks subnets update
to support specifying--logging-aggregation-interval
,--logging-flow-sampling
, and--logging-metadata
flags in a single call. - Promoted
gcloud compute reservations
command group to beta. - Promoted
--reservation
and--reservation-affinity
ofgcloud compute instance-templates create
to beta. - Promoted
--reservation
and--reservations-from-file
ofgcloud compute commitments create
to beta. - Promoted
gcloud compute commitments update-reservations
to beta. - Promoted 100G interconnect link type support for
gcloud compute interconnects create
to beta. - Deprecated the creation of new legacy network.
Firebase Test Lab
- Promoted
--num-flaky-test-attempts
flag ofgcloud firebase test android run
andgcloud firebase test ios run
to GA. This flag specifies how many times to rerun any failed executions.
Kubernetes Engine
- Promoted the
--security-group
flag ofgcloud container clusters create
to beta. The flag enables support for Google Groups in Kubernetes RBAC rules. - Added the
--enable-intra-node-visibility
flag togcloud beta container clusters create
. - Promoted the
--enable-tpu
flag and the--tpu-ipv4-cidr
flag ofgcloud container clusters create
to GA. The flags enables support for using Cloud TPU in Google Kubernetes Engine clusters. - Changed the default output formatting for the
gcloud beta container binauthz attestations list
command. - Google Kubernetes Engine kubectl is updated to 1.11.9. Addresses security vulnerability: CVE-2019-1002101.
- Updated extra Google Kubernetes Engine kubectl versions:
- kubectl.1.11 (patch 1.11.9)
- kubectl.1.12 (patch 1.12.7)
- kubectl.1.13 (patch 1.13.5)
- kubectl.1.14 (patch 1.14.0)
- Removed extra Google Kubernetes Engine kubectl versions, since these
versions are vulnerable.
- kubectl.1.9
- kubectl.1.10
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
240.0.0 (2019-03-26)
Breaking Changes
- (Kubernetes Engine) Enabled node auto-upgrade by default for clusters
and node-pools created with
gcloud beta container clusters create
andgcloud beta container node-pools create
. To disable manually, use the--no-enable-autoupgrade
flag.
Cloud SDK
- Added the
--impersonate-service-account
flag togcloud
.
App Engine
- Fixed a bug which could cause gcloud to incorrectly print
http
URLs for services, whenhttps
URLs would be more appropriate. - Removed 32MB file size limit for second generation runtimes.
Cloud DNS
- Promoted private zones of the
gcloud dns managed-zones
command group to GA. Use the--visibility
and--networks
flags to configure zone visibility.
Cloud Dataproc
- Added
gcloud beta dataproc jobs submit presto
andgcloud beta dataproc workflow-templates add-job presto
to enable submitting Presto jobs to a Dataproc cluster and adding Presto jobs to workflow templates, respectively. - Added
--enable-component-gateway
flag togcloud beta dataproc clusters create
andgcloud beta dataproc workflow-templates set-managed-cluster
.
Compute Engine
- Promoted
--failover-ratio
,--drop-traffic-if-unhealthy
, and--connection-drain-on-failover
flags ofgcloud compute backend-services create
andgcloud compute backend-services update
to beta. - Promoted
--failover
flag ofgcloud compute backend-services add_backend
andgcloud compute backend-services update_backend
to beta. - Promoted
gcloud compute instance-groups managed wait-until
command to beta. - Promoted
--region
flag ofgcloud compute disks
and related commands to GA. - Added
gcloud beta compute external-vpn-gateway
command group to enable reading and manipulating of Compute Engine external VPN gateways. - Added
gcloud beta compute vpn-gateway
command group to enable reading and manipulating of Compute Engine VPN gateways. - Updated
gcloud beta compute vpn-tunnel
command to enable the creation of HA VPN tunnels.
Identity and Access Management
- Added a new column,
DISABLED
, to the return table ofgcloud iam service-account list
, which displays the state of the service account listed.
Kubernetes Engine
- Added the
--release-channel
flag togcloud alpha container clusters create
for subscribing a cluster to a release channel. - Promoted
--default-max-pods-per-node
flag ofgcloud container clusters create
from Beta to GA. - Promoted
--max-pods-per-node
flag ofgcloud container node-pools create
from Beta to GA.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
239.0.0 (2019-03-19)
Cloud Dataproc
- Added
gcloud beta dataproc autoscaling-policies
command group for managing Cloud Dataproc autoscaling policies. For more information, see: https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/autoscaling - Added
--autoscaling-policy
flag togcloud beta dataproc clusters create
,gcloud beta dataproc clusters update
, andgcloud beta dataproc workflow-templates set-managed-cluster
to support enabling and disabling autoscaling on Cloud Dataproc clusters with autoscaling policies.
Cloud Firestore Emulator
- Release Cloud Firestore Emulator version 1.4.1
- Fixes bug where an empty CommitRequest was trigger exceptions
Cloud Resource Manager
- Promoted
resource-manager folders
command group to GA.
Compute Engine
- Promoted
--bandwidth
flag ofgcloud compute interconnects attachments dedicated create
andgcloud compute interconnects attachments dedicated update
to GA. - Promoted load_balancing_scheme enum value INTERNAL_SELF_MANAGED to beta in 'gcloud compute forwarding-rules create' and 'gcloud compute backend- services create'.
- Promoted
gcloud compute instances get-shielded-identity
to GA. - Promoted the
--shielded-vtpm
,--shielded-secure-boot
, and--shielded-integrity-monitoring
flags ofgcloud compute instances create
to GA. - Promoted the
--shielded-vtpm
,--shielded-secure-boot
, and--shielded-integrity-monitoring
flags ofgcloud compute instance-templates create
to GA. - Promoted the
--shielded-vtpm
,--shielded-secure-boot
,--shielded-integrity-monitoring
, and--shielded-learn-integrity-policy
flags ofgcloud compute instances update
to GA. - Removed the deprecated
--shielded-vm-vtpm
,--shielded-vm-secure-boot
, and--shielded-vm-integrity-monitoring
flags ofgcloud compute instances create
from alpha and beta. - Removed the deprecated
--shielded-vm-vtpm
,--shielded-vm-secure-boot
, and--shielded-vm-integrity-monitoring
flags ofgcloud compute instance-templates create
from alpha and beta. - Removed the deprecated
--shielded-vm-vtpm
,--shielded-vm-secure-boot
,--shielded-vm-integrity-monitoring
, and--shielded-vm-learn-integrity-policy
flags ofgcloud compute instances update
from alpha and beta.
Kubernetes Engine
- Update Google Container Engine's kubectl so that it now first attempts to match the API server version. If successful, the kubectl will delegate to the matching version of kubectl. Otherwise, it defaults to execute the current 1.11.7 version of kubectl.
Updated extra Google Kubernetes Engine kubectl versions:
- kubectl.1.9 (patch 1.9.11)
- kubectl.1.10 (patch 1.10.13)
- kubectl.1.11 (patch 1.11.8)
- kubectl.1.12 (patch 1.12.6)
- kubectl.1.13 (patch 1.13.4)
In June 2019, node auto-upgrade will be enabled by default for newly created clusters and node pools. To disable it, use the
--no-enable-autoupgrade
flag.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
238.0.0 (2019-03-12)
App Engine
Updated the Python SDK to version 1.9.84. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/python/release-notes
Added a new field, 'main', to app.yaml. This allows users of the Go second-generation runtimes to specify which package to build. See https://cloud.google.com/appengine/docs/standard/go111/config/appref for more information.
App Engine Flexible Environment
- Promoted network.session_affinity flag in yaml file to GA.
Cloud Access Context Manager
- Promoted the gcloud access-context-manager command group to GA
- Removed the unrestricted-services field from alpha and beta, always set to default '*'.
Cloud Dataproc
- Promoted
--optional-components
ofgcloud dataproc clusters
to GA.
Cloud Functions
- Promoted
max-instances
andclear-max-instances
flags ofgcloud functions deploy
to beta.
Cloud Machine Learning Engine
- Promoted
--machine-type
flag ofgcloud ml-engine versions create
command to GA.
Kubernetes Engine
- Added the
--enable-shielded-containers
flag togcloud beta container clusters create
.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
237.0.0 (2019-03-05)
Cloud SDK
- Fixed issue affecting users overwriting an existing Cloud SDK install via the Windows installer, in which certain gcloud commands crashed with a "gcloud crashed (LayoutException): Multiple definitions for release track" error. This issue can be tracked at https://issuetracker.google.com/123390310.
BigQuery
- Fixes bug in formatting pre-1900 timestamps.
Cloud Dataproc
- Fixed a bug where several fields were hidden from
gcloud dataproc clusters import
andgcloud dataproc clusters export
in all release tracks. Note that these fields were always available ingcloud dataproc clusters create-from-file
andgcloud dataproc clusters describe
.
Cloud Storage
- Updated gsutil component to 4.37.
Compute Engine
- Promoted the
--server-binding
flag ofgcloud compute sole-tenancy node-templates create
to beta. - Reduced lower bound for data disk sizes from 10GB to 1GB for
gcloud compute instances create
. - Added
resources-accelerator
togcloud beta compute commitments create
. - Promoted
all
option of--ports
flag forgcloud compute forwarding-rules
to GA. - Added INSTANCE_TEMPLATE and VERSION_NAME columns to output of
gcloud compute instance-groups managed list-instances
.
Kubernetes Engine
- Updated Google Kubernetes Engine's kubectl from version 1.10.7 to 1.11.7.
- Added extra Google Kubernetes Engine kubectl versions:
- kubectl.1.9
- kubectl.1.10
- kubectl.1.11
- kubectl.1.12
- kubectl.1.13
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
236.0.0 (2019-02-26)
Cloud SDK
- Modified error handling for
gcloud auth revoke
when revoking a service account token to print a friendly error message with more detailed instructions on how to revoke the token.
Cloud Asset Inventory
- Added
--folder
flag togcloud beta asset export
command.
Cloud Dataproc
- Added
--kerberos-root-principal-password-uri
,--kerberos-kms-key
, and--kerberos-config-file
flags togcloud beta dataproc clusters create
andgcloud beta dataproc workflow-templates set-managed-cluster
.
Cloud Firestore Emulator
- Released Cloud Firestore Emulator version 1.4.0:
- Added support for the
debug(...)
function in security rules. - Simplified security rule evaluation and rule coverage reports.
- Added support for the
Cloud Services
- Promoted
services vpc-peerings
command group to GA.
Compute Engine
- Removed auto-create-routes column from default output of
gcloud beta compute networks peerings list
. - Promoted
--enable-logging
and--log-filter
flags ofgcloud compute routers nats
to beta.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
235.0.0 (2019-02-19)
App Engine
- Fixed bug where deleting a service at the same time as deleting an app version in an unrelated service caused deletion of the version to fail.
- Updated the Python SDK to version 1.9.83. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/python/release-notes
- Updated the Java SDK to version 1.9.72. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/java/release-notes
Cloud Composer
- Promoted
--airflow-version
and--image-version
flags ofgcloud composer environments create
to GA. These mutually exclusive flags can be used to specify the airflow version or image version used within a created environment.
Cloud IoT
- Promoted
gcloud iot devices gateways
command group to GA.
Cloud Key Management Service
- Exposed a new format of Cavium's attestation introduced in Cavium's new 3.2-08 version.
Compute Engine
- Updated the
gcloud beta compute start-iap-tunnel
command for Cloud IAP TCP Forwarding to listen on both IPv4 and IPv6 for localhost. - Updated Windows PuTTY executables to 0.70.
- Promoted
gcloud compute networks peerings list-routes
command to beta. - Modified the output of
gcloud beta compute networks peerings list
to includeIMPORT_CUSTOM_ROUTES
/EXPORT_CUSTOM_ROUTES
columns. - Promoted
--resource-policies
ofgcloud compute disks create
to beta. - Promoted
--enable-logging
and--logging-sample-rate
flags ofgcloud compute backend-services create
andgcloud compute backend-services update
to beta. - Promoted
--bandwidth
flag ofgcloud compute interconnects attachments dedicated create
andgcloud compute interconnects attachments dedicated update
to beta.
Firebase Test Lab
- Added an
ignore:
option to the--robo-directives
flag ofgcloud beta firebase test android run
command. This option directs Robo to avoid interactions with a user-defined UI element.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
234.0.0 (2019-02-12)
Cloud SDK
- Added the
accessibility/screen_reader
property. This property changes some gcloud UX to make output more screen reader friendly. Seegcloud topic accessibility
for more information`.- Accessibility support is still in the early stages, so please report any
issues that you would like fixed using
gcloud feedback
.
- Accessibility support is still in the early stages, so please report any
issues that you would like fixed using
Cloud Asset Inventory
- Added
gcloud beta asset
command group to manage the Cloud Asset Inventory.
Cloud Resource Manager
- Promoted
resource-manager folders
command group to beta
Cloud Services
- Added
gcloud beta services vpc-peerings
to support updating a connection.
Cloud Source Repositories
- Promoted
gcloud source project-configs
command group to GA. - Promoted
gcloud source repos update
to GA.
Compute Engine
- Promoted the following commands to GA:
gcloud beta compute networks subnets get-iam-policy
gcloud beta compute networks subnets set-iam-policy
add-iam-policy-bindings
remove-iam-policy-bindings
- Promoted the following commands to beta:
gcloud compute disks add
gcloud compute disks remove-resource-policies
gcloud compute resource-policies create-snapshot-schedule
gcloud compute resource-policies delete
gcloud compute resource-policies describe
gcloud compute resource-policies list
- Promoted
--service-label
flag ofgcloud compute forwarding-rules create
to GA.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
233.0.0 (2019-02-05)
Cloud Dataflow
- Added numWorkers, network, subnetwork and workerMachineType flags to 'gcloud beta dataflow jobs run' command
Cloud Datalab
- Updated the
datalab
component to the 20190116 release. Released changes are documented in its tracking issue at https://github.com/googledatalab/datalab/issues/2114.
Cloud Filestore
- Promoted
gcloud filestore
command group to GA.
Cloud Firestore Emulator
- Release Cloud Firestore Emulator version 1.3.0
- Added a clearDatabase RPC to delete all data in a database
- Added logging to assist with FIRESTORE_EMULATOR_HOST environment variable
- The getDocument RPC now supports a read_time consistency selector
- Fixed bug related to rule evaluation callbacks
Cloud Machine Learning Engine
- Added support for custom server configuration to
ml-engine jobs submit training
in beta. Added the following flags:--master-machine-type
--master-accelerator
--master-image-uri
--worker-machine-type
--worker-count
--worker-accelerator
--worker-image-uri
--parameter-server-machine-type
--parameter-server-count
--parameter-server-accelerator
--parameter-server-image-uri
Cloud Pub/Sub
- Promoted Snapshot & Seek features to GA. These features allow users to create snapshots of subscription backlog state, and later restore that state.
Cloud SQL
- Fixed
gcloud sql connect
whitelisting issues that resulted from invalid datetime formatting.
Cloud Storage
- Updated gsutil component to 4.36.
Compute Engine
- Promoted the
--force-attach
flag ofcompute instances attach-disk
to GA - Added
get-iam-policy
,set-iam-policy
,add-iam-policy-bindings
, andremove-iam-policy-bindings
togcloud beta compute networks subnets
- Promoted
gcloud compute instances get-shielded-identity
to beta. - Promoted
gcloud compute instance-groups managed update
to GA together with--health-check
,--initial-delay
and--clear-autohealing
flags. - Promoted
--initial-delay
and--health-check
flags ofgcloud compute instance-groups managed create
to GA. - Enabled the use of multiple
--network-interface
flags withgcloud compute instances create-with-container
andgcloud compute instance-templates create-with-container
to support using multiple network interfaces. - Promoted
gcloud compute instance-groups managed rolling-action
command group to GA.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
232.0.0 (2019-01-29)
Breaking Changes
- (Kubernetes Engine) Added a warning on cluster and node-pool creation to notify users that modifications on the boot disks of node VMs do not persist across node recreations and must be done using a DaemonSet.
Cloud SQL
- Rolled back fix to
gcloud sql connect
that seems to be causing additional issues connecting.
Compute Engine
- Promoted
get-iam-policy
,set-iam-policy
,add-iam-policy-bindings
, andremove-iam-policy-bindings
to GA in the following command groups:gcloud compute disks
gcloud compute images
gcloud compute instance-templates
gcloud compute snapshots
- Added '--enable-display-device' to
gcloud beta compute instances create
andgcloud beta compute instances update
- Deprecated
gcloud compute instance-groups managed set-autohealing
command. Usegcloud compute instance-groups managed update
instead.
Kubernetes Engine
- Promoted the
--database-encryption-key
flag ofgcloud container clusters create
to beta. The flag enables support for encryption of Kubernetes Secrets. - Modified the
--enable-stackdriver-kubernetes
flag to be a hard requirement for--addons=CloudRun
. The CloudRun-on-GKE add-on depends on Stackdriver Kubernetes Monitoring to enrich Kubernetes metadata for logs and metrics. - Add
--max-pods-per-node
forgcloud beta container clusters create
.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
231.0.0 (2019-01-23)
Breaking Changes
- (Cloud SQL) Updated the error messaging associated with failed long-running operations.
App Engine
- Updated the Python SDK to version 1.9.82. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
BigQuery
- Added
--ignore_unknown_values
flag tobq mkdef
command. - Added support for BigQuery BI Engine reservations in
bq
cli.
Cloud Datastore Emulator
- Release Cloud Datastore Emulator version 2.1.0
- Implement export/import for emulator. For details, refer to https://cloud.google.com/datastore/docs/tools/emulator-export-import.
Cloud SQL
- Fixed the display of error codes in
gcloud sql operations list
.
Compute Engine
- Promoted
gcloud compute instance-groups managed update
to beta together with--health-check
,--initial-delay
and--clear-autohealing
flags. - Promoted
--hostname
flag ofgcloud compute instances create
to GA. - Added
--physical-block-size
flag togcloud beta compute disks create
.
Firebase Test Lab
- Added
--num-flaky-test-attempts
flag togcloud beta firebase test android run
andgcloud beta firebase test ios run
to rerun failed executions multiple times.
Kubernetes Engine
- Promoted the
--security-group
flag ofgcloud container clusters create
to beta. The flag enables support for Google Groups in Kubernetes RBAC rules.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
230.0.0 (2019-01-15)
Breaking Changes
- (App Engine) Fixed a bug where symlinked directories were skipped on source upload. Second Generation runtimes and source directories using .gcloudignore now upload the contents of symlinked directories, matching the behavior of First Generation runtimes. To explicitly skip a symlinked directory, add it to .gcloudignore.
- (Cloud Functions) Fixed a bug where symlinked directories were skipped on source upload. To explicitly skip a symlinked directory, add it to .gcloudignore.
- (Cloud SQL) Made the flags
--region
,--gce-zone
, and--zone
mutually exclusive for the commandgcloud sql instances create
. - (Cloud SQL) Deprecated the creation of First Generation Cloud SQL instances, adding a
warning and confirmation prompt to
gcloud sql instances create
.
Cloud Build
- Released
cloud-build-local
v0.5.0; see release notes: https://github.com/GoogleCloudPlatform/cloud-build-local/releases/tag/v0.5.0.
Cloud SQL
- Added the flag
--zone
togcloud sql instances create
as an alternative to--gce-zone
, which is now deprecated. - Deprecated First Generation Cloud SQL instances, adding warnings to
gcloud sql instances describe
andgcloud sql instances patch
.
Cloud Scheduler
- Added support for all of App Engine's regions to Cloud Scheduler.
Compute Engine
- Promoted
get-iam-policy
,set-iam-policy
,add-iam-policy-bindings
, andremove-iam-policy-bindings
to GA in the following command groups:gcloud compute instances
gcloud compute sole-tenancy node-templates
gcloud compute sole-tenancy node-groups
- Promoted
--boot
flag ofgcloud compute instances attach-disk
to GA. - Deprecated
--auto-create-routes
flag ofgcloud alpha compute networks peerings create
in Beta. - Promoted
gcloud compute networks peerings update
command to Beta. - Promoted
import-custom-routes
andexport-custom-routes
flags to Beta ingcloud compute networks peerings create
command. - Deprecated and renamed the following
--shielded-vm-*
flags:--shielded-vm-secure-boot
as--shielded-secure-boot
--shielded-vm-vtpm
as--shielded-vtpm
--shielded-vm-integrity-monitoring
as--shielded-integrity-monitoring
--shielded-vm-learn-integrity-policy
as--shielded-learn-integrity-policy
Firebase Test Lab
- Deprecated the
--app-package
and--test-package
flags ingcloud firebase test android run
commands; the application and test package names will be parsed from the APK manifest by default. - Removed three robo test args that were deprecated 6+ months ago:
--max-steps
,--max-depth
, and--app-initial-activity
.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
229.0.0 (2019-01-08)
App Engine
- Updated the Python SDK to version 1.9.81. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
- Updated the Java SDK to version 1.9.71. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/java/release-notes
BigQuery
- Added
gcloud bq
command group to alpha.- Added initial support for creating and managing datasets, tables and jobs.
Cloud Build
Updated
cloud-build-local
to 0.4.3. For details, see https://github.com/GoogleCloudPlatform/cloud-build-local/releases.Added properties
builds/use_kaniko
and builds/kaniko_cache_ttlto control use of Kaniko (<https://github.com/GoogleContainerTools/kaniko>) when using
--tag`.Added
--no-cache
flag to disable layer caching when using Kaniko with--tag
. This is only valid if thebuilds/use_kaniko
flag isTrue
.
Cloud Datastore Emulator
- Release Cloud Datastore Emulator version 2.0.3
- Fixes bug where read contention errors were being reported as UNKNOWN
Cloud Firestore
- Added
gcloud beta firestore indexes
which provides index management capability for Cloud Firestore.
Cloud Firestore Emulator
- Release Cloud Firestore Emulator version 1.2.2
- Add support for Java 10 and Java 11 runtimes
- Enable IPv6 support by default
- Release Cloud Firestore Emulator version 1.2.3
- Fixed bug when setting more than one server timestamp in a commit
- Fixed bug regarding array ordering during writing/reading
- Fixed bug when using query cursors containing document names
- Added the ability to produce rule-coverage reports
- Exposed the v1 service definition
Cloud Storage
- Updated gsutil component to 4.35
Cloud Tasks
- Use full list of App Engine's supported regions for Cloud Tasks.
Compute Engine
- Promoted
--tunnel-through-iap
flag ofgcloud compute ssh
andgcloud compute scp
to beta. - Deprecated
--http-health-check
and--https-health-check
flags ingcloud beta compute instance-groups managed create
. Use--health-check
flag instead. - Promoted 'gcloud compute interconnects get-diagnostics' to GA.
- Promoted
--enable-logging
flag ofgcloud compute firewall-rules create
andgcloud compute firewall-rules update
to GA.
Firebase Test Lab
- Added support for Android App Bundles to the
--app
flag ingcloud firebase test android run
commands.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
228.0.0 (2018-12-11)
Breaking Changes
- (Cloud Endpoints) Deprecated
--full
flag ofgcloud endpoints operations describe
. All described operations are now printed without redacting any content.
App Engine
- Updated the Java SDK to version 1.9.70. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/java/release-notes
Cloud Composer
- Promoted
--python-version
flag ofgcloud composer environments create
to GA. This flag can be used to specify the Python version used within a created environment.
Cloud DNS
- Added the
gcloud beta dns policies
command group.
Compute Engine
- Added
--use-serving-port
flag togcloud beta compute health-checks update
. - Added
--container-mount-disk
flag togcloud beta compute instance-templates create-with-container
. - Promoted
gcloud compute security-policies
andgcloud compute security-policies rules
to GA. - Promoted
--security-policy
flag ofgcloud compute backend-services update
to GA. - Added
--no-guest-environment
flag togcloud beta compute images import
which prevents Google Guest Agent from being installed on the image. - Added
--network
and--subnet
flags togcloud beta compute images import
. - Added
--subnet
flag togcloud beta compute images export
. - Fixed
gcloud beta compute images import
to use gcloud command line tool config forzone
flag in addition to--zone
command line flag. - Modified
gcloud beta compute images import
andgcloud beta compute images export
to use temporary bucket in the same region as source/destination buckets to avoid cross-region copying and its associated cost and performance penalty. - Added
--prefix-length
,--purpose
and--network
flags to GA forgcloud compute addresses create
to support reserving IP range from virtual network for peering. - Added the
gcloud beta compute start-iap-tunnel
command for Cloud IAP TCP Forwarding which creates a TCP tunnel to an instance without requiring an external IP and with access granted using Cloud IAP.
Kubernetes Engine
- Promoted Vertical Pod Autoscaling to beta. Use
--enable-vertical-pod-autoscaling
withgcloud beta container clusters create
orgcloud beta container clusters update
to enable this feature.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
227.0.0 (2018-12-04)
Breaking Changes
- (Cloud Datastore)
gcloud datastore create-indexes
andgcloud datastore cleanup-indexes
is removed. Please usegcloud datastore indexes create
andgcloud datastore indexes cleanup
instead. See https://cloud.google.com/sdk/gcloud/reference/datastore/indexes/ for additional details. - (Cloud IoT) Removed deprecated
-event-pubsub-topic
and--pubsub-topic
flags fromgcloud iot registries create
andgcloud iot registries update
- (Container Builder) Removed
gcloud container builds
command group. Usegcloud builds
instead.
Cloud SDK
- Invalid commands (wrongly ordered, partial) now prompt more robust suggestions of valid commands instead of the regular usage text.
App Engine
- Updated the Java SDK to version 1.9.69. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/java/release-notes
Cloud Bigtable
- Added support for arbitrary bytes in regex filters.
- Added support for
row_sample_filter
. - Added support for
apply_label_transformer
.
Cloud DNS
- Added the
--forwarding-targets
flag togcloud beta dns managed-zones create
andgcloud beta dns managed-zones update
Cloud Dataproc
- Added
gcloud beta dataproc jobs submit sparkr
to enable submitting SparkR jobs to a Dataproc cluster. - Promoted
--num-preemptible-worker-local-ssds
flag ofgcloud dataproc clusters create
to GA
Cloud Functions
- Promoted
--service-account
flag ofgcloud functions deploy
to beta. - Promoted the following environment variable flags of
gcloud functions deploy
to GA:--set-env-vars
--update-env-vars
--remove-env-vars
--clear-env-vars
--env-vars-file
Cloud IoT
- Promoted
gcloud iot devices commands send
command group to GA. - Promoted
--log-level
flag ofgcloud iot devices
andgcloud iot registries
to GA. - Promoted
gcloud iot devices gateways
command group to beta.
Cloud Pub/Sub
- Added support for defining an expiration period for a subscription to
gcloud beta pubsub subscriptions
.
Cloud Spanner
- Promoted
gcloud spanner rows
to GA.
Compute Engine
- Added
--use-serving-port
flag togcloud beta compute health-checks update
. - Added
--container-mount-disk
flag togcloud beta compute instance-templates create-with-container
. - Promoted
gcloud compute security-policies
andgcloud compute security-policies rules
to GA. - Promoted
--security-policy
flag ofgcloud compute backend-services update
to GA.
Kubernetes Engine
- Promoted resource usage export to beta. Use
--resource-usage-bigquery-dataset
withgcloud beta container clusters create
orgcloud beta container clusters update
to enable this feature.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
226.0.0 (2018-11-20)
Breaking Changes
- (Cloud Spanner) Updated
--data
flag ofgcloud beta spanner rows
to reject array values.--flags-file
should be used to specify an array value.
App Engine
- Added command group
gcloud beta app migrate-config
for migrating datastore-indexes.xml, cron.xml, queue.xml and dispatch.xml to their yaml counterparts.
BigQuery
- Fixed a bug in the update table command.
Cloud Endpoints
- Modified
gcloud endpoints
such that it no longer attempts to enable either the Endpoints meta-service or the produced service during the service deployment process, except if the produced service was created for the first time during the deployment.
Cloud Firestore Emulator
- Release Cloud Firestore Emulator version 1.2.1
- This is the first beta release of the emulator.
Cloud Scheduler
- Fixed bug in
gcloud beta scheduler jobs create pubsub
that caused the message body to be base-64 encoded twice.
Deployment Manager
- Fixed a bug to match operation timeout and service timeout; both are now set at 2 hours.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
225.0.0 (2018-11-13)
Cloud SDK
- Added the
--flags-file
=YAML-FILE flag, available to all gcloud commands, for specifying complex flag values in any command interpreter. Seegcloud topic flags-file
for more information.
App Engine
- Updated the Python SDK to version 1.9.80. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
BigQuery
- Added support for Avro Logical Types in Avro load jobs via the load configuration option
useAvroLogicalTypes
.
Cloud Dataproc
- Added
--num-preemptible-worker-local-ssds
flag togcloud dataproc clusters create
command, which adds local SSDs to preemptible worker VMs.
Cloud Scheduler
- Added the following flags to
gcloud beta scheduler jobs create pubsub
:--max-retry-attempts
--max-retry-duration
--min-backoff
--max-backoff
--max-doublings
Cloud Spanner
- Promoted
--enable-partitioned-dml
flag ofgcloud spanner execute-sql
to GA.
Compute Engine
- Promoted
--boot
flag ofgcloud compute instances attach-disk
to beta. - Promoted the
gcloud compute routers nats
group to GA. - Promoted the
next-hop-ilb
flag ofgcloud compute routes
to beta. - Added
all
as a valid option of--ports
forgcloud beta compute forwarding-rules
.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
224.0.0 (2018-11-06)
Breaking Changes
- (Container Builder) Removed deprecated
container-builder-local
component. Usecloud-build-local
instead. - (Container Builder) Removed
gcloud container builds
command group. Callers will be redirected to usegcloud builds
instead.
App Engine
- Updated the Python SDK to version 1.9.79. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
- Updated the Go SDK to version 1.9.70. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/go/release-notes
Compute Engine
- Promoted
--hostname
flag ofgcloud compute instances create
to beta.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
223.0.0 (2018-10-30)
App Engine
Updated the Python SDK to version 1.9.78. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
Updated the Java SDK to version 1.9.68. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/java/release-notes
Updated the Go SDK to version 1.9.69. Fix a bug in windows support for go.mod deployments for the Go 1.11 runtime
Cloud Access Context Manager
- Promoted the gcloud access-context-manager command group to BETA
Cloud Build
- Added default behavior for
gcloud builds submit
to assume--config=cloudbuild.yaml
unless either--tag
or--config
is specified.
Kubernetes Engine
- Promoted Node Auto-Provisioning to beta. Use
--enable-autoprovisioning
withgcloud beta container clusters create
orgcloud beta container clusters update
to enable this feature.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
222.0.0 (2018-10-23)
App Engine
- Fixed a bug that caused
gcloud app logs tail
to crash when the logs were too large. - Updated the Java SDK to version 1.9.67. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/java/release-notes
Cloud Build
- Updated
cloud-build-local
to 0.4.2. For details, see https://github.com/GoogleCloudPlatform/cloud-build-local/releases.
Cloud Composer
- Added two mutually exclusive flags to
gcloud beta composer environments create
:--airflow-version
- specifies the Apache Airflow version for the created environment--image-version
- specifies the image version for the created environment
Cloud DNS
- Added support for private zones to
gcloud beta dns managed-zones
. Use the new--visibility
and--networks
flags to configure zone visibility.
Cloud Dataflow
- Updated error message for cancel and drain commands to include possibility of
--region
flag inconsistency.
Cloud SQL
- Updated
gcloud beta sql connect
to connect to V2 instances through the Cloud SQL Proxy Component. - Added the
--port
flag togcloud beta sql connect
to allow for connecting to the Cloud SQL Proxy through a custom port.
Compute Engine
- Promoted
--container-mount-disk-*
flags ofgcloud compute instances create-with-container
andgcloud compute instances update-container
to beta. These flags enable mounting disks to containers running on VMs.
Container Builder
- Reminder: use
gcloud builds
instead ofgcloud container builds
; the deprecated command groupgcloud container builds
will be removed on or after 2018-10-31.
Firebase Test Lab
- Promoted the
gcloud firebase test ios
command group to GA.
Identity and Access Management
- Modified
gcloud iam service-accounts keys create
such that in the case a user does not have write access to the specified output file, the command will not be executed.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
221.0.0 (2018-10-16)
Breaking Changes
- (Cloud SQL) Removed the deprecated
host
positional argument fromgcloud sql users create
,gcloud sql users delete
, andgcloud sql users set-password
.
App Engine
- Fixed a bug where environment variables with values of 'on' or 'off' were ending up as 'true' or 'false' when deployed.
gcloud app logs read
andgcloud app logs tail
now displays stdout and stderr from the App Engine standard environment Python 3.7, PHP 7.2, Go 1.11, Java 8, and Node.js 8 runtimes by default, or explicitly by supplying--logs=<stdout|stderr>
.
BigQuery
- Added flags for setting a default table partition expiration for a dataset.
Cloud Dataproc
- Promoted the
--no-address
flag ofgcloud dataproc clusters create
andgcloud dataproc workflow-templates set-managed-cluster
to GA.
Cloud SQL
- Updated the
cloud_sql_proxy
component to version 1.13.0. Please visit the following release notes for details: https://github.com/GoogleCloudPlatform/cloudsql-proxy/releases
Cloud Spanner
- Added --enable-partitioned-dml flag for
gcloud beta spanner execute-sql
Compute Engine
- Added
gcloud beta compute instances get-guest-attributes
command for retrieving guest attributes. - Promoted
--response
flag ofgcloud compute health-checks
for HTTP/S commands to GA.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
220.0.0 (2018-10-09)
Breaking Changes
- (Kubernetes Engine) Modified output of
gcloud container clusters list
for DEGRADED clusters to include reason for degradation. - (Kubernetes Engine) Starting in 1.12, new node pools (and default node pools in new clusters) will
be created with their legacy Compute Engine instance metadata APIs disabled
by default.
- To create a new node pool (or default pool in a new cluster) with
legacy metadata APIs disabled, use the flag
--metadata disable-legacy-endpoints=true
. See: https://cloud.google.com/kubernetes-engine/docs/how-to/protecting-cluster-metadata#disable-legacy-apis
- To create a new node pool (or default pool in a new cluster) with
legacy metadata APIs disabled, use the flag
Cloud SDK
- Updated the
storage/chunk_size
property. Commands that upload to Google Cloud Storage can now control the upload/download chunksize using this property. - Some commands no longer call gsutil in their implementation in order to
support Python 3. The gsutil implementation is now deprecated. Use the
storage/use_gsutil
property to temporarily get this behavior back. This property and its old implementation will eventually be removed. The following commands are affected by this change:functions deploy
compute images import
dataproc jobs submit pyspark
dataproc jobs submit hadoop
dataproc jobs submit pig
dataproc jobs submit hive
dataproc jobs submit spark
dataproc jobs submit spark-sql
composer environments storage dags delete
composer environments storage dags export
composer environments storage dags import
composer environments storage data delete
composer environments storage data export
composer environments storage data import
composer environments storage plugins delete
composer environments storage plugins export
composer environments storage plugins import
- Added functionality to
gcloud beta help
that allows running a search for terms of interest within the help text of gcloud commands. For more information, run $ gcloud beta help --help.
App Engine
- Updated the Java SDK to version 1.9.66. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/java/release-notes
- Updated the Python SDK to version 1.9.77. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
Cloud Build
- Added a warning message to
gcloud builds submit
for builds submitted with configs that don't specify a logging option. See https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#loggingmode.
Cloud Composer
- Added the
--python-version
flag togcloud beta composer environments create
to specify the Python version used within the created environment.
Cloud Dataproc
- Added the
--gce-pd-kms-key
flag todataproc clusters create
to enable protecting clusters with Google Cloud KMS encryption.
Cloud Key Management Service
- Modified
gcloud kms locations list
to display information about the availability of Hardware Security Modules in each location.
Cloud Spanner
- Updated
gcloud spanner execute-sql
to accept DML statements.
Compute Engine
- Added support for managed ssl certificates to
gcloud beta compute ssl-certificates
.
Internet of Things
- Added
--log-level
flag forgcloud iot devices create
,gcloud iot devices update
,gcloud iot registries create
, andgcloud iot registries update
for beta. - Added
gcloud iot commands
to beta.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
219.0.1 (2018-10-02)
Cloud SDK
- Updated to a new version of ruamel that fixes Unicode issues on OS X and Windows.
App Engine
- Updated the Python SDK to version 1.9.76. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
Compute Engine
- Promoted
compute routers nats
to beta. - Promoted 'gcloud compute interconnects get-diagnostics' to beta.
- Promoted the following flags to GA to support using KMS keys to protect disks and images:
--kms-key-*
flags ofgcloud compute disks
andgcloud compute images
--boot-disk-kms-*
flags ofgcloud compute instances
andgcloud compute instance-templates
.
- Promoted
gcloud compute instance-templates create-with-container
from beta to GA.
Interactive
- Promoted
gcloud interactive
to beta.
Kubernetes Engine
- Added
--enable-private-nodes
,--enable-private-endpoint
, and--master-ipv4-cidr
flags togcloud container clusters create
. - Added
--internal-ip
flag togcloud container clusters get-credentials
.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
218.0.0 (2018-09-25)
Breaking Changes
- (Cloud SQL) Added the PRIVATE_NETWORK column to the
gcloud sql instances list
default format and renamed ADDRESS to PRIMARY_ADDRESS.
Cloud Dataproc
- Added
gcloud beta dataproc clusters export
to enable exporting a cluster's configuration to a YAML file. - Added
gcloud beta dataproc clusters import
to enable creating a cluster from configuration in a YAML file. - Added
--optional-components
flag togcloud beta dataproc clusters create
command. - Promoted the following commands to GA:
gcloud dataproc clusters get-iam-policy
gcloud dataproc clusters set-iam-policy
gcloud dataproc jobs get-iam-policy
gcloud dataproc jobs set-iam-policy
gcloud dataproc operations get-iam-policy
gcloud dataproc operations set-iam-policy
gcloud dataproc workflow-templates get-iam-policy
gcloud dataproc workflow-templates set-iam-policy
- Promoted
gcloud dataproc workflow-templates
to GA.
Cloud Scheduler
- Promoted
gcloud scheduler
to beta.
Cloud Tools For PowerShell
- Updated Cloud Tools for PowerShell to version 1.0.1.10.
- Fixed a bug where fixed key metadata did not work with Google Cloud Storage cmdlets.
Compute Engine
- Added the
--storage-location
flag togcloud beta compute disks snapshot
to specify location region of a snapshot.
Container Analysis
- Promoted the following alpha flags in
gcloud container images describe
to beta.--metadata-filter
--show-build-details
--show-package-vulnerability
--show-image-basis
--show-deployment
--show-all-metadata
- Promoted the following alpha flags in
gcloud container images list-tags
to beta.--occurrence-filter
--show-occurrences
--show-occurrences-from
For more information about occurrences, see https://cloud.google.com/container-registry/docs/container-analysis.
Firebase Test Lab
- Fixed bug where
--environment-variables
did not work in the 217.0.0 release.
Kubernetes Engine
- Added
--metadata
and--metadata-from-file
flags togcloud node-pools create
andgcloud clusters create
. - Added
--internal-ip
flag togcloud beta container clusters get-credentials
.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
217.0.0 (2018-09-18)
Breaking Changes
- (Cloud Services) Renamed
--reserved-ranges
toranges
ingcloud beta services vpc-peerings
.
App Engine
- Updated the Java SDK to version 1.9.65. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/java/release-notes
Cloud SQL
- Promoted the
--network
flag ofgcloud sql instances create
andgcloud sql instances patch
to beta.
Cloud Storage
- Updated gsutil component to 4.34
Compute Engine
- Added
--prefix-length
,--purpose
and--network
flags to BETA forgcloud compute addresses create
to support reserving IP range from virtual network for peering. - Added the
description
property to the--create-disk
flag ofgcloud compute instances create
andgcloud compute instance-templates create
.
Kubernetes Engine
- Added
--metadata
and--metadata-from-file
flags togcloud beta node-pools create
andgcloud beta clusters create
. - Updated Google Kubernetes Engine's kubectl from version 1.9.7 to 1.10.7.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
216.0.0 (2018-09-11)
App Engine
- Updated the Go SDK to version 1.9.68. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/go/release-notes
Cloud Bigtable
- Promoted the following commands to GA:
gcloud bigtable instances
command groupgcloud bigtable clusters list
gcloud bigtable clusters describe
Cloud Memorystore
- Promoted
gcloud redis
to GA.
Cloud Services
- Deprecated
gcloud services operations list
in beta and GA.
Compute Engine
- Promoted
--internal-ip
flag ofgcloud compute scp
to beta. - Promoted
--disabled
flag ofgcloud compute firewall-rules
to GA. - Fixed bug preventing
gcloud compute ssh
andgcloud compute scp
from finding an instance's external IP address when configured with multiple network interfaces. - Promoted
gcloud compute instances create-with-container
andgcloud compute instances update-container
to GA.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
215.0.0 (2018-09-05)
Breaking Changes
- (Cloud SQL) Removed the default value of the
--database-version
flag ofgcloud sql instances create
, allowing the API to select the value.
App Engine
- Added python 3 support for gcloud app and gcloud domains.
- Added the
--no-cache
flag togcloud beta app deploy
for Second Generation runtimes, to disable the build cache during deployment. - Updated the Python SDK to version 1.9.75. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
Cloud Datalab
- Updated the
datalab
component to the 20180823 release. Released changes are documented in its tracking issue at https://github.com/googledatalab/datalab/issues/2068.
Cloud Dataproc
- Fixed an issue preventing the creation of clusters with SSD in GA.
Cloud Firestore
- Added
gcloud beta firestore
andgcloud beta firestore operations
for managing cloud firestore imports and exports.
Cloud Functions
- Added --service-account flag to gcloud alpha functions deploy.
Cloud Pub/Sub
- Promoted Snapshot & Seek features to beta. These features allow users to create snapshots of subscription backlog state, and later restore that state.
Cloud SQL
- Fixed a bug preventing
--backup
and--enable-bin-log
flags from being sent together when using thegcloud sql instances create
command.
Compute Engine
- Promoted
--internal-ip
flag ofgcloud compute scp
to beta. - Promoted
--disabled
flag ofgcloud compute firewall-rules
to GA.
Kubernetes Engine
- Promote
gcloud alpha container subnets list-usable
to Beta. - Add
secondaryIpRanges
to the output ofgcloud beta container subnets list-usable
.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
214.0.0 (2018-08-28)
Breaking Changes
- (Cloud Bigtable) Modified the arguments accepted by
cbt createappprofile
andcbt updateappprofile
in the following ways:- Removed
etag
argument fromcreateappprofile
. - Renamed
allow-transactional-writes
option astransactional-writes
. - Added a
force
option to ignore warnings.
- Removed
- (Cloud Bigtable) Modified the specification for routing policies. A routing policy can be
either "route-any" (previously of "multi_cluster_routing_use_any") or
"route-to=
<cluster-id>
". - (Compute Engine) Deprecated
gcloud compute interconnects attachments create
. Please usegcloud compute interconnects attachments dedicated create
instead. - (Compute Engine) Removed deprecated
--mode
flag fromgcloud compute networks create
. Use--subnet-mode
instead. - (Compute Engine) Removed deprecated
gcloud compute networks switch-mode
command. Usegcloud compute networks update --switch-to-custom-mode
instead. - (Compute Engine) Removed deprecated
gcloud compute xpn
command group. Usegcloud compute shared-vpc
instead.
Cloud Bigtable
- Restored the output of the
cbt count
command that was inadvertently removed in the previous release.
Cloud Datalab
- Updated the
datalab
component to the 20180820 release. Released changes are documented in its tracking issue at https://github.com/googledatalab/datalab/issues/2064.
Cloud Dataproc
- Added SCHEDULED_DELETE column to
gcloud beta dataproc clusters list
command output.
Cloud Datastore Emulator
- Released Cloud Datastore Emulator version 2.0.2.
- Improved backward compatibility with App Engine local development by keeping auto generated indexes in index file generated from previous runs.
Cloud Functions
- Promoted
--runtime
flag ofgcloud functions deploy
to GA.
Compute Engine
- Promoted the following flags to GA:
--network-tier
ofgcloud compute addresses create
--network-tier
ofgcloud compute forwarding-rules create
--default-network-tier
ofgcloud compute project-info update
--network-tier
ofgcloud compute instances add-access-config
--network-tier
ofgcloud compute instances create
--network-tier
ofgcloud compute instance-templates create
- Promoted
gcloud compute instances simulate-maintenance-event
to GA. - Promoted
get-iam-policy
,set-iam-policy
,add-iam-policy-bindings
andremove-iam-policy-bindings
to beta in the following commands groups:gcloud compute sole-tenancy node-groups
gcloud compute sole-tenancy node-templates
Kubernetes Engine
- Promoted
--disk-type
flag ofgcloud container clusters create
andgcloud container node-pools create
to GA. - Promoted
--default-max-pods-per-node
flag ofgcloud container clusters create
to beta. - Promoted
--max-pods-per-node
flag ofgcloud container node-pools create
to beta. - Modified
--monitoring-service
flag ofgcloud containers clusters update
to enable Google Cloud Monitoring service with Kubernetes-native resource model. - Modified
--logging-service
flag ofgcloud containers clusters update
to enable Google Cloud Logging service with Kubernetes-native resource model. - Modified output of
gcloud beta container clusters list
for DEGRADED clusters to include reason for degradation. - Added
--enable-private-nodes
and--enable-private-endpoint
togcloud beta container clusters create
. - Deprecated
--private-cluster
flag ofgcloud beta container clusters create
; use--enable-private-nodes
instead.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
213.0.0 (2018-08-21)
Breaking Changes
- (Cloud Datastore) Deprecated
gcloud datastore create-indexes
andgcloud datastore cleanup-indexes
. Usegcloud datastore indexes create
andgcloud datastore indexes cleanup
instead.
App Engine
- Updated the Python SDK to version 1.9.74. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
Cloud Datastore
- Promoted
gcloud datastore indexes
command group to GA.
Cloud SQL
- Added the
--timeout
flag togcloud sql operations wait
, to support specifying a custom timeout or allow the command to wait indefinitely.
Kubernetes Engine
- Promoted
--disk-type
flag ofgcloud container clusters create
andgcloud container node-pools create
to GA. - Modified
--monitoring-service
flag ofgcloud containers clusters update
to enable Google Cloud Monitoring service with Kubernetes-native resource model. - Modified
--logging-service
flag ofgcloud containers clusters update
to enable Google Cloud Logging service with Kubernetes-native resource model. - Modified output of
gcloud beta container clusters list
forDEGRADED
clusters to include reason for degradation.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
212.0.0 (2018-08-14)
Cloud Build
cloud-build-local
release 0.4.1 fixes a bug in build step status reporting for timed out builds. For details, see https://github.com/GoogleCloudPlatform/cloud-build-local/releases
Cloud Machine Learning Engine API
- Added
--signature-name
flag togcloud ml-engine predict
andgcloud ml-engine jobs prediction create
to specify custom TensorFlow signature to use in prediction.
Kubernetes Engine
- Added
gcloud beta container binauthz
command group to help manage Binary Authorization policy.- Binary Authorization enforcement can be enabled for your Google
Kubernetes Engine clusters by passing the
--enable-binauthz
flag togcloud beta container create
.
- Binary Authorization enforcement can be enabled for your Google
Kubernetes Engine clusters by passing the
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
211.0.0 (2018-08-07)
App Engine
- Removed automated app.yaml generation from
gcloud app deploy
. The deprecatedgcloud beta app gen-config
command is still available separately for now. gcloud app deploy
now supports.gcloudignore
for all deployments..gcloudignore
supersedes theskip_files
section in app.yaml. Read more about.gcloudignore
by runninggcloud topic gcloudignore
.
Cloud Datastore
- Added
gcloud beta datastore indexes describe
. - Added
gcloud beta datastore indexes list
.
Cloud Deployment Manager
Added config key which enables globbing in the
gcloud deployment-manager deployments create
andgcloud deployment-manager deployments update
commands. Config files can now use glob patterns in import paths.This feature can be enabled by setting the config property
deployment_manager/glob_imports
to true:gcloud config set deployment_manager/glob_imports True
. Additional details for this feature:- Imports with a path pattern that match multiple files cannot be named.
- When referencing a template in a resource type field, its full name is still required.
- More information on globbing is available at http://man7.org/linux/man-pages/man7/glob.7.html.
- More information on deployment-manager configurations is available at https://cloud.google.com/deployment-manager/docs/configuration/.
Cloud Services
- gcloud beta services disable now supports force option. If specified, the disable call will proceed even if there are enabled services which depend on the service to be disabled. Forcing the call means that the services which depend on the service to be disabled will also be disabled.
- Promoted
gcloud services vpc-peerings
to beta.
Compute Engine
- Promoted
--network-tier
flag ofgcloud compute addresses create
andgcloud compute forwarding-rules create
to GA. - Promoted
--default-network-tier
flag ofgcloud compute project-info update
to GA. - Promoted
--network-tier
flag ofgcloud compute instances add-access-config
andgcloud compute instances create
to GA. - Promoted
--network-tier
flag ofgcloud compute instance-templates create
to GA.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
210.0.0 (2018-07-31)
Breaking Changes
- (Compute Engine) Removed deprecated
gcloud compute interconnects patch
. Usegcloud compute interconnects update
instead. - (Container Builder) Deprecated
container-builder-local
; usecloud-build-local
instead. - (Container Builder) Deprecated
gcloud container builds
command group; usegcloud builds
instead.gcloud builds
retains the functionality ofgcloud container builds
. Existinggcloud container builds
commands will continue to work during the deprecation period but will be deleted from a future release.- Renamed the
containers.build_timeout
property asbuilds.timeout
ingcloud builds
. - Renamed the
container.build_check_tag
property asbuilds.check_tag
ingcloud builds
.
- (Kubernetes Engine) Starting in version 1.12,
gcloud container clusters create
will have basic authentication and client certificate issuance disabled by default. These functionalities can be enabled (or disabled) manually using the--[no-]enable-basic-auth
and--[no-]issue-client-certificate
flags, respectively.
App Engine
- Removed automated app.yaml generation from
gcloud app deploy
. The deprecatedgcloud beta app gen-config
command is still available separately for now.
Cloud Bigtable
- Fixed
cbt deleterow
andcbt deletecolumn
to not return errors during argument checking.
Cloud Build
- Renamed the
container-builder-local
binary ascloud-build-local
with no functional changes. Initial release is version0.4.0
. - Released initial
cloud-build-local
package installers for deb and RPM.
Cloud Endpoints
- Added warnings when validating service config for a service which does not yet exist. (Previously, this would silently create the service.)
Cloud IoT
- Promoted the following commands to beta:
gcloud registries add-iam-policy-binding
gcloud registries remove-iam-policy-binding
Cloud Services
- gcloud beta services disable now supports force option. If specified, the disable call will proceed even if there are enabled services which depend on the service to be disabled. Forcing the call means that the services which depend on the service to be disabled will also be disabled.
Compute Engine
- Promoted
sole-tenancy
commands to GA. - Promoted
--internal-ip
flag ofgcloud compute ssh
to GA. - Added
list-nodes
command togcloud compute sole-tenancy node-groups
for showing node information. - Added
--use-serving-port
flag togcloud compute health-checks tcp create
command. - Promoted
--enable-logging
flag ofgcloud compute firewall-rules create
andgcloud compute firewall-rules update
to beta. - Promoted
gcloud compute networks subnets list-usable
to GA.
Container Builder
- Deprecated
gcloud container builds
; usegcloud builds
instead. The existingcontainer builds
commands will continue to work during the deprecation period but will be deleted from a future release.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
209.0.0 (2018-07-18)
Breaking Changes
- (Cloud DNS) Removed deprecated
gcloud beta dnskeys
command group; please usegcloud beta dns-keys
instead. - (Kubernetes Engine) Modified
gcloud container clusters create
andgcloud container node-pools create
commands to create clusters and node-pools with node autorepair enabled by default if they use COS base image. Use the--no-enable-autorepair
flag to disable this behavior.
App Engine
- Updated the Go SDK to version 1.9.67. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/go/release-notes
- Updated the Python SDK to version 1.9.73. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
Cloud Composer
- Promoted
gcloud composer
commands to GA.
Cloud Functions
- Promoted
gcloud functions
commands to GA.
Cloud Tasks
- Promoted
gcloud tasks
commands to beta.
Compute Engine
- Promoted
--zones
flag ofgcloud compute instance-groups managed create
command to GA. - Promoted
get-iam-policy
,set-iam-policy
,add-iam-policy-bindings
, andremove-iam-policy-bindings
to beta in the following commands groups:gcloud compute disks
gcloud compute images
gcloud compute instance-templates
gcloud compute instances
gcloud compute snapshots
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
208.0.2 (2018-07-12)
- Hotfix for
dev_appserver
crashes.
208.0.1 (2018-07-11)
- Hotfix for
gcloud dataproc
crashes.
208.0.0 (2018-07-10)
Breaking Changes
- (Kubernetes Engine) Added warning that the default value of
--enable-ip-alias
will change forgcloud container clusters create
command. VPC native(ip alias enabled) clusters will become the default in the future. Use--[no-]enable-ip-alias
flag to suppress this warning.
Cloud SDK
gcloud
TAB completion for commands, flags, and constant flag value choices is ~10x faster.
App Engine
- Updated the Python SDK to version 1.9.72. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
Cloud Dataproc
- Added
gcloud beta dataproc workflow-templates import
to enable creating and updating workflow templates using a YAML file. - Added
gcloud beta dataproc workflow-templates export
to enable exporting a workflow template to a YAML file. - Added
--parameters
flag togcloud beta dataproc workflow-templates instantiate
to enable parameterization of workflow templates.
Cloud Datastore Emulator
- Released Cloud Datastore Emulator version 2.0.1.
- Improved backward compatibility with App Engine local development by allowing special entity kinds written to Cloud Datastore to be whitelisted for App Engine.
Cloud Filestore
gcloud filestore
command group is now available in beta. These commands let you create, configure, and manipulate Cloud Filestore instances.- Run
gcloud filestore --help
to learn more. - More information on Cloud Filestore can be found here: https://cloud.google.com/filestore/
- Detailed documentation can be found here: https://cloud.google.com/filestore/docs/
- Run
Cloud Functions
- Added
--runtime
flag togcloud beta functions deploy
. - Added the following flags to
gcloud beta functions deploy
for setting custom environment variables to functions:--clear-env-vars
--set-env-vars
--env-vars-file
--remove-env-vars
--update-env-vars
See https://cloud.google.com/functions/docs/env-var for more information.
Cloud Machine Learning Engine
- Promoted
--python-version
flag ofgcloud ml-engine versions create
to GA.
Cloud Storage
- Updated gsutil component to 4.33.
Compute Engine
- Added the following flags to
gcloud compute instance-templates create
to integrate with KMS:--boot-disk-kms-key
--boot-disk-kms-keyring
--boot-disk-kms-location
--boot-disk-kms-project
- Added
--use-serving-port
flag to the following commands:gcloud compute health-checks http create
gcloud compute health-checks https create
gcloud compute health-checks http2 create
gcloud compute health-checks ssl create
- Promoted the following
source-instance
flags ofgcloud compute instance-templates create
command to GA:--source-instance
--source-instance-zone
--configure-disk
- Promoted
gcloud compute network-endpoint-groups
command group to beta. - Promoted
--network-endpoint-group
and--network-endpoint-group-zone
flags ofgcloud compute backend-services add-backend
,gcloud compute backend-services remove-backend
, andgcloud compute backend-services update-backend
to beta. - Promoted
--max-connections-per-endpoint
and--max-rate-per-endpoint
flags ofgcloud compute backend-services add-backend
andgcloud compute backend-services update-backend
to beta.
Kubernetes Engine
- Removed gcloud property
container/use_v1_api
and its aliascontainer/use_v1_api_client
.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
207.0.0 (2018-06-26)
App Engine
- Updated the Python SDK to version 1.9.71. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
- Updated the Go SDK to version 1.9.65. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/go/release-notes
App Engine Flexible Environment
- Added the
rollout_strategy
property to theendpoints_api_service
section in theapp.yaml
. Setting this makes Endpoints run inmanaged
mode.
Cloud Build
- Added
gcloud builds
command group to create and manage builds for Google Cloud Build.
Cloud Dataproc
- Promoted boot disk type configuration flags of
gcloud dataproc clusters create
command to GA:--master-boot-disk-type
--worker-boot-disk-type
--preemptible-worker-boot-disk-type
- Promoted the
--image
flag ofgcloud dataproc clusters create
to GA.
Cloud Machine Learning Engine
- Promoted
--machine-type
flag ofgcloud ml-engine versions create
commands to beta.
Cloud SQL
- Added the
--host
flag togcloud sql users create
,gcloud sql users delete
andgcloud sql users set-password
. - Deprecated the
host
argument ofgcloud sql users create
,gcloud sql users delete
, andgcloud sql users set-password
in favor of the--host
flag.
Cloud TPU
- Promoted the
gcloud compute tpus
command group to GA
Compute Engine
- Promoted the following Cloud CDN Signed URL commands to GA:
gcloud compute sign-url
gcloud compute backend-buckets add-signed-url-key
gcloud compute backend-buckets delete-signed-url-key
gcloud compute backend-services add-signed-url-key
gcloud compute backend-services delete-signed-url-key
- Promoted
--signed-url-cache-max-age
flag to GA in the following commands:gcloud compute backend-buckets create
gcloud compute backend-buckets update
gcloud compute backend-services create
gcloud compute backend-services update
- Promoted the
HTTP2
value to beta for the--protocol
flag ofgcloud compute backend-services create
andgcloud compute backend-services update
. - Promoted
http2
relatedgcloud compute health-checks
commands to beta.
Kubernetes Engine
- Added the
--enable-autoscaling
flag to thenode-pools
command to enable autoscaling for a node-pool. For example,gcloud beta container node-pools update --enable-autoscaling --max-nodes=3
.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
206.0.0 (2018-06-19)
Breaking Changes
- (Container Registry) Updated
docker-credential-gcr
to version 1.5.0.- Order of access_token sources has been reversed: by default,
gcloud
will now take precedence over environmental sources when operating in Kubernetes Engine, Compute Engine, or App Engine Managed VMs. - See docker-credential-gcr v1.5.0 release notes on GitHub: https://github.com/GoogleCloudPlatform/docker-credential-gcr/releases/tag/v1.5.0
- Order of access_token sources has been reversed: by default,
Cloud SDK
- The
gcloud
CLI now has experimental support for running using a Python 3.4+ interpreter. (Prior versions of gcloud required Python 2.7.) Allgcloud
commands are supported except for the following command groups:gcloud app
gcloud datastore
gcloud scheduler
gcloud tasks
- Python tools other than
gcloud
that are shipped in the Cloud SDK still require a Python 2.7 interpreter. - For more information on how to configure your Python interpreter, run:
gcloud topic startup
or visit: https://cloud.google.com/sdk/gcloud/reference/topic/startup - Fixed issue where credentials were written with broad permissions.
App Engine
- Modified
gcloud app domain-mappings create
to provision an automatically managed SSL certificate by default on domain mapping creation. - Promoted
--certificate-management
flag ofgcloud app domain-mappings create
andgcloud app domain-mappings update
to GA.
Cloud Dataproc
- Added the
--gce-pd-kms-key
flag todataproc clusters create
in beta to enable protecting clusters with Google Cloud KMS encryption.
Cloud Machine Learning Engine
- Promoted the
--framework
flag ofgcloud ml-engine versions create
to GA.
Compute Engine
- Added the
--labels
flag togcloud beta compute disks snapshot
to enable setting labels on new snapshots.
Kubernetes Engine
- Promoted the
--min-cpu-platform
flag ofgcloud container create
to GA. - Promoted
--accelerator
flag ofgcloud container clusters create
andgcloud container node-pools create
to GA.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
205.0.0 (2018-06-12)
Cloud Bigtable
- Added new flags to the
cbt
commmand-line tool:-user-agent
for specifying a custom User Agent-columns
for specifying columns to read withread
andlookup
-cells-per-column
for limiting number of cells read per column withread
andlookup
Cloud Datastore
- Added
gcloud datastore indexes
command group to beta with the following commands:gcloud datastore indexes cleanup
gcloud datastore indexes create
Cloud Interconnect
- Promoted interconnects attachments partner related commands to GA.
Cloud Storage
- Updated gsutil component to 4.32.
Cloud TPU
- Added
--preemptible
flag togcloud beta compute tpus create
.
Compute Engine
- Added the
--network
flag togcloud compute images export
to allow the export process to use a network other thandefault
. - Promoted
--quic-override
flag ofcompute target-https-proxies create
andcompute target-https-proxies update
to GA.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
204.0.0 (2018-06-05)
Breaking Changes
- (Compute Engine) Replaced
--node-index
with--node
forgcloud alpha compute instance create
andgcloud alpha compute instance_templates create
. Node name will replace node index in the API, and nodes can now be targeted directly by node name (as opposed to node index, which was only unique within a group).
App Engine
- Updated the Java SDK to version 1.9.64. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/java/release-notes
Cloud Endpoints
- Fixed an issue where attempting to deploy normalized service configuration files in yaml format would error out.
Cloud Machine Learning Engine
- Added
--framework
flag toml-engine local predict
.
Cloud Source Repositories
- Added the
gcloud source repos update
command to beta with the following flags:--add-topic
--remove-topic
--update-topic
- Added the following flags to
gcloud source project-configs update
in beta:--add-topic
--remove-topic
--update-topic
Compute Engine
- Promoted
--response
flag ofgcloud compute health-checks
commands to beta. - Promoted the following flags to beta to support using KMS keys to protect disks, images, and snapshots:
--kms-key-*
flags ofgcloud compute disks
--kms-key-*
flags ofgcloud compute images
--boot-disk-kms-*
flags ofgcloud compute instances
.
- Promoted node affinities in instance and instance template creation to beta.
Firebase Test Lab
- Promoted
--type=game-loop
tests for Android from beta to GA.
Kubernetes Engine
- Promoted
--region
flag ofgcloud container
to GA.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
203.0.0 (2018-05-30)
Breaking Changes
- (Cloud SQL) Deprecated
gcloud sql ssl-certs
. Usegcloud sql ssl client-certs
instead.
App Engine
- Fixed issue where attempting to deploy non-yaml config files would report
success, but silently update configuration incorrectly, e.g.
gcloud app deploy cron.xml
. Note that xml-files are not supported withgcloud app
, with the exception ofappengine-web.xml
.
App Engine Flexible Environment
- Fixed an issue where
gcloud beta app deploy
failed to respect the--image-url
argument during Flex deployments. This issue was introduced in Cloud SDK version 195.0.0.
Cloud Dataproc
- Added
gcloud beta dataproc workflow-templates instantiate-from-file
to enable instantiation of workflow templates directly from a YAML file. - Added
gcloud beta dataproc clusters create-from-file
to enable creation of clusters directly from a YAML file.
Cloud SQL
- Added the
gcloud beta sql ssl server-ca-certs
group to support certificate rotation, which includes the following commands:gcloud beta sql ssl server-ca-certs list
gcloud beta sql ssl server-ca-certs create
gcloud beta sql ssl server-ca-certs rotate
gcloud beta sql ssl server-ca-certs rollback
Cloud Source Repositories
- Added the following commands to beta:
gcloud source project-configs describe
gcloud source project-configs update
Compute Engine
- Promoted
--service-label
flag ofgcloud compute forwarding-rules create
to beta. - Promoted
--shielded-vm-*
flags to beta ingcloud compute instances create
,gcloud compute instances update
andgcloud compute instance-templates create
.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
202.0.0 (2018-05-22)
Breaking Changes
- (Cloud Composer) Increased minimum
--disk-size
ofgcloud beta composer environments create
to 20GB. - (Compute Engine) Deprecated
gcloud compute interconnects attachments create
. Usegcloud compute interconnects attachments dedicated create
instead. - (Firebase Test Lab) Deprecated the following Robo test crawler-related flags:
--max-depth
--max-steps
: Use the--timeout
option instead to limit the test length.--app-initial-activity
: Use the--robo-script
option (in beta) to guide Robo to a specific part of the app under test.
App Engine
- Updated the Python SDK to version 1.9.70. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
Cloud Datastore Emulator
- Released Cloud Datastore Emulator version 2.0.0.
- Java 8 (or later) is now required to run the emulator.
- When the emulator is run in an App Engine local development server, index.yaml parsing errors are bubbled up. Previously the emulator would throw a AppEngineConfigException without responding to the development server requests.
Cloud Tools For PowerShell
- Updated Cloud Tools for PowerShell to version 1.0.1.8.
- Fixed a bug where
Get-GcpProject
did not enumerate collection. - Fixed a bug where local SSD option for attach disk cmdlet did not work.
- Fixed a bug where
Compute Engine
- Added help text output upon creating interconnects/interconnect attachments.
To hide this output, append the
--no-user-output-enabled
flag. - Promoted
--enable-flow-logs
flag ofgcloud compute networks subnets create
andgcloud compute networks subnets update
to GA. - Promoted
gcloud compute sole-tenancy
commands to beta. - Modified
--delete-nodes
ofgcloud beta compute sole-tenancy node-groups
to accept node names instead of node indexes.
Kubernetes Engine
- Added
--disk-type
togcloud beta container clusters create
andgcloud beta container node-pools create
to allow setting of the node VM boot disk type. - Updated Google Kubernetes Engine's kubectl from version 1.8.6 to 1.9.7.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
201.0.0 (2018-05-15)
Breaking Changes
- (Compute Engine) Modified default TPU accelerator type to
v2-8
forgcloud compute tpus
commands.tpu-v2
has been deprecated.
Cloud Bigtable
- Added the following commands to the
gcloud beta bigtable instances
command group to help manage IAM policies:set-iam-policy
get-iam-policy
add-iam-policy-binding
remove-iam-policy-binding
Cloud Datalab
- Updated the
datalab
component to the 20180503 release. Released changes are documented in its tracking issue at https://github.com/googledatalab/datalab/issues/1999.
Compute Engine
- Promoted
--create-disk
flag ofgcloud compute instances create
to GA. These flags allow creating new disks during instance creation. - Added the TYPE column to
gcloud compute interconnects attachments list
table format. - Added
--labels
flag togcloud beta compute instance-templates create-with-container
.
Firebase Test Lab
- Firebase Test Lab now supports mobile app testing for iOS. Please request access here: https://docs.google.com/forms/d/e/1FAIpQLSf5cx1ot8ndHU9YrFkCn6gPoQZLxgW_6H13e_bot3he90n7Ng/viewform. Added the following commands:
gcloud beta firebase test ios models list
gcloud beta firebase test ios models describe
gcloud beta firebase test ios versions list
gcloud beta firebase test ios versions describe
gcloud alpha firebase test ios run
Kubernetes Engine
- Promoted
--enable-stackdriver-kubernetes
ofgcloud container clusters create
to beta.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
200.0.0 (2018-05-01)
Breaking Changes
- (Cloud DNS) Modified
gcloud beta dns dnskeys describe
command to remove thedsRecord
field for closer correspondence to the Google Cloud DNS API. Please use the flag--format "value(ds_record())"
instead. - (Cloud DNS) Moved the
gcloud beta dns dnskeys
commands togcloud beta dns dns-keys
; the old commands are deprecated and will soon be removed. - (Cloud Interconnect) Deprecated
gcloud compute interconnects patch
and renamed it togcloud compute interconnects update
.
App Engine Flexible Environment
- Fixed a bug due to which some Flexible deployments would fail with LargeFileError.
Cloud Composer
- Initial (beta track) release of the
gcloud beta composer
command group. Cloud Composer is a managed Apache Airflow service. To learn more, see https://cloud.google.com/composer/docs/.
Cloud DNS
- Promoted
gcloud dns dns-keys list
andgcloud dns dns-keys describe
commands to GA.
Cloud SQL
- Added
--source-ip-address
and--source-port
flags togcloud beta sql instances create
to support creating external primary instances. - Added the following flags to
gcloud beta sql instances create
to support creating read replicas of external primary instances:--master-username
--master-password
,--prompt-for-master-password
--master-dump-file-path
,--master-ca-certificate-path
--client-certificate-path
--client-key-path
Cloud Storage
- Updated gsutil component to 4.31
Compute Engine
- Promoted support for disabling firewall rules to beta.
Kubernetes Engine
- Added
--enable-stackdriver-kubernetes
flag to enable Stackdriver logging and monitoring beta experience.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
199.0.0 (2018-04-24)
Breaking Changes
- (App Engine) Deprecated the
gcloud app gen-config
command and "app.yaml" generation feature of thegcloud app deploy
command (both in beta). As an alternative, create an app.yaml file yourself using the App Engine Flexible Environment directions or the App Engine Standard Environment directions for your application's language.
Cloud Bigtable
- Updated the Cloud Bigtable
cbt
tool for regional replication.- Added the following commands:
createcluster
updatecluster
deletecluster
waitforreplication
- Added application profile support in
read
,lookup
andset
- Added the following commands:
- Added the following commands to beta:
app-profiles
to manage application profiles for your instances.clusters create
to create additional clusters within an existing instance.clusters delete
to delete clusters from an instance.
Cloud Billing API
- Added
gcloud billing accounts get-iam-policy
andgcloud billing accounts set-iam-policy
in alpha and beta. - Modified output of
gcloud billing accounts list
in beta to include the master account ID of any subaccounts.
Cloud DNS
- Promoted
gcloud dns operations list
andgcloud dns operations describe
commands to GA.
Cloud Datalab
- Updated the
datalab
component to the 20180412 release. Released changes are documented in its tracking issue at https://github.com/googledatalab/datalab/issues/1989.
Cloud Spanner
- The following commands are now available in beta:
gcloud spanner rows delete
gcloud spanner rows insert
gcloud spanner rows update
Kubernetes Engine
- Updated for Python 3 compatibility.
- Promoted
gcloud container clusters create --enable-ip-alias
to GA.--enable-ip-alias
no longer requires the--create-subnetwork
option to be specified when creating a cluster.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
198.0.0 (2018-04-18)
Breaking Changes
- (Cloud Endpoints) Deprecated support for uploading uncompiled .proto files with
gcloud endpoints services deploy
. Support will be removed in a future release.
App Engine
- Fixed a rare, intermittent bug where deployments would fail with an error message about "copying files to App Engine".
- Updated the Python SDK to version 1.9.69. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
- Added PyTz version 2017.3 to the built-in third-party libraries.
BigQuery
- Added support for reauth. Reauth allows using two-factor authentication for end-user credentials.
Cloud DNS
- Promoted
gcloud dns managed-zones update
to GA.
Cloud TPU
- Added
gcloud compute tpus accelerator-types list
andgcloud compute tpus accelerator-types describe
to beta.
Compute Engine
- Promoted the
--region
flag ofgcloud compute disks
and related commands to beta - Updated
gcloud compute instances create
command to support blank disk creation. - Modified
gcloud compute sign-url
to accept HTTP URLs in addition to HTTPS URLs for signing. - Promoted the following Cloud CDN Signed URL commands to beta:
gcloud beta compute sign-url
gcloud beta compute backend-buckets add-signed-url-key
gcloud beta compute backend-buckets delete-signed-url-key
gcloud beta compute backend-services add-signed-url-key
gcloud beta compute backend-services delete-signed-url-key
- Promoted
--signed-url-cache-max-age
flag to beta in the following commands:gcloud beta compute backend-buckets create
gcloud beta compute backend-buckets update
gcloud beta compute backend-services create
gcloud beta compute backend-services update
Firebase Test Lab
- Added
--other-files
flag togcloud beta firebase test android run
to support running tests with non-OBB files pushed to device.
Kubernetes Engine
- Added
gcloud alpha container subnets list-usable
command for listing subnets usable for creating clusters in Google Kubernetes Engine. - Fixed
--node-locations
ofgcloud containers clusters create
to correctly specify what node-pools should be created during the creation of a cluster.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
197.0.0 (2018-04-11)
Breaking Changes
- (Cloud Bigtable) Removed deprecated
--instance-type
flag forgcloud beta bigtable instances update
. Usegcloud beta bigtable instances upgrade
instead. - (Cloud Bigtable) Removed deprecated
--description
flag fromgcloud beta bigtable instances create
andgcloud beta bigtable instances update
. Use--display-name
instead. - (Kubernetes Engine) Added warning that the default value of
--enable-autorepair
will change forcontainer clusters create
andcontainer node-pools create
commands. Use--[no-]enable-autorepair
flag to suppress this warning.
App Engine
- Updated the Python SDK to version 1.9.68. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
App Engine Flexible Environment
- Added deprecation warning in
gcloud app deploy
for apps on the App Engine flexible environment using Python version 3.4. For more information about this deprecation, see https://cloud.google.com/appengine/docs/standard/deprecations/python34.
Cloud DNS
- Promoted
--labels
flag ofgcloud dns managed-zones create
to GA.
Cloud Endpoints
- Changed
gcloud services list
to sort by name by default.
Cloud TPU
- Added
gcloud compute tpus reimage
,gcloud compute tpus start
, andgcloud compute tpus stop
commands to beta.
Compute Engine
- Promoted
--network-tier
flag ofgcloud compute addresses create
to beta. - Promoted
--network-tier
flag ofgcloud compute forwarding-rules create
to beta. - Promoted
--default-network-tier
flag ofgcloud compute project-info update
to beta. - Promoted
--network-tier
flag ofgcloud compute instances add-access-config
to beta. - Promoted
--network-tier
flag ofgcloud compute instances create
to beta. - Promoted
--network-tier
flag ofgcloud compute instances create-with-container
to beta. - Promoted
--network-tier
flag ofgcloud compute instance-templates create
to beta. - Promoted
--network-tier
flag ofgcloud compute instance-templates create-with-container
to beta.
Container Registry
- Updated
auth configure-docker
to work even whendocker
is not installed or cannot be found on the system PATH. This is primarily useful for Bazelrules_docker
users.
Firebase Test Lab
- Added
--additional-apks
flag togcloud beta firebase test android run
to support running tests with additionally installed APKs.
Vision API
- Added '--include-geo-results' flag to
beta ml vision detect-web
. - Added
--model-version
flag tobeta ml vision
commands.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
196.0.0 (2018-04-04)
Breaking Changes
- (Compute Engine) Renamed the
--no-translate
flag ofgcloud compute images import
to--data-disk
. - (Docker)
gcloud docker
will not be supported for Docker client versions above 18.03. Please usegcloud auth configure-docker
to configuredocker
to usegcloud
as a credential helper; then, usedocker
as you would for non-GCR registries, e.g.docker pull gcr.io/project-id/my-image
. - (Kubernetes Engine) Modified the default value of deprecated property
container/use_v1_api
, whose alias iscontainer/use_v1_api_client
, fromtrue
tofalse
.
Cloud DNS
- Promoted the following DNSSEC flags of
gcloud dns managed-zones
to GA:--denial-of-existence
--dnssec-state
--ksk-algorithm
--ksk-key-length
--zsk-algorithm
--zsk-key-length
Cloud Interconnect
- Promoted interconnects attachments partner related commands to beta.
Cloud TPU
- Added
gcloud compute tpus versions list
to beta. - Added
gcloud compute tpus versions describe
to beta. - Added
gcloud compute tpus locations list
to beta. - Added
gcloud compute tpus locations describe
to beta.
Cloud Tools For PowerShell
- Updated Cloud Tools for PowerShell to version 1.0.1.7.
- Fixed a bug where
Get-GceMetaData
failed when called twice.
- Fixed a bug where
Compute Engine
- Promoted
gcloud compute images import
to GA. - Promoted the following to GA:
gcloud compute instances network-interfaces update
--add-secondary-ranges
and--remove-secondary-ranges
flags ofgcloud compute networks subnets update
- Promoted
gcloud compute instances simulate-maintenance-event
to beta. - Added three flags (
--prefix-length
,--purpose
and--network
) togcloud compute addresses create
in alpha to support reserving IP range from virtual network for peering. - Promoted
--enable-flow-logs
flag ofgcloud compute networks subnets create
andgcloud compute networks subnets update
to beta. - Promoted SSL policies support to GA.
- Promoted the following commands to GA:
compute ssl-policies create
compute ssl-policies describe
compute ssl-policies list
compute ssl-policies update
compute ssl-policies delete
compute ssl-policies list-available-features
- Promoted
--ssl-policy
flag ofcompute target-https-proxies create
andcompute target-ssl-proxies create
to GA. - Promoted
--ssl-policy
and--clear-ssl-policy
flags ofcompute target-https-proxies update
andcompute target-ssl-proxies update
to GA.
- Promoted the following commands to GA:
- Promoted
--custom-request-headers
and--no-custom-request-headers
flags ofgcloud compute backend-services create
andgcloud compute backend-services update
to beta.
Container Registry
- Promoted
gcloud auth configure-docker
to GA. - Modified
container images add-tag
to allow the specification of multiple destination tags.
Kubernetes Engine
- Restored
container/use_client_certificate
option functionality. It was accidentally removed in the previous release.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
195.0.0 (2018-03-28)
Breaking Changes
- (Kubernetes Engine) Fixed issue where
--service-account
flag did not adduserinfo.email
scope ingcloud container
.
App Engine
- Updated the Go SDK to version 1.9.64.
- Updated
go-app-stager
to use Go version 1.10 for staging App Engine Flexible apps withruntime: go
in app.yaml.
Cloud Dataproc
- Added
PREEMPTIBLE_WORKER_COUNT
togcloud dataproc clusters list
. - Removed unnecessary zone flag from
dataproc workflow-templates create
.
Cloud Endpoints
- Updated the
gcloud endpoints services deploy
command to recognize files ending in.proto.bin
as protobuf binary descriptor files, improving interoperability with Bazel'sproto_library
rule which outputs protobuf descriptors with this extension.
Cloud Machine Learning Engine
- Added
--python-version
flag togcloud beta ml-engine versions create
.
Cloud SQL
- Promoted
--availability-type
ofgcloud sql instances create
andgcloud sql instances patch
to GA.
Compute Engine
- Added support for internationalized domain names to
alpha ssl-certificates
. - Promoted
--source-instance-template
flag ofgcloud compute instances create
command to GA. - Promoted
gcloud compute images export
to GA. - Promoted QUIC support to beta
- Promoted
--quic-override
flag ofcompute target-https-proxies create
andcompute target-https-proxies update
to beta.
- Promoted
194.0.0 (2018-03-21)
Breaking Changes
- Removed
--disable-addons
fromgcloud container clusters create
.
Cloud Machine Learning Engine
- Added
--python-version
flag togcloud ml-engine jobs submit training
.
Compute Engine
- Added
--disk-scope
flag todetach-disk
operation in alpha. - Promoted
gcloud compute networks subnets list-usable
to beta. - Promoted
--guest-os-features
flag ofgcloud compute disks create
to GA. This flag allows create disks with additional specified GuestOS features. - Removed
gcloud compute networks switch-mode
. Please usegcloud compute networks update --switch-to-custom-mode
instead. - Removed
--mode
flag fromgcloud compute networks create
. Please use--subnet-mode
instead. - Promoted
gcloud compute images export
to beta.
193.0.0 (2018-03-14)
Breaking Changes
- (REMOVED) Removed
gcloud sql instances set-root-password
command. - (MODIFIED) Changed default scopes for Kubernetes 1.10 when creating clusters
or node pools:
compute-rw
anddevstorage-ro
are no longer always added. (This is the default behavior for all Kubernetes versions for alpha and beta tracks or ifcontainer/new_scopes_behavior
property is set to true.) The version of Kubernetes does not affect the behavior of--[no-]enable-cloud-endpoints
.
App Engine
- Show server side warnings to the user.
BigQuery
- Added DEFLATE and SNAPPY compression types for Avro exports.
- Added flag 'require_partition_filter' for creating and updating partitioned tables. This will require a partition filter for any queries over the table.
- Added flags to filter jobs based on creation time when running
bq ls -j
: 'min_creation_time' and 'max_creation_time'.
Cloud Dataproc
- Added
get-iam-policy
andset-iam-policy
commands to thegcloud beta dataproc jobs
,gcloud beta dataproc operations
, andgcloud beta dataproc workflow-templates
command groups.
Cloud Machine Learning Engine
- Added
gcloud alpha ml-engine locations
command group.
Cloud Tools For PowerShell
- Updated Cloud Tools for PowerShell to version 1.0.1.6.
- Added
region
support for Google Compute Engine Managed Instance cmdlets.
- Added
Compute Engine
- Added
rhel-sap-cloud
project to the default public image list. - Promoted Flexible Route Advertisement commands and flags to GA:
gcloud compute routers update
--advertisement-mode
,--set-advertisement-groups
,--set-advertisement-ranges
ingcloud compute routers create
andgcloud compute routers add-bgp-peer
--advertisement-mode
,--set-advertisement-groups
, `--set-advertisement-ranges
,--add-advertisement-groups
,--add-advertisement-ranges
,--remove-advertisement-groups
,--remove-advertisement-ranges
ingcloud compute routers update-bgp-peer
- Promoted
--source-snapshot
flag ofgcloud compute images create
command to GA. This flag allows creating images from snapshots.
Deployment Manager
- Added
--create-policy
togcloud beta deployment-manager deployments create
. - Added the create-policy CREATE to Deployment Manager alpha and beta tracks.
Firebase Test Lab
- Added
--robo-script
flag togcloud beta firebase test android run
to support running a Robo test with a Robo Script.
192.0.0 (2018-03-07)
Breaking Changes
- (REMOVED) Removed the deprecated
--port
flag fromgcloud compute backend-services
. Use--port-name
instead. - (REMOVED) Removed
gcloud compute images translate
. The functionality of this command is now a part of thegcloud compute images import
command. - (MODIFIED) Changed the flags used with
gcloud compute images import
. This command now requires the user to specify either the--os
or--no-translate
flag.
App Engine
- Updated the Java SDK to version 1.9.63. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/java/release-notes
Compute Engine
- Promoted
gcloud compute images import
to beta; removedgcloud alpha compute images translate
. The translate command was combined with the import command. - Added
--shielded-vm-integrity-monitoring
flag togcloud compute instance-templates create
in alpha to support the configuration of shielded VMs. - Added
--shielded-vm-learn-integrity-policy
flag togcloud compute instance update
in alpha to support configuration of the shielded VM integrity policy. - Modified
gcloud compute sign-url
to accept HTTP URLs in addition to HTTPS URLs for signing. - Added support for managed ssl certificates to
gcloud alpha compute ssl-certificates
Container Registry
- Fixed a bug with
auth configure-docker
when~/.docker
doesn't exist.
Kubernetes Engine
- Added
--private-cluster
flag to enable PrivateCluster creation: `gcloud beta container clusters create --private-cluster --master-ipv4-cidr - Added
--workload-metadata-from-node
flag togcloud beta container clusters create
andgcloud beta container node-pools create
to allow enabling metadata concealment on clusters and node pools. See https://cloud.google.com/kubernetes-engine/docs/how-to/metadata-proxy for more information. This feature is scheduled to be deprecated in the future and later removed.
191.0.0 (2018-02-28)
Breaking Changes
- (DEPRECATED) Deprecated
--instance-type
flag forgcloud beta bigtable instances update
. Usegcloud beta bigtable instances upgrade
instead. - (DEPRECATED) Renamed the
--description
flag to--display-name
forgcloud beta bigtable instances create
andgcloud beta bigtable instances update
. - (MODIFIED) The behavior of
--trigger-bucket
flag forgcloud functions deploy
has changed and now corresponds to the newobject.finalize
event on file creation. To get the legacy behavior, use the--trigger-event
and--trigger-resource
flags e.g. gcloud functions deploy --trigger-event
providers/cloud.storage/eventTypes/object.change
--trigger-resource - (MODIFIED) The schema for Pub/Sub events has changed.
eventId
,timestamp
,resource
, andeventType
have all been moved inside the context property e.g., context.timestamp. All functions deployed using--trigger-topic
flag will use the new schema. To get the legacy behavior, use the--trigger-event
and--trigger-resource
flags e.g. gcloud functions deploy --trigger-event
providers/cloud.pubsub/eventTypes/topic.publish
--trigger-resource - Please see https://cloud.google.com/storage/docs/pubsub-notifications for more information on storage event types.
- (REMOVED) Removed
functions/use_new_pubsub_trigger
andfunctions/use_new_object_trigger
properties. - Deprecated
gcloud sql instances export
. Usegcloud sql export sql
instead. - Deprecated
gcloud sql instances import
. Usegcloud sql import sql
instead. - Region is now inferred from
--gce-zone
flag duringgcloud sql instances create
calls, and will override any value set with--region
. - (REMOVED) Removed the deprecated
--port
flag fromgcloud compute backend-services
. Use--port-name
instead. - (DEPRECATED) Deprecated
--additional-zones
(replaced by--node-locations
)
App Engine
The Python SSL 2.7 library will be decommissioned on 2 April 2018. After this date, apps will be blocked from deploying until you specify the SSL library (latest) or (2.7.11).
Updated the Go SDK to version 1.9.63. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/go/release-notes
Cloud Bigtable
- Added
gcloud beta bigtable instances upgrade
command which upgrades an existing development instance to a production instance.
Cloud Datastore
- Promoted
gcloud datastore import
andgcloud datastore export
to GA.
Cloud Machine Learning Engine
- Added
--framework
flag togcloud ml-engine versions create
to specify the machine learning framework (TensorFlow, scikit-learn, or XGboost) for ML Engine versions.
Cloud SQL
- Promoted
gcloud sql export
to GA. - Promoted
gcloud sql import
to GA. - Added warnings when calling
gcloud sql instances create
with both the--region
and--gce-zone
flags, or with neither. These flags will become mutually exclusive, with exactly one being required for create calls.
Container Engine
- Added
container/use_v1_api_client
property as an alias ofcontainer/use_v1_api
.container/use_v1_api
is still supported.
Kubernetes Engine
- Added
--enable-pod-security-policy
flag to enable PodSecurityPolicy enforcement in clusters:gcloud beta container clusters create --enable-pod-security-policy
andgcloud beta container clusters update --enable-pod-security-policy
Stackdriver Debugger
- Changed
gcloud beta source upload
command to use the.gcloudignore
file if present. If not present and.gitignore
is,.gitignore
will still be used. Seegcloud topic gcloudignore
to learn more.
190.0.1 (2018-02-22)
- Hotfix for UnicodeDecodeError issue affecting logging.
190.0.0 (2018-02-21)
Breaking Changes
- The
--class
and--jar
flags for thehadoop
andspark
commands ingcloud dataproc jobs submit
are now mutually exclusive. The previous usage had been deprecated for more than a year. - (MODIFIED) Soon changing the default event schema returned by Cloud
Functions with a Pub/Sub trigger(e.g.
--trigger-topic
). TheeventId
,timestamp
,eventType
, andresource
properties will all be moved into theevent.context
property.- To opt-in to the new behavior early, run
gcloud config set functions/use_new_pubsub_trigger True
. - To restore old behavior, run
gcloud config set functions/use_new_pubsub_trigger False
or use the--trigger-event
flag e.g.gcloud functions deploy --trigger- event providers/cloud.pubsub/eventTypes/topic.publish \ --trigger-resource <TOPIC_NAME>
- Please see https://cloud.google.com/functions/docs/writing/background#event_parameter for more information on the new schema.
- To opt-in to the new behavior early, run
- In alpha and beta:
- Removed
iot configs
andiot credentials
command groups. Please useiot devices configs
andiot devices credentials
instead. - Removed the
--enable-device
flag fromiot devices create
andiot devices update
. Please use--blocked
instead. - Removed the
--pubsub-topic
flag and deprecated the--event-pubsub-topic
flag fromiot registries create
andiot registries update
. Please use the--event-notification-config
flag instead.
- Removed
- (REMOVED) Removed
NAME
and--regexp
args fromcompute target-ssl-proxies list
. Please use the--filter
flag instead. - Added the
container/use_v1_api
property, which replaces thecontainer/use_v1_api_client
property. If true, all gcloud Kubernetes Engine commands (regardless of release track) will use the v1 API; otherwise, gcloud beta track commands will use v1beta1 API and gcloud alpha track commands will use v1alpha1 API. By default, it is set to true. The default will be changed to false by the end of March.
App Engine
- Updated the Python SDK to version 1.9.67. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
gcloud app deploy
can now deploy App Engine Java Standard apps, by providing the path to appengine-web.xml.- Staging is now supported in appengine-web.xml. Information on staging tags is available in the appengine-web.xml reference.
Cloud Datalab
- Updated the
datalab
component to the 20180213 release. Released changes are documented in its tracking issue at https://github.com/googledatalab/datalab/issues/1959.
Cloud Dataproc
- Added
--image
flag togcloud beta dataproc clusters
andgcloud beta dataproc workflow-templates
.
Cloud IoT
- Promoted
gcloud iot
commands to GA.
Cloud Machine Learning Engine
- Added
--description
flag togcloud models create
,gcloud models update
,gcloud versions create
, andgcloud versions update
to manage model and version descriptions, respectively.
Cloud SDK
- Modified
--log-http
to redact oauth tokens by default.
Cloud SQL
- Added
--database
flag togcloud beta sql connect
. - Change
gcloud sql instances list
default table format REGION column to LOCATION, containing either the gceZone if defined or the region.
Compute Engine
- Promoted
public-ptr
andpublic-ptr-domain
flags ofgcloud compute instances create
,gcloud compute instances add-access-config
, andgcloud compute instances update-access-config
to GA. These flags allow setting up the PTR record for the external IPs of Compute Engine instances. - Added
--shielded-vm-secure-boot
and--shielded-vm-vtpm
flags togcloud compute instance-templates create
in alpha to support the configuration of shielded VMs. - Added
--enable-flow-logs
flag togcloud compute networks subnets create
andgcloud compute networks subnets update
to toggle between enabling and disabling flow logs for the subnet. - Changed
gcloud alpha compute images vulnerabilities list
to display the image name instead of image id to match images command group usage. - Promoted
--create-disk
flag ofgcloud compute instances create
to beta. These flags allow creating new disks during instance creation. - Modified
gcloud compute machine-types list
to filter out OBSOLETE types by default. Specify a--filter
=... flag, or--filter=""
to list all types.
Container Builder
- Modified
gcloud container builds submit
such that if no source is specified and the--no-source
flag is omitted, the current working directory will be used.
Container Engine
gcloud container clusters list
changed to displayinitialNodeCount
in the NUM_NODES column ifcurrentNodeCount
is undefined. This shows a usable value during upgrading.- The
--region
flag is now available in all 'gcloud beta|alpha container' commands.
Kubernetes Engine
- Added
--issue-client-certificate
togcloud container clusters create
in GA. This allows users to create clusters without global admin key pair (using--no-issue-client-certificate
) to improve security.
189.0.0 (2018-02-14)
Breaking Changes
- (REMOVED) Removed the
--ssl-certificate
flag fromgcloud compute target-https-proxies create
,gcloud compute target-https-proxies update
,gcloud compute target-ssl-proxies create
, andgcloud compute target-ssl-proxies update
. Use--ssl-certificates
instead.
App Engine
- Updated the Java SDK to version 1.9.62. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/java/release-notes
- Changed
gcloud app deploy
to use a new runtime build pipeline to deploy apps for Go (in the Flexible Environment). This enables more robust and flexible deployments in some cases. To revert to the legacy builder, rungcloud config set app/use_runtime_builders false
from the command line.
BigQuery
- Added experimental support for import of ORC files into BigQuery.
- Added Cloud KMS key rotating for customer-managed encryption key protected BigQuery tables.
- Added
--location
flag to specify the geographic location in which BigQuery jobs will run. No changes are required for commands in the existing US and EU regions.
Cloud Datalab
- Updated the
datalab
component to the 20180206 release. Released changes are documented in its tracking issue at https://github.com/googledatalab/datalab/issues/1945.
Cloud Datastore Emulator
- Released Cloud Datastore Emulator version 1.4.1.
- Recommended: Use the health check endpoint to confirm emulator startup instead of relying on the "Dev App Server is now running." message.
- Fixed issue where the emulator server would close HTTP connections before shutting down, which was a problem for /shutdown. This issue can be tracked at https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/188.
Compute Engine
- Modified the preview field to be optional when importing using
gcloud compute security-policies import
orgcloud compute security-policies create
.
Container Engine
Promoted
--cluster-secondary-range-name
,--create-subnetwork
,--enable-autorepair
,--enable-ip-alias
,--enable-kubernetes-alpha
,--enable-legacy-authorization
,--enable-network-policy
,--labels
,--local-ssd-count
,--maintenance-window
,--enable-master-authorized-networks
,--master-authorized-networks
,--min-cpu-platform
,--node-locations
,--node-taints
,--node-version
,--preemptible
,--service-account
,--services-ipv4-cidr
,--services-secondary-range-name
ofgcloud container clusters create
to GA.Promoted
--complete-ip-rotation
,--enable-legacy-authorization
,--enable-master-authorized-networks
,--enable-network-policy
,--logging-service
,--maintenance-window
,--remove-labels
,--start-ip-rotation
,--update-labels
,--node-locations
,--master-authorized-networks
ofgcloud container clusters update
to GA.Promoted
--enable-autorepair
,--local-ssd-count
,--min-cpu-platform
,--node-taints
,--preemptible
,--node-version
ofgcloud container node-pools create
to GA.Promoted
--enable-autorepair
ofgcloud container node-pools update
to GA.
188.0.1 (2018-02-08)
- Hotfix for https://issuetracker.google.com/73044966 affecting Cloud SDK installations in environments with inconsistent access to the Compute Engine metadata server.
188.0.0 (2018-02-07)
Breaking Changes
- (REMOVED) Removed deprecated
gcloud service-management
. Usegcloud endpoints
andgcloud services
instead. - (MODIFIED) The default trigger event behavior for
--trigger-bucket
flag on thegcloud functions deploy
command will soon change.google.storage.object.finalize
will replaceproviders/cloud.storage/eventTypes/object.change
as default trigger event. To opt-in to the new behavior early, rungcloud config set functions/use_new_object_trigger True
.
Cloud SDK
- Added
gcloud topic command-conventions
for details on command line conventions and processing.
Compute Engine
- Promoted
gcloud compute security-policies rules
to beta. - Added
--file-name
and--file-format
flags togcloud compute security-policies create
. These flags allow creating security policies from predefined templates by importing from the specified file. - Modified the default file format for
gcloud compute security-policies import
andgcloud compute security-policies export
from json to yaml.
Container Builder
- Fixed issue where a
.gcloudignore
entry matching "." causedgcloud container builds submit
to not upload any files.
Firebase Test Lab
- Added default
as a possible device orientation. When orientation is
default, the most appropriate orientation for your app is picked. Usually, this is any app-specified orientation for the main activity or
portrait`, if none is specified in the app manifest.
Identity and Access Management
- (MODIFIED) Promoted
gcloud beta iam roles
,gcloud beta iam list-testable-permissions
to GA.
Miscellaneous
- Updated the Pub/Sub Emulator
- Pub/Sub emulator now spams the console less.
- Pub/Sub emulator properly sets the default value for Subscription.message_retention_duration.
Subscribe to these release notes at https://groups.google.com/forum/#!forum/google-cloud-sdk-announce.
187.0.0 (2018-01-31)
App Engine
- Updated the Java SDK to version 1.9.61. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/java/release-notes
App Engine Flexible Environment
- Added
--use-container-optimized-os
flag togcloud alpha|beta app update
to enable Container-Optimized OS as Flex VM base image by default on new deployments.
Cloud DNS
- Added Cloud labels flags to
gcloud beta managed-zones create
andgcloud beta managed-zones update
commands.
Cloud Interconnect
- Promoted support for labels on interconnects to beta.
Cloud Pub/Sub
- Added
gcloud alpha pubsub snapshots describe
command.
Cloud TPU
- Promoted
gcloud compute tpus
to beta.
Compute Engine
- Promoted
gcloud compute target-vpn-gateways update
andgcloud compute vpn-tunnels update
to beta. These commands allow adding/modifying/clearing labels. - Promoted
stackdriver-metric
flag family ofgcloud compute instance-groups managed set-autoscaling
to beta. These flags allow setting up per-group autoscaling and metric filtering, as well as provide an improved interface to the existing per-instance autoscaling. - Promoted
--source-snapshot
flag ofgcloud compute images create
command to beta. This flag allows creating images from snapshots. - Promoted
--guest-os-features
flag ofgcloud compute disks create
to beta. This flag allows create disks with additional specified GuestOS features. - Promoted
--licenses
flag ofgcloud compute disks create
to GA. This flag allows create disks with additional specified licenses.
Container Builder
- Changed
gcloud container builds submit
command to no longer create a.gcloudignore
file on disk. Git files are still ignored by default, seegcloud topic gcloudignore
to learn more.
Container Engine
- Promoted
--accelerator
flag ofgcloud container clusters create
andgcloud container node-pools create
to beta.
Container Registry
- Removed public read-only endpoints from default registries used by
gcloud docker
anddocker-credential-gcloud
for authentication.
Kubernetes Engine
- Fixed an issue causing relative
KUBECONFIG
paths to fail when used with thegcloud container clusters get-credentials
command.
Miscellaneous
- Fixed crash when attempting to use a SOCKS proxy https://issuetracker.google.com/72407295.
186.0.0 (2018-01-24)
Breaking Changes
(REMOVED) Removed support for the format
--scopes=[ACCOUNT=]SCOPE,[[ACCOUNT=]SCOPE,...]]
ingcloud compute instances create
,gcloud compute instances create-with-container
,gcloud compute instance-templates create
, andgcloud compute instance-templates create-with-container
. Please use--scopes=[SCOPE, ...]
and--service-account=ACCOUNT
instead.(MODIFIED) Added cautionary 'y/n' prompts to
gcloud beta iam roles create
,gcloud beta iam roles update
, andgcloud beta iam roles copy
commands when using permissions withTESTING
customRolesSupportLevel
. The prompt needs to be answered to finish the request. Specify--quiet
to prevent prompting confirming intent.
Cloud Datalab
Updated the
datalab
component to the 20180119 release.Released changes are documented in its tracking issue at https://github.com/googledatalab/datalab/issues/1921.
Cloud Datastore Emulator
- Released Cloud Datastore Emulator version 1.4.0.
- The emulator now returns error codes that match the Cloud Datastore service for two scenarios: inserts of entities that already exist and updates to ones that don't.
Cloud Functions
- Modified behaviour of
gcloud beta functions deploy
when re-deploying existing function without --source flag.beta functions deploy
will now always upload source code (whether or not --source flag is supplied) from current directory if function was previously deployed from local source.
Cloud SDK
- The
[all-box]
attribute has been added to the table format. It draws a rule around all table cells and may be useful for visualizing list data or data with embedded newlines. Usage:--format="table[all-box](...)
- Added
gcloudignore/enabled
property to allow turning off default file-skipping behavior on commands that upload source. Run$ gcloud config set gcloudignore/enabled false
(and see$ gcloud topic gcloudignore
for more details).
185.0.0 (2018-01-17)
Cloud Datalab
Updated the
datalab
component to the 20180105 release.Released changes are documented in its tracking issue at https://github.com/googledatalab/datalab/issues/1892.
Compute Engine
Promoted
gcloud compute os-login
commands to GA.Promoted SSL policy commands to beta
- Promoted
compute ssl-policies
to beta. - Promoted
--ssl-policy
flag incompute target-https-proxies create
andcompute target-ssl-proxies create
to beta. - Promoted
--ssl-policy
and--clear-ssl-policy
flags incompute target-https-proxies update
andcompute target-ssl-proxies update
to beta.
- Promoted
Container Registry
- Added
staging-k8s.gcr.io
to the default set of registries authenticated bygcloud docker
.
Kubernetes Engine
- Removed
--disable-addons
flag in gcloud container alpha|beta clusters create. - Added
--addons
flag to gcloud container clusters create. - Deprecated
--disable-addons
flag in gcloud container clusters create.
184.0.0 (2018-01-10)
Breaking Changes
- (REMOVED) Removed
gcloud ml-engine init-project
. This step is now performed automatically. - Removed
--discard-local-ssd
flag fromgcloud compute instances stop
(beta and GA). This flag wasn't working as intended. Stopping an instance that uses a local SSD is not currently supported; delete and recreate the instance instead. - (DEPRECATED) Deprecated the
gcloud container
--[no-]enable-cloud-endpoints
flag (removed in alpha and beta). - (MODIFIED) Added the
gcloud container
container/new_scopes_behavior
property, which will, in a future release, be the default behavior. If set to true,compute-rw
,devstorage-ro
,service-control
, andservice-management
scopes are no longer added to what is specified in--scopes
,compute-rw
is no longer inluded in the default scopes, and--[no-]enable-cloud-endpoints
flags are not allowed. This is now the default behavior for alpha and beta, so this property has no effect for those tracks.
App Engine
- Fixed an issue where
queue.yaml
deployments failed due to a permission error. - Updated the Python SDK for App Engine to version 1.9.65.
- Added SetupTools version 36.6.0 to the built-in third-party libraries.
- Updated Java SDK to version 1.9.60. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/java/release-notes
- Updated the Go SDK for App Engine to version 1.9.62
- Includes internal updates for how applications are deployed.
- Fixed inaccurate warning about "module" in
app.yaml
configuration file
BigQuery
- Fixed issue where page token switch (
-k
or--page_token
) was not passed tolist --transfer_config
command. - Fixed issue where
list --transfer_run
command filter condition failed due to field name error. - Added time partitioning field to
show
command.
Cloud Datalab
Updated the
datalab
component to the 20171222 release.Released changes are documented in its tracking issue at https://github.com/googledatalab/datalab/issues/1868.
Cloud Dataproc
- Added boot disk type configuration flags to the
gcloud beta dataproc clusters create
command:--master-boot-disk-type
--worker-boot-disk-type
--preemptible-worker-boot-disk-type
Cloud Machine Learning Engine
- Added
--labels
flag togcloud ml-engine models create
andgcloud ml-engine versions create
. - Added
--labels
flag togcloud ml-engine jobs prediction submit
andgcloud ml-engine jobs training submit
. - Added
gcloud ml-engine models update
,gcloud ml-engine versions update
, andgcloud ml-engine jobs update
commands which update Cloud Machine Learning resources.
Cloud Pub/Sub
- Added
--wait
flag togcloud beta pubsub subscriptions pull
.
Cloud SQL
- Added
--user
flag togcloud beta sql import sql
to add support for specifying a Postgres user to import with. - Added
--user
flag togcloud beta sql import csv
to add support for specifying a Postgres user to import with.
Container Builder
Added support for .gcloudignore
files to container builds submit
command.
Container Engine
- Updated Google Kubernetes Engine's kubectl from version 1.8.4 to 1.8.6.
- Promoted
--node-version
flag ofgcloud container clusters create
andgcloud container node-pools create
to GA. Clusters/node-pools can now be created with a node version different from that of the master, via the--node-version
flag.
Container Registry
- Updated
docker-credential-gcr
to v1.4.2:- Refreshes the cloud SDK's access token when retrieving it, when configured
to use
gcloud
as a token source.
- Refreshes the cloud SDK's access token when retrieving it, when configured
to use
183.0.0 (2017-12-13)
Breaking Changes
- Modified the default output for
gcloud beta logging metrics list
to display in YAML format. To view metrics in the previous table format, usegcloud beta logging metrics list --format "table(name, description, filter)"
. - Deprecated the
gcloud alpha source captures
group. Please see thegcloud debug source upload
command.- Made 'gke-default' the default for --scopes in
gcloud container [clusters|node-pools] create
. It includes storage-ro, logging-write, monitoring, service-control, service-management, and trace. - Fixed issue in
gcloud container [clusters|node-pools] create
where, if --scopes included cloud endpoints scopes and --no-enable-cloud-endpoints was also specified, the cloud endpoints scopes were still included. They are now filtered out.
- Made 'gke-default' the default for --scopes in
- (MODIFIED) Modified
gcloud alpha deployment-manager deployments <create|update|describe>
andgcloud alpha deployment-manager resources list
commands to show the 'RUNTIME_POLICIES' instead of 'INTENT' of the resources under deployment that have not been previewed.
App Engine
- Updated App Engine Python components to 1.9.64. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
Cloud Dataproc
- Promoted
--num-masters
flag for Dataproc Cluster High Availability mode in thegcloud dataproc clusters create
command to GA. - Promoted
--graceful-decommission-timeout
flag ofgcloud dataproc clusters update
command for Dataproc Graceful Downscale to GA. - Added
--master-min-cpu-platform
and--worker-min-cpu-platform
flags to `gcloud beta dataproc clusters create
Cloud Logging
- Added a
--config-from-file
flag to thegcloud logging metrics create
andupdate
commands in beta. This flag is mutually exclusive with--description
and--log-filter
and can be used to configure a new metric or update the configuration of a metric.
Cloud ML Product Search
- Launched ML Product Search (
gcloud ml products
) to ALPHA.
Compute Engine
- Added the
gcloud beta compute os-login ssh-keys describe
command, which displays the details of an OS Login user profile SSH key. - Promoted
--labels
flag ofgcloud compute instance-templates
create to GA. - Added
--configure-disk
flag to beta commandcompute instance-templates create
. - Added
gcloud beta compute os-login remove-profile
command which removes posix account information for OS Login users.
Deployment Manager
- Modified
gcloud alpha deployment-manager deployments create
,gcloud alpha deployment-manager deployments update
,gcloud alpha deployment-manager deployments describe
and 'gcloud alpha deployment-manager resources list' commands to show additional 'TO_RUN' or 'NOT_RUN' intent for action resources under previewed deployment.
Speech API
- Promoted
gcloud ml speech
to GA.
Stackdriver Debugger
- Added
gcloud beta debug source upload
to replace thegcloud alpha source captures
group.
Vision API
- Promoted
gcloud ml vision
to GA.
182.0.0 (2017-12-06)
Breaking Changes
- Renamed the
--language
flag to--language-code
for thegcloud beta ml speech
commands. - For
gcloud [alpha|beta] container [clusters|node-pools] create
,--service-account
is now mutually exclusive with--scopes
and--[no-]enable-cloud-endpoints
, and sets thecloud-platform
scope when specified. - (REMOVED) Removed ability to use
--backup-pool
flag without an argument ingcloud compute target-pools set-backup
. Use--no-backup-pool
instead. - (REMOVED) Removed ability to use
--bucket
flag without an argument ingcloud compute project-info set-usage-bucket
. Use--no-bucket
instead.
Cloud Video Intelligence API
- Promoted
gcloud ml video
to GA.
Cloud Natural Language API
- Promoted
gcloud ml language classify-text
to GA.
Speech API
- Added the
--include-word-time-offsets
flag to thegcloud beta ml speech
commands.
Google Container Engine
- Regional clusters are in beta. The
--region
flag is now supported in thegcloud beta container clusters
surface. - Added the
--machine-type
and--disk-size
flags to thegcloud container builds submit
command. - Updated Google Container Engine's kubectl from version 1.8.3 to 1.8.4.
- Added
--allow-route-overlap
flag ingcloud beta container clusters create
to allow the provided cluster CIDRs to overlap with some existing routes.
Google Cloud Bigtable
- Updated the version of
cbt
to 0.2.3. Changes in this version:- Fixed spurious error message for many commands
- Added the ability to apply a regex to
read
command
Google Container Builder
- Updated the version to 0.2.6. Changes in this version:
- Added build's timing information: build steps, image pulls and pushes.
- Simplified logs package.
Google Cloud Functions
- The
--stage-bucket
flag of the betafunctions deploy
command is now optional, even when deploying from local sources. The command now uploads sources to signed URLs generated by the API.
181.0.0 (2017-11-30)
- NOTE: This release was hidden and the Cloud SDK was rolled back to version 180.0.1.
Breaking Changes
- Promoted
gcloud pubsub
to GA. There are breaking changes in beta.pubsub subscriptions modify-ack-deadline
has been renamed topubsub subscriptions modify-message-ack-deadline
.- (BETA - DEPRECATED) Deprecated
modify-ack-deadline
. It will be removed in the future. - In
pubsub subscriptions ack
,pubsub subscriptions modify-message-ack-deadline
, andpubsub subscriptions modify-ack-deadline
, the positional argumentACK_ID
has been replaced by--ack-ids
. - (BETA - DEPRECATED) Deprecated the positional. It will be removed in the future.
- Removed the
--max-messages
flag frompubsub subscriptions pull
. Use the--limit
flag to achieve the same behavior. - (BETA - DEPRECATED) Deprecated
--max-messages
. It will be removed in the future. - Replaced the positional argument
MESSAGE_BODY
with--message
inpubsub topics publish
. - (BETA - DEPRECATED) Deprecated the positional. It will be removed in the future.
- Added
pubsub subscriptions describe
andpubsub topics describe
commands to all release tracks. - All commands in
pubsub subscriptions
andpubsub topics
now output exactly the API response. Extra fields have been removed. See the following for output documentation: https://cloud.google.com/pubsub/docs/reference/rest/ - (BETA), this is also the new default behavior. You can set the
pubsub/legacy_output
property to get the old output. This will eventually be removed.
- (ALPHA - DEPRECATED)
gcloud alpha shell
has been renamedgcloud alpha interactive
.
Google Cloud SDK
gcloud alpha interactive
has been added with these features:- auto-completion and active help for gcloud commands, flags and resource arguments
- auto-completion and active help for bq, gsutil and kubectl
- support for running non-gcloud commands
- state preservation across commands: cd, pwd, local and environment variables
Compute Engine
- Promoted
--source-instance-template
flag ofgcloud compute instances create
command to beta. - Added
--async
flag togcloud alpha compute instances suspend
.- Added wait polling for synchronous case.
- Removed zone prompting support.
- Moved tests to autogen test framework.
Cloud Machine Learning
gcloud beta ml vision suggest-crop
is now available.
Google App Engine
- Fixed issue where Python 2.7 apps using App Engine managed libraries, such as
Django and Flask, would result in ImportError when running
dev_appserver.py
. Now,dev_appserver.py
offers to install theapp-engine-python-extras
component which contain the missing libraries. Only applies to apps specifying thelibraries
-section in app.yaml.
Google Cloud Dataproc
- Renamed
run
toinstantiate
ingcloud beta dataproc workflow-templates
command group.
Google Cloud Source Repositories
- Corrected warning message from
gcloud source repos clone
when cloning a mirror.
Google Cloud Deployment Manager
deployment-manager deployments create/update --config
no longer accepts templates. Please use the--template
argument.
180.0.1 (2017-11-20)
- Hotfix for
gcloud compute project-info add-metadata/remove-metadata
crashes.
180.0.0 (2017-11-15)
Breaking Changes
- (REMOVED) Removed the capability to deploy Endpoints configuration when
using
gcloud beta app deploy
.
Google Container Engine
- Updated Google Container Engine's kubectl from version 1.8.2 to 1.8.3.
Google Cloud SQL
- Updated
gcloud sql instances import
to show full source URI.
Google App Engine
- Updated components to 1.9.63.
- Added deprecation warning in
gcloud app deploy
for Python apps using the libraryssl 2.7
. For information about this deprecation, see https://cloud.google.com/appengine/docs/standard/deprecations/python-ssl-27. - Fixed issue affecting the Go runtime in which
gcloud app deploy
failed at finding dependencies that are not required. - Added
--go_debugging
flag todev_appserver.py
to enable delve debugging for the Go runtime.
Google Cloud ML
- Made Google Cloud ML Engine scale tier BASIC_TPU available in gcloud command line tool.
Google Cloud Deployment Manager
- Updated
gcloud deployment-manger
to use latest public API version.
179.0.0 (2017-11-08)
Breaking Changes
- (DEPRECATED) Deprecated
gcloud service-management
in favor ofgcloud endpoints
andgcloud services
. See help text for details. - Removed the
gcloud alpha bio
command group.
Google Container Engine
- Added the --enable-basic-auth flag to
gcloud container clusters create
. - Added the --username, --enable-basic-auth, and --password flags to
gcloud container clusters update
. These allow a user to enable/disable basic auth on an existing cluster or change the username.
Google Compute Engine
- Promote these commands to beta:
gcloud beta compute instance-templates create-with-container
gcloud beta compute instances create-with-container
gcloud beta compute instances update-container
- Added alpha commands for creating, describing, listing, deleting, updating
SSL policies and listing available SSL policy features:
gcloud alpha compute ssl-policies create
gcloud alpha compute ssl-policies describe
gcloud alpha compute ssl-policies list
gcloud alpha compute ssl-policies delete
gcloud alpha compute ssl-policies update
gcloud alpha compute ssl-policies list-available-features
- Added alpha commands for attaching SSL policies to Target HTTPS proxies
and Target SSL proxies:
gcloud alpha compute target-https-proxies create
gcloud alpha compute target-https-proxies update
gcloud alpha compute target-ssl-proxies create
gcloud alpha compute target-ssl-proxies update
Google App Engine
- Components updated to 1.9.59. Please visit the following release notes for
details:
- Java - https://cloud.google.com/appengine/docs/standard/java/release-notes
Firebase Test Lab
Added Firebase Test Lab support for testing Android apps that include a network profile setting. Run tests as follows:
gcloud firebase test android run
--network-profile=LTE # or LTE-poor, HSPA, etc.
Cloud Pub/Sub
- Added the following commands to the
gcloud beta pubsub topics
andgcloud beta pubsub subscriptions
groups, which enable managing IAM policies:set-iam-policy
get-iam-policy
add-iam-policy-binding
remove-iam-policy-binding
- Added labels flags (
--labels
,--update-labels
, and--remove-labels
) togcloud pubsub topics create
,gcloud pubsub topics update
,gcloud pubsub subscriptions create
,gcloud pubsub subscriptions update
,gcloud pubsub snapshots create
, andgcloud pubsub snapshots update
in release tracks where these commands exist. Use these labels to organize your Google Cloud Pub/Sub subscriptions.
Cloud Machine Learning
- All
gcloud ml
commands in all release tracks can now be used with standard user credentials (no longer requires a service account). For this to work, you must have the appropriate ML API enabled on your current gcloud project.
178.0.0 (2017-11-01)
Google App Engine
- The Java development server for Standard is now available as
java_dev_appserver.sh
(java_dev_appserver.cmd
for Windows). It is equivalent to the dev_appserver.sh/cmd from the Java Standalone App Engine SDK.
Google Cloud Datastore Emulator
- Cloud Datastore Emulator version changed from 1.3 to 1.3.0 for gcloud emulator package compatibility, with no other changes.
Google Compute Engine
- Added --async flag to gcloud computes instances stop command. Added wait polling for synchronous cases.
- Promoted
compute instance-templates create-with-container
,compute instances create-with-container
, andcompute instances update-container
commands to beta. - Promoted
--deletion-protection
flag ingcloud compute instances create/update
to GA. - Added
source-service-accounts
andtarget-service-accounts
ingcloud compute firewall-rules {describe, list, create, update}
commands.
Google Container Engine
- Updated Google Container Engine's kubectl from version 1.7.6 to 1.8.2
- Removed
--wait
flag incontainer node-pools delete
. Please use--async
instead. - Added warning prompt to be displayed when using
gcloud alpha/beta container clusters
, to avoid failure due to incorrect configuration.
Google Cloud SQL
gcloud sql database create
now returns with non-zero exit code on database creation failure.- Added
beta sql import csv
, to support importing data from CSV files into Cloud SQL instances. - Added
beta sql import sql
, with the eventual goal of replacingsql instances import
. gcloud beta sql instances create
andgcloud beta sql instances patch
commands now support the--availability-type
flag, for use in toggling high availability on Postgres instances.
Google Cloud Spanner
- Promoted the Spanner Databases Sessions command group to GA.
177.0.0 (2017-10-25)
Breaking Changes
- (BETA - DEPRECATED) The
--include-ignored-file
flag ofgcloud beta functions deploy
is now deprecated. Added support for using a.gcloudignore
file instead. - The
gcloud pubsub snapshots create
,gcloud pubsub snapshots update
,gcloud pubsub subscriptions create
,gcloud pubsub subscriptions update
,gcloud pubsub topics create
,gcloud pubsub topics update
, andgcloud pubsub subscriptions update
commands have been updated:- These now throw an exception when any of the API requests fail. The exception contains the list of failed requests.
- These now only output the resources corresponding to successful requests.
- The
success
andreason
fields have been removed from the output of these commands.
Google Cloud Endpoints
gcloud endpoints
andgcloud services
are now generally available.
Google App Engine
gcloud app deploy
now uses a new runtime build pipeline to deploy apps for Python. This enables more robust and flexible deployments in some cases. To revert to the legacy builder, rungcloud config set app/use_runtime_builders false
from the command line.- Go 1.8 is now generally available and the default Go runtime.
- Google App Engine components have been updated to 1.9.62.
Please visit the following release notes for details:
- Python - https://cloud.google.com/appengine/docs/standard/python/release-notes
Google Compute Engine
- (ALPHA) Added support to update the default network tier on a Compute Engine
project:
gcloud alpha compute project-info update --default-network-tier DEFAULT_NETWORK_TIER
.
Google Cloud SQL
- (BETA) Added
gcloud beta sql export csv
to support exporting data from a Cloud SQL instance to a CSV file. - (BETA) Added
gcloud beta sql export sql
with the eventual goal of replacinggcloud sql instances export
.
Google Cloud Storage
- Updated gsutil component to 4.28
176.0.0 (2017-10-18)
Breaking Changes
- (DEPRECATED) Deprecated the
switch-mode
command fromgcloud compute networks
, replaced by theupdate --switch-to-custom-subnet-mode
command. - The
--force
flag is removed fromgcloud source repos delete
.
Google Cloud SDK
- On 64-bit Windows platforms Google Cloud SDK will use 64-bit python version 2.7.13. Previously it was using 32-bit version. Existing Windows installations using Cloud SDK with included python will see their python swapped for new version when upgrading to this release.
Google Compute Engine
- CPU Platform Selection is now generally available. The
--min-cpu-platform
flag can now be used in the following commands to set the minimum desired CPU Platform of the virtual machine instance.gcloud compute instances create
gcloud compute instances update
gcloud compute instance-templates create
gcloud beta compute os-login
commands are now available for using Google Compute Engine OS Login.gcloud compute images create
now has a--guest-os-features
flag for enabling specific OS supported features.- Added alpha support for labels for the
gcloud compute target-vpn-gateways update
command. - Added static internal IP reservation to
gcloud compute addresses create
. Users can now:- reserve a specific address and then associate it with a specific resource
- specify an ephemeral internal IP address for a resource and then promote the address
Google App Engine
- Components updated to 1.9.58. Please visit the following release notes
for details:
- Java - https://cloud.google.com/appengine/docs/standard/java/release-notes
Google Container Engine
- Added the
--node-taints
flag togcloud container clusters create
andgcloud container node-pools create
in beta to support Kubernetes taints.
Firebase Test Lab
- The
--use-orchestrator
flag forgcloud firebase test android run
is now generally available.
Google Cloud Spanner
- The following commands are now available in beta:
gcloud spanner databases sessions list
(to list active sessions in a Spanner database)gcloud spanner databases sessions delete
(to delete an active session in a Spanner database)
Google Cloud Dataflow
- The
--region
flag has been added to allgcloud dataflow
commands to support Dataflow Regional Endpoints.- Most commands will function without the
--region
flag, and will continue to default tous-central1
without the flag. - The
jobs list
command will default to listing jobs from all regions unless the--region
flag is specified, at which point it will only query that regional endpoint. - Added a
--staging-location
flag to thejobs run
command to permit running of templates where the template is location-only readable, not writeable.
- Most commands will function without the
Google Cloud Container Builder Local Builder
- Updated container-builder-local to version 0.2.5. This:
- Adds a flag to export workspace to host
Google Cloud Datastore Emulator
- Updated cloud-datastore-emulator to version 1.3. Cloud Datastore emulator now supports ID reservation in the Cloud Datastore V1 API.
175.0.0 (2017-10-11)
Breaking Changes
- Behavior of
--segments
flag for allgcloud ml video detect-*
commands changed. The flag now accepts a list of duration pair strings (e.g. 0:1m40s,3m50s:5m10.232265s) instead of pairs of microseconds. Microseconds can still be specified using fractional seconds. For example, 0.000569s represents 569 microseconds. - The
--mode
flag for thegcloud compute networks create
command has been deprecated. Please use the--subnet-mode
flag instead. - The output of the
gcloud container images describe
command has been updated to be more consistent with other commands.
Google Compute Engine
gcloud compute networks update
is now generally available.--bgp-routing-mode
and--subnet-mode
flags added togcloud compute networks create
.- Ability to configure reverse DNS (PTR) records for instances through the
gcloud beta compute instances create --public-ptr-*
flags and thegcloud beta compute instances update-access-config
command now available.
Google App Engine
gcloud app firewall-rules
is now generally available.
Google Cloud Resource Manager
gcloud projects create --folder
is now generally available. This command enables creation of projects within folders.
Google Cloud KMS
gcloud kms update
is now generally available.
Google Cloud Video Intelligence
gcloud beta ml video detect-explicit-content
is now available.
Google Cloud Datalab
- Updated the
datalab
component to the 20171003 release. Changes in that release are documented here.
Google Cloud Deployment Manager
- The
--credential
flag forgcloud alpha deployment-manager deployments create/update
commands is now available. Using this flag, a custom service account can be provided as the deployment credential.
Google Cloud SDK
- Nested command line argument groups have been enabled. The groups are
clearly labelled and indented in
--help
documents. Also, argument group conflict error messaging is uniform across allgcloud
commands.
174.0.0 (2017-10-04)
Google App Engine
- App Engine components updated to 1.9.61. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes
- The App Engine flexible environment now defaults to Python 3.6 when Python
3 is requested. To revert to Python 3.5, specify
python_version: 3.5
in theruntime_config
element of yourapp.yaml
configuration file - The
aspnetcore
runtime is now available usinggcloud app deploy
in the GA track. It remains available via the beta track as well. See https://cloud.google.com/appengine/docs/flexible/dotnet/ for more details. - Auto-generated app.yaml for Go under Flexible no longer contains
api_version
(which is for the Standard only).
Google Compute Engine
- Adding/Removing IP alias ranges are now supported in
gcloud beta compute instances network-interfaces update
. Subnetwork secondary ranges can be modified usinggcloud beta compute networks subnets update
. - Add
gcloud alpha compute sign-url
for generating Cloud CDN Signed URLs. - Add
--signed-url-cache-max-age
flag to the following alpha commands related to Cloud CDN Signed URL:gcloud alpha compute backend-buckets create
gcloud alpha compute backend-buckets update
gcloud alpha compute backend-services create
gcloud alpha compute backend-services update
- Add alpha commands for adding and deleting Cloud CDN Signed URL keys to
backend buckets and services:
gcloud alpha compute backend-buckets add-signed-url-key
gcloud alpha compute backend-buckets delete-signed-url-key
gcloud alpha compute backend-services add-signed-url-key
gcloud alpha compute backend-services delete-signed-url-key
Google Cloud Dataproc
- Added
gcloud beta dataproc workflow-templates
group for managing Dataproc Workflow Templates.
173.0.0 (2017-09-27)
Google App Engine
- Add build tag for Go 1.9 to go-app-stager
- Fixed build tags when using dev_appserver.py with the Go 1.8 beta
Google Cloud Dataproc
- Added
gcloud beta dataproc clusters get-iam-policy
andgcloud beta dataproc clusters set-iam-policy
commands to manage IAM permissions on a cluster.
Google Cloud IOT
gcloud iot
is now in public beta.- The --enable-device boolean flag for
beta iot device create/update
is now deprecated and renamed to --blocked. - Added
--enable-http-config
flag tobeta iot registries create/update
. - Added new flag
--state-pubsub-topic
flag tobeta iot registries create/update
- Added two new key types for
iot device
credentials and renamed existing types. - Added --metadata[-from-file] flag to
beta iot devices create/update
. - Added
beta iot registries credentials
command group and added the--public-key-path
flag tobeta iot registries create
. - Added
beta iot devices states list
surface.
Google Compute Engine
- Fix validation in
gcloud compute routers update-interface
to disallow --mask-length to be specified without --ip-address. - Add
--zones
flag tobeta compute instance-groups managed create
command.
Google Container Engine
- The
--enable-network-policy
flag is now available in thegcloud beta container clusters update
command. To use this command on an existing cluster, first rungcloud beta container clusters update --update-addons network-policy=ENABLED
. - Added --maintenance-window flag to
gcloud beta container clusters create
andgcloud beta container clusters update
. - Updated Google Container Engine's kubectl from version 1.7.5 to 1.7.6.
- The
--enable-autoupgrade
flag is now GA, available forgcloud container cluster create
,gcloud container node-pools create
andgcloud container node-pools update
commands.
Google Container Registry
- gcloud auth configure-docker is now in BETA. This is the new preferred method to configure gcloud/docker integration.
Google Cloud Machine Learning Engine
- Added
--summarize
flag togcloud ml-engine jobs describe
command. Prints job resource in human readable table format.
Google Cloud Machine Learning Language
gcloud ml language analyze-entity-sentiment
is now in GA
172.0.1 (2017-09-21)
Google Cloud Service Management
- Fixing crash in gcloud service-management deploy
172.0.0 (2017-09-20)
Google App Engine
gcloud app update
is now available.gcloud app deploy
now uses a new runtime build pipeline to deploy apps forruntime: java
. This enables more robust and flexible deployments in some cases. Consult the runtime release notes for your language at https://cloud.google.com/appengine/docs/flexible/ for more details. To revert to the legacy builder, you can set theapp/use_runtime_builders
config tofalse
.- Updated App Engine Java components to version 1.9.56. For more details, see the release notes at: https://cloud.google.com/appengine/docs/standard/java/release-notes.
Google Container Registry
gcloud container images describe
is now available.gcloud alpha container images describe
now has additional functionality for whitelisted users.- Fixed a timestamp issue in
gcloud container images list-tags
.
Google Compute Engine
- Added support for Cloud KMS keys with Disks, Snapshots, Images, and Instances.
- Added the
--autoscaling-config-file
flag togcloud beta compute instance-groups managed set-autoscaling
.
Firebase Test Lab
- Added the
--no-record-video
and--no-performance-metrics
flags togcloud firebase test android run
. This supports running tests without recording video and/or performance metrics. Disabling these options may reduce test post-processing time.
Google Cloud Service Management
- Commands in
gcloud service-management
will soon be deprecated.- The preferred commands to list, enable, and disable services are now
under
gcloud beta services
. - The preferred commands to produce services for consumption are now
under
gcloud beta endpoints services
.
- The preferred commands to list, enable, and disable services are now
under
Google Cloud SQL
- Fixed the
--async
flag ingcloud sql backups delete
to work as expected.
Google Cloud BigQuery CLI
- Updated the bq command-line tool to version 2.0.26.
- Added support for Data Transfer Service commands. You can now do the
following:
- Transfer config: Show, List, Add, Delete, Edit
- Transfer run: Show, List, Schedule, Delete
- Transfer log: List
- Added support for customer-managed encryption keys with Cloud KMS. You
can specify your Cloud KMS crypto key in the following operations:
- A query that creates a destination table:
bq query --destination_kms_key {key name}
. - A load job that creates a destination table:
bq load --destination_kms_key {key name}
. - When creating a new table:
bq mk --destination_kms_key {key name}
.
- A query that creates a destination table:
- Partitioned tables can now be created using the
query
andload
commands.- Use the
--time_partitioning_xxx
flags and the--destination_table
flag to write or load data into a new partitioned table.
- Use the
Google Cloud Container Builder Local Builder
- Updated container-builder-local to version 0.2.3. This:
- Upgrades server docker to version 17.06.1.
- Adds the
--no-source
flag and related tests. - Always pulls the latest
gcr.io/cloud-builders/metadata
container. - Increases the limit on encrypted secrets to 100.
171.0.0 (2017-09-13)
Breaking changes
- (MODIFIED)
beta functions deploy
will setdeployment-tool
label tocli-gcloud
. Manually setting labels starting with "deployment" will no longer be allowed.
Google Cloud SDK
- Implemented command line TAB completion cache using sqlite. You
can use the
gcloud meta cache list
command to view the cache.
Google App Engine
- Updated App Engine components for Python to version 1.9.60. Please visit the release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes.
- Updated App Engine components for Java to version 1.9.55. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/java/release-notes.
- Improved client-side traffic split validation in
gcloud app services set-traffic
. - Promoted
gcloud app ssl-certificates
command group to GA and beta. - Promoted
gcloud app domain-mappings
command group to GA and beta. - Promoted
gcloud app domains
command group to GA. - Promoted
gcloud app update
command to GA.
Google Cloud Compute Engine
- Promoted
gcloud compute commitments
command group to GA.
Google Cloud Source Repositories
gcloud source repos
commands now accept slashes/
in repository names.
170.0.1 (2017-09-08)
Google Compute Engine
- Revert a change which inadvertently removed
gcloud compute xpn
commands.
170.0.0 (2017-09-06)
Google Cloud SDK
You can now use the [json-decode] --format printer attribute to JSON decode resource values that are compact JSON encodings. For example, --format="yaml[json-decode]".
gcloud init
will now give the choice to enter a project id, create a project, or list all projects if a user has a large number of projects.gcloud components list
now has the--only-local-state
flag which shows only locally installed components.
Google App Engine
- A bug in which traffic split exhibited a rounding error has been fixed.
Google Cloud Bigtable
- An error with reading the results of Read-Modify-Write operations has been fixed.
Google Cloud Dataproc
- The flags
--max-age
,--max-idle
, and--expiration-time
have been added togcloud beta dataproc clusters create
.
Google Cloud Functions
- The
--update-labels
and--remove-labels
flags have been added togcloud beta functions deploy
.
Google Cloud KMS
The
gcloud beta kms keys update
command is new. This command allows users to update a key's labels, rotation period, next rotation time, and primary version. Effective with this change, use the following commands instead ofremove-rotation-schedule
,set-rotation-schedule
, andset-primary-version
:- Use
gcloud beta kms keys update --remove-rotation-schedule
to remove a key's rotation schedule instead ofgcloud kms keys remove-rotation-schedule
. - Use
gcloud beta kms keys update --next-rotation-time --rotation-period
to set the next rotation time and rotation period instead ofgcloud kms keys set-rotation-schedule
. - Use
gcloud beta kms keys update --primary-version
to set a key's primary version instead ofgcloud kms keys set-primary-version
.
- Use
The
--labels
argument has been added tocloud kms keys create
. This argument allows users to create labels during key creation. Related to labels in Cloud KMS:- Use
gcloud beta kms keys update --update-labels
to modify a key's labels. - Use
gcloud beta kms keys update --remove-labels
to remove a key's labels.
- Use
Google Compute Engine
The
--ssl-certificates
flag incompute target-{https|ssl}-proxies {create|update}
has been promoted to GA. The--ssl-certificate
flag in the same command groups has been deprecated. Please use--ssl-certificates
as an alternative.The hidden
compute diagnose routes
command is now available. It enables (trace)routing to/from VMs in Compute Engine.The
gcloud compute shared-vpc
command is now available as an alias ofgcloud compute xpn
.
Google Container Engine
Google Container Engine's kubectl version has been updated from 1.7.4 to 1.7.5.
The following flags are now available in
gcloud beta containers create
for enabling the use of IP aliases with an existing subnetwork:-enable-ip-alias
,--cluster-secondary-range-name
,--services-secondary-range-name
.
169.0.0 (2017-08-30)
Breaking Changes
- (DEPRECATION)
gcloud compute networks subnets list
NAMES
,--regions
and--regexp
arguments. Use--filter
instead.
Google Cloud Functions
When deploying an update to a existing function
gcloud beta functions deploy
will keep the old trigger by default. Specifying trigger is now required only when deploying a new function.Added the
--retry
flag togcloud beta functions deploy
.gcloud beta function deploy
now keeps old field values unless they're explicitly overridden.
Google App Engine
gcloud app deploy
now uses a new runtime build pipeline to deploy apps forruntime: nodejs
andruntime: ruby
. This enables more robust and flexible deployments in some cases. Consult the runtime release notes for your language on https://cloud.google.com/appengine/docs/flexible/ for more details. To revert to the legacy builder, you can set theapp/use_runtime_builders
config to false.
Google Compute Engine
- The max metadata value size has been increased to 256 KiB.
Google Compute Engine (Networking)
- The
--bgp-routing-mode
flag ingcloud beta compute networks create
andgcloud beta compute networks update
is now available.
Google Cloud Datastore
Import and export Cloud Datastore data using
gcloud beta datastore import
andgcloud beta datastore export
. For more information see https://cloud.google.com/datastore/docs/export-import-entitiesManage active imports and exports using
gcloud beta datastore operations
commands.
Google Machine Learning Engine
gcloud alpha ml *
commands now work with user account authentication (in addition to service accounts). For this to work, you must have a current project set in gcloud's config and you must be a writer or an editor on that project.
Google Container Engine
- Updated Google Container Engine's kubectl from version 1.7.3 to 1.7.4.
Google Cloud Datalab
- Updated the
datalab
component to the 20170818 release. Changes in that release are documented in its tracking issue here.
168.0.0 (2017-08-23)
Breaking Changes
- Removed support for the deprecated
--instance
flag fromgcloud sql operations describe
andgcloud sql operations wait
; removed support for the deprecatedDUE_TIME
argument fromgcloud sql backups describe
and the equivalent--due-time
flag ofgcloud sql instance restore_backup
. - The
--mode
flag ingcloud beta compute networks create
andgcloud beta compute networks update
has been renamed to--subnet-mode
.
Google Compute Engine
- The
--ip-version
flag is now available ingcloud compute addresses create
andgcloud compute forwarding_rules create
. - IP aliases are now supported in
gcloud compute instances create
andgcloud compute instance-templates create
commands. - Subnetwork secondary ranges are now supported in
gcloud compute networks subnets create
. - Added
--action
,--rules
,--direction
,--destinationRanges
, and--priority
flags togcloud compute firewall-rules {describe, list, create, update}
commands. - (DEPRECATED) Deprecated
gcloud alpha compute instances create-from-container
. Usegcloud alpha compute instances create-with-container
instead. - (DEPRECATED) Deprecated
gcloud alpha compute instance-templates create-from-container
. Usegcloud alpha compute instance-templates create-with-container
instead. - (DEPRECATED) Deprecated the
names
and--regexp
flags from the following compute commands. Use--filter
instead.gcloud compute backend-buckets list
gcloud compute firewalls list
gcloud compute groups list
gcloud compute http-health-checks list
gcloud compute https-health-checks list
gcloud compute images list
gcloud compute instance-templates list
gcloud compute networks list
gcloud compute operations list
gcloud compute routes list
gcloud compute target-http-proxies list
gcloud compute url-maps list
gcloud compute users list
- (DEPRECATED) Deprecated the
names
,--regexp
, and--regions
flags from the following compute commands. Use--filter
instead.gcloud compute addresses list
gcloud compute backend-services list
gcloud compute forwarding-rules list
- (DEPRECATED) Deprecated the
names
,--regexp
,--zones
, and--regions
flags from the following compute commands. Use--filter
instead.gcloud alpha compute disks list
gcloud compute instance-groups managed list
Google Cloud Logging
- The
gcloud logging
command group is now available in GA.gcloud beta logging
will be removed in three months' time.
Google App Engine
- Added the following commands:
gcloud beta app firewall-rules create
gcloud beta app firewall-rules delete
gcloud beta app firewall-rules describe
gcloud beta app firewall-rules list
gcloud beta app firewall-rules test-ip
gcloud beta app firewall-rules update
Google Cloud KMS
- Added user-defined labels (key/value pairs) to Cloud KMS. Users will be able to attach labels to their CryptoKey resources.
Google ML Engine
- Fixed a bug where
gcloud ml-engine local train
did not work on Windows.
Google Container Registry
- Fixed a warning that users of Docker 17.07 were seeing.
Google Cloud Deployment Manager
- Fixed the
deployment manager create
output format.
Google Cloud Container Builder
- The local builder was upgraded to version 0.2.1. Release notes:
Volumes
feature added.Secrets
feature added.- Integration test for $PROJECT_ID substitution.
- Stop channel to terminate the goroutines that refresh the auth tokens.
- Clean some unnecessary stdout.
167.0.0 (2017-08-16)
Breaking Changes
- (DEPRECATED) Deprecated the
names
and--regexp
flags for the following commands. Use the--filter
flag instead:gcloud compute snapshots list
gcloud compute regions list
gcloud compute target-https-proxies list
gcloud compute ssl-certificates list
gcloud compute zones list
- (DEPRECATED) Deprecated the following flags from
gcloud compute instance-groups list
:names
,--regexp
,--zones
,--region
; these are replaced by the--filter
flag. - (DEPRECATED) Deprecated the
--pubsub-topic
flag fromgcloud beta/alpha iot registries create/update
; this is replaced by the--event-pubsub-topic
flag. - (DEPRECATED) Deprecated
gcloud iot credentials
command group. This is replaced bygcloud iot devices credentials
. - (DEPRECATED) Deprecated
gcloud iot configs
command group. This is replaced bygcloud iot devices configs
. - (DEPRECATED) Deprecated the
--force-create
flag fromgcloud compute images create
. This is replaced by the--force
flag.
Google Cloud SDK
- Upgraded Windows bundled python version from 2.7.10 to 2.7.13.
- Cloud Tools for PowerShell:
- Added
New-GceNetwork
andRemove-GceNetwork
to add and remove Google Compute Engine Networks. - Added
-MaxBadRecords
parameter toStart-BqJob
cmdlet. - Fixed a bug in
Fix-GkeCluster
cmdlet where-NodeVersion
parameter is not processed correctly.
- Added
Google Container Engine
- Added
--min-cpu-platform
flag togcloud alpha container
commands. - Updated
gcloud alpha container clusters resize
andgcloud beta container clusters resize
commands to safely drain nodes before removal. - Updated Google Container Engine's kubectl from version 1.7.2 to 1.7.3.
- Added
--logging-service
flag togcloud beta container clusters update
. This flag controls the enabling and disabling of Stackdriver Logging integration. Use--logging-service=logging.googleapis.com
to enable and--logging-service=none
to disable. - Modified the
--scopes
flag ingcloud beta container clusters create
andgcloud beta container node-pools create
commands to default tologging.write,monitoring
and support passing an empty list.
Google Compute Engine
- Promoted
gcloud compute interconnects
commands to beta. These commands allow you to provision an interconnection between your network and Google Cloud VPCs. For more details see online documentation,- https://cloud.google.com/interconnect/docs
- Fixed a bug in
gcloud compute update routers
where removing interfaces/peers was failing. - Added
--security-policy
flag togcloud beta compute backend-services update
. gcloud compute security-policies
commands now in beta.- Added
gcloud beta compute instance-groups managed rolling-action
command group. - Updated
gcloud compute instance-templates create
to support labels
Google Cloud Deployment Manager
- Added
--composite-type
and--template
flags togcloud deployment-manager deployments create
. Also, added a warning when using--config
with a template instead of the new--template
flag. This behavior will be deprecated 2017-11-08.
Google App Engine
- Updated
gcloud app services set-traffic
to support--split-by=random
to split traffic randomly between versions.
Firebase Test Lab
- Promoted Firebase Test Lab to beta for running instrumentation test with
Android Test Orchestrator. Use
--use-orchestrator
to run with Orchestrator.
166.0.0 (2017-08-09)
Breaking Changes
- Demoted
gcloud container images describe
to the alpha track. - (DEPRECATED) Deprecated the following flags from
gcloud beta functions deploy
:--local-path
,--source-path
,--source-url
,--source-revision
,--source-branch
,--source-tag
; these are replaced by the--source
flag. - (DEPRECATED) Deprecated the
--region
flag fromgcloud beta functions list
, replaced by the--regions
flag. - (DEPRECATED) Deprecated the
--regions
and--regexp
flags fromgcloud compute routers list names
, use--filter
instead.
Google Compute Engine
- Added support for multiple network interface cards for
gcloud compute instances create
andgcloud compute instance-templates create
.
Google Cloud IAM
- Updated
gcloud iam surfaces
to also accept uniqueId as service account names.
Google Container Engine
- Added
--node-locations
flag togcloud alpha container clusters create
andgcloud alpha container clusters update
. - Modified
gcloud alpha container images list
to properly handle domain-scoped project ids when--project
is omitted.
Google Container Registry
- Fixed concurrent docker pull calls that used the same container name.
Google App Engine
- Modified
gcloud app deploy
to use the new PHP Runtime Builder pipeline to deploy apps. You can setapp/use_runtime_builders
config to false if you need the old behavior. - Go's
aetest
package now reuses http connections, fixing a bug that exhausted file descriptors when running tests. - Go 1.8 uses the new standard library context package when calling
appengine.NewContext()
.
Google Cloud SQL
- Modified Cloud SQL replica creation to no longer require specification of database version, tier, or region.
Google Cloud Logging
- Modified
gcloud beta logging metrics list
to no longer display version number.
165.0.0 (2017-08-02)
Breaking Changes
(DEPRECATED) Deprecated
names
,--regions
and--regexp
flags for the following commands. Use--filter
instead.gcloud compute target-vpn-gateways list
gcloud compute target-pools list
gcloud compute vpn-tunnels list
gcloud compute commitments list
Google Cloud BigQuery
- Changed the structure of the
bq ls
command output when theformat
flag is set tojson
,prettyjson
orcsv
. - Added
--schema
option tobq show
command that outputs the JSON-formatted schema for a table, suitable for use as a schema input file forbq load
orbq mk --schema
.
Google Cloud Functions
- Added
--source
flag to alpha and beta functions deploy commands.
Google Cloud IAM
gcloud beta iam roles
command group is now available. These commands allow you to create and manipulate IAM predefined/custom roles:gcloud beta iam roles create
gcloud beta iam roles describe
gcloud beta iam roles update
gcloud beta iam roles copy
gcloud beta iam roles list
gcloud beta iam roles delete
gcloud beta iam roles undelete
gcloud beta iam list-testable-permissions
is now available. This command allows you to list all the permissions that apply to the given resource, which also includes thecustomRolesSupportLevel
field.
Google Container Engine
- Updated Google Container Engine's
kubectl
from version 1.7.0 to 1.7.2.
Google Cloud Logging
gcloud beta logging sinks list
will stop working for gcloud versions 161 and earlier.
164.0.0 (2017-07-26)
Breaking Changes
Removed the
--show-execution-ids
,--show-function-names
,--show-log-levels
, and--show-timestamps
flags from thegcloud alpha function logs read
andgcloud beta function logs read
commands.Removed
appengine.gcr.io
from the list of default repositories thatgcloud docker
authenticates for.
Deprecations
- Deprecated the
NAME...
argument,--zones
flag, and--regexp
flag for the commands listed below. Please use the--filter
flag instead.gcloud compute disks list
gcloud compute disk-types list
gcloud compute instance-groups unmanaged list
gcloud compute instances list
gcloud compute machine-types list
gcloud compute target-instances list
Google Cloud Container Builder
- First release of the local builder. Install the
container-builder-local
component, and runcontainer-builder-local
to try it out.
Google Compute Engine
gcloud beta compute ssh
can now connect to instances using their private IP.Added the
gcloud alpha compute instances simulate-maintenance-event
command.
Google Container Engine
gcloud beta container clusters create
now supports enabling authorized networks for Kubernetes Master via--enable-master-authorized-networks
and--master-authorized-networks
flags.gcloud beta container clusters update
now supports configuring authorized networks for Kubernetes Master via--enable-master-authorized-networks
,--no-enable-master-authorized-networks
, and--master-authorized-networks
flags.gcloud container clusters create
now allows the Kubernetes Dashboard to be disabled for a new cluster via the--disable-addons=KubernetesDashboard
flag.gcloud container clusters update
now allows the Kubernetes Dashboard to be disabled on existing clusters via the--update-addons=KubernetesDashboard=DISABLED
flag.
163.0.0 (2017-07-19)
Google Cloud BigQuery
- Table list command (bq ls [dataset]) now displays Time Partitioning information about listed tables.
Google Cloud SQL
- 'gcloud sql instance create' now defaults to the Second Generation 'db-n1-standard-1' tier instead of the First Generation 'D1' tier. 'create' commands in which a tier is specified, will be unaffected.
- 'sql instances list' and 'beta sql instances list' commands now list DATABASE_VERSION of each instance.
Google Cloud Container Builder
- Fix bug where permission bits weren't set on directories in tar files uploaded to Cloud Storage
Google Compute Engine
gcloud beta compute images list
shows BLOCKED_BY_POLICY status for images blocked by compute.trustedImageProjects for user project.- Changed the default value of the
--image-family
flag to debian-9 for thegcloud compute instances create
andgcloud compute instance-templates create
commands.
Google Container Engine
gcloud container clusters get-credentials
now correctly respects the HOMEDRIVE/HOMEPATH and USERPROFILE environment variables when generating the kubectl config file.- Added --region flag to gcloud alpha containers to manage regional clusters.
162.0.0 (2017-07-12)
Breaking Changes
- Removed
gcloud alpha compute instance-groups managed rolling-action recreate
. Instead, usegcloud alpha compute instance-groups managed rolling-action replace
.
Google Compute Engine
gcloud compute networks peerings
is now generally available. The alpha and beta tracks remain.gcloud alpha compute networks list-ip-owners
is now available in the alpha track.- Added
source-service-accounts
andtarget-service-accounts
to thegcloud beta compute firewall-rules describe
,gcloud beta compute firewall-rules list
,gcloud beta compute firewall-rules create
, andgcloud beta compute firewall-rules update
commands. - Added the
--custom-extensions
flag to:gcloud compute instances create
gcloud compute instances set-machine-type
gcloud compute instance-templates create
.
- Forwarding rules with a standard network tier can now accept global targets.
- Added support for updating network tiers in the
gcloud alpha compute forwarding-rules update
commands.
Google App Engine
- Google App Engine components updated to 1.9.57. Please visit the following release notes for more details: https://cloud.google.com/appengine/docs/standard/python/release-notes.
- Added
gcloud beta app update
to support configuring an application's feature settings. gcloud app deploy
now allows deployments of Go 1.8 apps on App Engine Standard. During this open beta period you may opt-in to Go 1.8 by specifyingapi_version: go1.8
in yourapp.yaml
.- Added support for standard scheduler settings.
Google Cloud Deployment Manager
gcloud deployment-manager deployments create --automatic-rollback-on-failure
will now delete the new deployment after creation if it contains operation errors.gcloud beta deployment-manager deployments create
can now create deployments with a list of key-value pairs as labels using the--labels
flag.gcloud beta deployment-manager deployments update
can now update/remove labels of the deployment using the--update-labels
and--remove-labels
flags.
Google Cloud Machine Learning Engine
- Added the
gcloud ml-engine models get-iam-policy
,gcloud ml-engine models set-iam-policy
,gcloud ml-engine models remove-iam-policy-binding
, andgcloud ml-engine models add-iam-policy-binding
commands. These read and modify IAM policy data for ML Engine models. See https://cloud.google.com/iam/docs/managing-policies for details.
Google Cloud Machine Learning APIs
- The
gcloud ml language analyze-entity-sentiment
command is now available in the beta track. This command allows for entity-level sentiment analysis. Please visit https://cloud.google.com/natural-language/pricing to learn more about pricing for this feature.
Google Cloud Resource Manager
- The following Organization Policy commands are now available in the beta
track:
gcloud beta resource-manager org-policies allow
,gcloud beta resource-manager org-policies delete
,gcloud beta resource-manager org-policies deny
,gcloud beta resource-manager org-policies describe
,gcloud beta resource-manager org-policies disable-enforce
,gcloud beta resource-manager org-policies enable-enforce
,gcloud beta resource-manager org-policies list
, andgcloud beta resource-manager org-policies set-policy
.
Google Cloud SQL
- The
beta sql instances create
andbeta sql instances patch
commands have been updated to support storage auto-resize limits using--storage-auto-increase-limit
.
Google Container Engine
- Added the
--enable-ip-alias
,--services-ipv4-cidr
, and--create-cluster
flags to support IP aliases. - Updated
kubectl
from version 1.6.6 to version 1.7.0.
Google Cloud Storage
- Updated the gsutil component to 4.27.
Google Cloud Container Builder
- Fixed bug: defining substitutions with the command-line
--substitutions
flag no longer causes all substitutions defined in cloudbuild.yaml to be deleted.
Google Cloud Logging
gcloud beta logging sinks
commands now use only V2 of the API instead of a mix of V1 and V2 calls.
Google Cloud Source Repositories
gcloud source repos clone
now gives a warning if the repository is mirrored.
161.0.0 (2017-06-28)
Breaking Changes
- Removed
gcloud beta test android devices
. Please usegcloud firebase test android models
as an alternative. - Renamed the
--account-id
flag ingcloud alpha billing projects link
to--billing-account
. The old flag is still available but deprecated. - Renamed the
ACCOUNT_ID
flag in thegcloud alpha billing projects list
command to--billing-account
. - Renamed
gcloud billing accounts projects
togcloud billing projects
. The old commands are available but deprecated.
Billing
- Promoted
gcloud billing
to beta. The alpha surface remains and is identical; the changes listed in the "Breaking Changes" section apply to the beta release track and the old flag and commands are not available in beta.
Google App Engine
- Promoted
gcloud app instances ssh
andgcloud app instances scp
to GA. The beta commands remain and are identical. - Updated App Engine components for Python to version 1.9.55. Please visit the release notes for details: https://cloud.google.com/appengine/docs/standard/python/release-notes.
- Updated App Engine components for Java to version 1.9.54. Please visit the following release notes for details: https://cloud.google.com/appengine/docs/standard/java/release-notes.
- Added support for deploying Standard Environment Java applications to
gcloud beta app deploy
; use eithergcloud beta app deploy $APP_DIR/WEB-INF/appengine-web.xml
orgcloud beta app deploy $APP_DIR
. - Added support for directories as positional arguments to
gcloud app deploy
, in addition to YAML files. In each directory, the command uses theapp.yaml
file if present, or interactively creates one otherwise.
Google Cloud Dataproc
- Promoted
--region
flag to beta and GA for everygcloud dataproc
command. The flag remains available in alpha and is identical. - Added URL support for zonal resource flags
--zone
,--master-machine-type
,--worker-machine-type
,--master-accelerator-type
, and--worker-accelerator-type
ingcloud dataproc
commands in addition to short names; for instance,https://www.googleapis.com/compute/v1/projects/zones/us-central1-f
as well asus-central1-f
.
Google Cloud Natural Language
- Promoted
gcloud ml language
commands to GA to allow the analysis of text using the Cloud Natural Language API. The commands remain in alpha and beta and are identical.
Google Cloud SQL
- Added
--labels
flag togcloud beta sql instances create
and--update-labels
,--remove-labels
, and--clear-labels
flags togcloud beta sql instances patch
to support the application of labels to SQL instances.
Google Compute Engine
- Added
--source-instance-template
flag togcloud beta compute instances create
andgcloud beta compute instances create-from-container
to allow instance creation based on an instance template (seegcloud compute instance-templates
command group). - Added
--ssl-certificates
flag togcloud alpha compute target-https-proxies create
,gcloud alpha compute target-https-proxies update
,gcloud alpha compute target-ssl-proxies create
, andgcloud alpha compute target-ssl-proxies update
to allow the specification of multiple ssl certificates when creating or updating a target proxy. - Added for option
STANDARD
for--network-interface
sub-flagnetwork-tier
ingcloud alpha compute instances create
, andgcloud alpha compute instances create-from-container
.--network-tier
flag ingcloud alpha compute instances <create|add-access-config|update-access-config>
,gcloud alpha compute instance-templates <create|create-from-container>
, andgcloud alpha compute <addresses|forwarding-rules> create
.
- Added command
gcloud beta compute addresses update
for modification of addresses (in particular, modifying labels). - Added command
gcloud beta compute forwarding-rules update
for modification of forwarding rules (in particular, modifying labels). - Promoted flag
--force-create
ofgcloud compute images create
to beta. By default, image creation fails when it is created from a disk that is attached to a running instance. When this flag is used, image creation from disk will proceed even if the disk is in use.
Google Container Engine
- Promoted
gcloud container node-pools rollback
command to GA. The alpha and beta command remains available and is identical. - Added
--enable-network-policy
flag togcloud alpha container clusters <create|update>
to enable network policy enforcement. - Updated
kubectl
from version 1.6.4 to version 1.6.6.
160.0.0 (2017-06-21; abandoned: all changes available in 161.0.0)
Breaking Changes
- Removed the deprecated
gcloud ml-engine init-project
command. It is no longer needed by other Google Cloud ML Engine commands.
Google Cloud SDK
- GA cmdlets for Stackdriver Logging, Google Cloud Pub/Sub, Google Cloud IAM are now available in Cloud Tools for PowerShell.
Google App Engine
gcloud beta app deploy
now uses the new PHP Runtime Builder pipeline to deploy apps. The normalgcloud app deploy
remains unchanged.- Previously,
gcloud app
list commands would only show the first 50 results. Now, all relevant results will be shown.
Google Compute Engine
- It is now supported to delete both zonal and regional Managed Instance
Groups in one
gcloud
invocation. - Using labels in
gcloud
for the following Google Compute Engine resources is now in GA: disks, images, instances, and snapshots.
Google Cloud Container Builder
- Fixed a bug affecting concurrent invocations of
gcloud container builds submit
wherein objects could be uploaded to the same location, resulting in collisions and corrupted/broken builds.
Google Cloud Video Intelligence
- The
gcloud ml video
command group is now available in the beta track. These commands allow you to use the Cloud Video Intelligence API to analyze videos and manage long-running video analysis operations.
159.0.0 (2017-06-14)
Google App Engine
- Added commands to support automatically managed certificates:
gcloud alpha app domain-mappings
gcloud alpha app ssl-certificates
- Added
--no-launch-browser
flag to allgcloud app browse
commands:- Allows the user to specify that they don't want a browser, they just want the url.
- Detects situations that the user probably can't launch a browser (no DISPLAY, etc.) and just prints the URL instead of attempting to launch a browser.
Google Cloud Bigtable
cbt ls <table>
now shows the GC policy for each column family.
Google Compute Engine
- Added
gcloud compute instances set-service-account
gcloud compute disks snapshot
now waits for the operation to finish indefinitely.- Removed the
--zone
flag in:gcloud compute backend-services add-backend
gcloud compute backend-services remove-backend
gcloud compute backend-services update-backend
- Removed the
--region
flag in:gcloud functions
command group (alpha and beta)gcloud functions regions list
- Promoted Google cloud TCP proxy to GA. https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/tcp-proxy
Google Container Registry
- Fixed an issue that affected
docker build
while using docker-credential-gcr.
Google Cloud KMS
- Promoted KMS
gcloud kms encrypt
andgcloud kms decrypt
commands from beta to GA.
158.0.0 (2017-06-07)
Breaking Changes
- The App Engine Go externalized runtime will detect Go apps using only the
files in the root of the app directory. This means that
gcloud beta app gen-config
(andgclou