gcloud components update

From wikieduonline
Jump to navigation Jump to search

gcloud components update

399.0.0[edit]

Beginning update. This process may take several minutes.


Your current Google Cloud CLI version is: 398.0.0
You will be upgraded to version: 399.0.0

┌─────────────────────────────────────────────────────────┐
│            These components will be updated.            │
├─────────────────────────────────┬────────────┬──────────┤
│               Name              │  Version   │   Size   │
├─────────────────────────────────┼────────────┼──────────┤
│ Google Cloud CLI Core Libraries │ 2022.08.19 │ 24.4 MiB │
│ gcloud Alpha Commands           │ 2022.08.19 │  < 1 MiB │
│ gcloud Beta Commands            │ 2022.08.19 │  < 1 MiB │
│ gcloud cli dependencies         │ 2022.08.19 │ 11.2 MiB │
└─────────────────────────────────┴────────────┴──────────┘

The following release notes are new in this upgrade.
Please read carefully for information about new features, breaking changes,
and bugs fixed.  The latest full release notes can be viewed at:
  https://cloud.google.com/sdk/release_notes

399.0.0 (2022-08-23)
  AlloyDB
      ▪ Added --cluster flag to gcloud beta alloydb operations list to enable
        listing of operations pertaining to a given cluster.
      ▪ Updated gcloud beta alloydb clusters restore to support PITR (point
        in time recovery) via new --source-cluster and --point-in-time flags.

  App Engine
      ▪ Updated the Java SDK to version 1.9.98.1 to address bug
        <https://issuetracker.google.com/issues/240455023>.

  Cloud Asset Inventory
      ▪ Added gcloud asset get-effective-iam-policy command, which retrieves
        batch effective IAM policies for a specified list of resources within
        specified accessible scope.

  Cloud Dataflow
      ▪ Added GO to gcloud flex-template build command SDK Language options,
        allowing users to submit Go Flex Template jobs.

  Cloud Functions
      ▪ Move Python 3.10 for Cloud Functions to GA.

  Cloud Org Policy
      ▪ Added gcloud org-policies {custom constraint} commands that allow
        users to create, update, list, describe, and delete org policy custom
        constraints.
      ▪ gcloud org-policies set-custom-constraint
      ▪ gcloud org-policies describe-custom-constraint
      ▪ gcloud org-policies delete-custom-constraint
      ▪ gcloud org-policies list-custom-constraints.

  Cloud SQL
      ▪ Set the maximum allowed value for --storage-auto-increase-limit in
        gcloud beta sql instances create to the max value of int. This removes
        the hardcoded limit of 10230.

  Cloud Spanner
      ▪ Promoted gcloud spanner samples to beta and GA. Commands in this
        group support creating sample databases and running open source sample
        applications.
      ▪ Added --instance-type, --expire-behavior flags to spanner instances
        create and spanner instances update to add ability to create free
        instances in GA.
      ▪ Added instance_type column for spanner instances list and
        free_instance_availability column for spanner instance-configs list.

  Compute Engine
      ▪ Promoted --architecture flag of gcloud compute disks create to GA.
      ▪ Promoted --update-architecture flags of gcloud compute disks update
        to GA.
      ▪ Promoted --clear-architecture flags of gcloud compute disks update to
        GA.
      ▪ Promoted --architecture flag of gcloud compute images create and
        gcloud compute disks update to GA.

  Network Services
      ▪ Promoted gcloud network-services tls-routes to GA.

  Notebooks
      ▪ Added notebooks runtimes command group which provides access to AI
        Platform Notebooks' runtimes.

  Transfer
      ▪ Added multipart copy feature to agent setup flags.

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

Do you want to continue (Y/n)?  Y

╔════════════════════════════════════════════════════════════╗
╠═ Creating update staging area                             ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Uninstalling: Google Cloud CLI Core Libraries            ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Uninstalling: gcloud Alpha Commands                      ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Uninstalling: gcloud Beta Commands                       ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Uninstalling: gcloud cli dependencies                    ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: Google Cloud CLI Core Libraries              ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: gcloud Alpha Commands                        ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: gcloud Beta Commands                         ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: gcloud cli dependencies                      ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Creating backup and activating new installation          ═╣
╚════════════════════════════════════════════════════════════╝

Performing post processing steps...done.

Update done!

To revert your CLI to the previously installed version, you may run:
  $ gcloud components update --version 398.0.0

395.0.0[edit]

Beginning update. This process may take several minutes.


Your current Google Cloud CLI version is: 392.0.0
You will be upgraded to version: 395.0.0

┌─────────────────────────────────────────────────────────┐
│            These components will be updated.            │
├─────────────────────────────────┬────────────┬──────────┤
│               Name              │  Version   │   Size   │
├─────────────────────────────────┼────────────┼──────────┤
│ Cloud Storage Command Line Tool │       5.11 │ 15.5 MiB │
│ Google Cloud CLI Core Libraries │ 2022.07.22 │ 24.1 MiB │
│ kubectl                         │    1.22.12 │ 65.2 MiB │
│ kubectl                         │    1.22.12 │  < 1 MiB │
└─────────────────────────────────┴────────────┴──────────┘

The following release notes are new in this upgrade.
Please read carefully for information about new features, breaking changes,
and bugs fixed.  The latest full release notes can be viewed at:
  https://cloud.google.com/sdk/release_notes

395.0.0 (2022-07-26)
  AI
      ▪ Modified gcloud ai models upload to support model version aliases.
        Use --version-aliases flag to set version aliases so that a model
        version can be referenced via alias (i.e.
        projects/{project}/locations/{location}/models/{model_id}@{version_alias}
        instead of auto-generated version id (i.e.
        projects/{project}/locations/{location}/models/{model_id}@{version_id}).
        The format is [a-z][a-zA-Z0-9-]{0,126}[a-z0-9] to distinguish from
        version_id. The aliases set in the flag will replace the aliases set in
        the model.

  App Engine
      ▪ Updated the Java SDK to version 1.9.98. Please visit the following
        release notes for details:
        <https://cloud.google.com/appengine/docs/java/release-notes>.

  Artifact Registry
      ▪ Added gcloud artifacts packages describe command.

  Cloud Deploy
      ▪ Added new --from-k8s-manifest to releases create command. When used,
        a Skaffold file will be generated.

  Cloud Domains
      ▪ Implemented the following commands for gcloud domains registrations
        in alpha and beta.
        ◆ import
        ◆ list-importable-domains

  Cloud Functions
      ▪ Updated gcloud functions list to return 2nd gen functions in addition
        to 1st gen functions.
      ▪ Fixed crash in gcloud beta functions deploy --gen2 failures causing
        the error message "This stage does not belong to this progress
        tracker".
      ▪ Promoted --gen2 flag of gcloud functions add-iam-policy-binding to
        GA.
      ▪ Promoted --gen2 flag of gcloud functions call to GA.
      ▪ Promoted --gen2 flag of gcloud functions delete to GA.
      ▪ Promoted --gen2 flag of gcloud functions deploy to GA.
      ▪ Promoted --gen2 flag of gcloud functions describe to GA.
      ▪ Promoted --gen2 flag of gcloud functions get-iam-policy to GA.
      ▪ Promoted --gen2 flag of gcloud functions remove-iam-policy-binding to
        GA.
      ▪ Promoted --gen2 flag of gcloud functions set-iam-policy to GA.
      ▪ Promoted --gen2 flag of gcloud functions event-types list to GA.
      ▪ Promoted --gen2 flag of gcloud functions logs read to GA.
      ▪ Promoted --gen2 flag of gcloud functions regions list to GA.
      ▪ Promoted gcloud functions add-invoker-policy-binding to GA.
      ▪ Promoted gcloud functions remove-invoker-policy-binding to GA.

  Cloud Healthcare
      ▪ Added --schema-type value analytics_v2 to gcloud healthcare
        fhir-stores export bq.

  Cloud Identity-Aware Proxy
      ▪ Renamed flag --group-name to --dest-group for`gcloud iap tcp
        dest-groups IAM commands.

  Cloud Pub/Sub
      ▪ Fixed issue where gcloud pubsub subscriptions create and gcloud
        pubsub subscriptions update will crash when specifying
        --min-retry-delay=0 and/or --max-retry-delay=0.
      ▪ Fixed issue where gcloud pubsub subscriptions create will crash when
        specifying --retention_duration=0.

  Cloud Run
      ▪ Added --description flag in gcloud run deploy, and description field
        in gcloud run services describe [SERVICE].
        ◆ Description is an optional, human-readable string of up to 512
          characters.
        ◆ Using the flag is functionally equivalent to adding service
          annotation "run.googleapis.com/description".

  Compute Engine
      ▪ Added --update-user-licenses and --clear-user-licenses flags of
        gcloud compute images update to alpha and beta.
      ▪ Made global scope the default for gcloud compute security-policies.

  Config Controller
      ▪ Added --man-blocks flag to gcloud anthos config controller create to
        allow specifying multiple master authorized network CIDR blocks for a
        CC instance.
      ▪ Deprecated --man-block flag of gcloud anthos config controller
        create. Use --man-blocks to set master authorized network CIDR block.
      ▪ Modified gcloud anthos config controller list to print out only the
        instance name instead of the fully specified name.
      ▪ Added --full-name flag to gcloud anthos config controller list to
        allow users printing out the fully specified name in the NAME column
        when needed.

  GKE Hub
      ▪ Promote gcloud container hub memberships generate-gateway-rbac to GA.
 Kubernetes Engine
     ▪ Add cgroupMode node system config option to allow switching nodes to cgroupv1 or cgroupv2.
     ▪ Updates default kubectl from 1.22.9 to 1.22.12
     ▪ Additional kubectl versions:
       ◆ kubectl.1.19 (1.19.16)
       ◆ kubectl.1.20 (1.20.15)
       ◆ kubectl.1.21 (1.21.14)
       ◆ kubectl.1.22 (1.22.12)
       ◆ kubectl.1.23 (1.23.9)
       ◆ kubectl.1.24 (1.24.3)
  Pubsub Emulator
      ▪ Added support for creating BigQuery subscriptions.

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

394.0.0 (2022-07-19)
  AI
      ▪ Modified gcloud ai models describe to support model versioning.
      ▪ Added europe-west9 option to --region flag of gcloud ai custom-jobs
        and gcloud ai hp-tuning-jobs.
        ◆ Provide the model version ID or version alias to retrieve a
          specific version of the model.
        ◆ If no model version ID or alias is specified, the "default" model
          version will be used. The "default" version alias is created for the
          first version of the model, and can be moved to other versions later
          on. There will be exactly one default version.
      ▪ Added gcloud ai models delete-version which deletes an existing
        Vertex AI model version.

  Anthos Multi-Cloud
      ▪ Added --ssh-public-key flag to gcloud container azure node-pools
        update to update the SSH public key for the Azure node pool nodes.

  Artifact Registry
      ▪ Fixed a bug where the plus sign ("+") was not escaped properly,
        making it impossible to delete artifacts with a plus sign in their
        name.
 Bare Metal Solution
     ▪ Started using v2.projects.locations.operations instead of
       v1.operations for the following commands:
       ◆ gcloud bms instances start
       ◆ gcloud bms instances reset
       ◆ gcloud bms instances disable-serial-console
       ◆ gcloud bms instances enable-serial-console
       ◆ gcloud bms instances update
       ◆ gcloud bms networks update
       ◆ gcloud bms nfs-shares update
       ◆ gcloud bms volumes update
       ◆ gcloud bms volumes restore
       ◆ gcloud bms operations describe
       ◆ gcloud bms operations wait
     ▪ Promoted --os-image flag of gcloud bms instances update to GA.
     ▪ Promoted --[no-]enable-hyperthreading flag of gcloud bms instances
       update to GA.
     ▪ Promoted --add-ip-range-reservation flag of gcloud bms networks
       update to GA.
     ▪ Promoted --clear-ip-range-reservations flag of gcloud bms networks
       update to GA.
     ▪ Promoted --remove-ip-range-reservation flag of gcloud bms networks
       update to GA.
     ▪ Promoted gcloud bms networks list-ip-reservations to GA.
  Batch
      ▪ Promoted gcloud batch to alpha and beta which enables the CLI to use
        Batch APIs.

  CLOUD SDK
      ▪ Replaced the default login flow when a browser is not detected from
        --no-browser to --no-launch-browser.

  Cloud Deploy
      ▪ Changed the default bucket name upload path on release create to use
        the pipeline UUID.
      ▪ Added mutex flags --enable-initial-rollout and
        --disable-initial-rollout.

  Cloud Key Management Service
      ▪ Modified gcloud kms import-jobs create to accept new SHA-2 import
        methods rsa-oaep-3072-sha256, rsa-oaep-3072-sha256-aes-256,
        rsa-oaep-4096-sha256, and rsa-oaep-4096-sha256-aes-256 in beta.

  Cloud SQL
      ▪ Added support for incremental addition of user password policies.

  Cloud Storage
      ▪ Updated gsutil component to 5.11.

  Compute Engine
      ▪ Added --layer7-ddos-defense-auto-deploy-load-threshold,
        --layer7-ddos-defense-auto-deploy-confidence-threshold,
        --layer7-ddos-defense-auto-deploy-impacted-baseline-threshold, and
        --layer7-ddos-defense-auto-deploy-expiration-sec to gcloud compute
        security-policies update to gcloud beta compute security-policies
        update.
      ▪ Promoted flags --enable-strong-affinity of gcloud compute
        backend-services create and gcloud compute backend-services update to
        GA.

  Identity and Access Management
      ▪ Removed etag flag from gcloud beta iam policies update command. The
        command will always use the etag in the policy file.

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

393.0.0 (2022-07-12)
  Breaking Changes
      ▪ **(AlloyDB)** Updated gcloud beta alloydb instances create and gcloud
        beta alloydb instances update to remove the unused --zone flag.
      ▪ **(Cloud Datastore Emulator)** Removed support for running the
        Datastore emulator (gcloud beta emulators datastore start) in
        environment with Java versions prior to 11. Users can upgrade to Java
        11 or above to continue using the latest Datastore emulator.
        Alternatively, users can use gcloud command-line tool with version
        before 392.0.0 to continue using the previous Datastore emulator with
        Java 8 support.
      ▪ **(Cloud Firestore Emulator)** Removed support for running the
        Firestore emulator (gcloud beta emulators firestore start) in
        environment with Java versions prior to 11. Users can upgrade to Java
        11 or above to continue using the latest Firestore emulator.
        Alternatively, users can use gcloud command-line tool with version
        before 392.0.0 to continue using the previous Firestore emulator with
        Java 8 support.

  AI
      ▪ Added gcloud ai models delete-version which delete an existing Vertex
        AI model version.
      ▪ Modified gcloud ai models upload to support model versioning. Use
        --parent-model flag to specify the parent model of the model version to
        be uploaded. When this flag is specified, a new version of the parent
        model will be uploaded. Use --model-id flag to specify the model ID for
        the uploaded model.
      ▪ Fixed an issue for gcloud ai custom-jobs create that the value of the
        --args and --command flags are not passed when the --worker-pool-spec
        flag is left unspecified.

  AlloyDB
      ▪ Updated gcloud beta alloydb instances create and gcloud beta alloydb
        instances update to allow --cpu-count of 2.

  Artifact Registry
      ▪ Fixed issue where gcloud artifacts packages delete requires the
        package id unescaped.

  Cloud Dataproc
      ▪ Added bootDiskKmsKey key in --pools flag to gcloud dataproc clusters
        gke create to allow creating Dataproc on GKE cluster with CMEK
        protected node pool.

  Cloud Datastream
      ▪ Added --bigquery-destination-config flag to gcloud datastream streams
        <create/update>.
      ▪ Added bigquery type to --type flag of datastream connection-profiles
        <create/update>.

  Cloud Deploy
      ▪ Added optional flags --labels and --annotations for users to add
        labels or annotations to apply to gcloud deploy targets rollback
        command.

  Cloud Firestore Emulator
      ▪ Release Cloud Firestore emulator v1.14.4
        ◆ Fix: Condition Normalization now correctly handles cartesian
          products and flattening in certain edge cases.

  Cloud Functions
      ▪ Promoted --docker-registry flag of gcloud functions deploy to GA.
      ▪ Move PHP 8.1 for Cloud Functions to GA.
      ▪ Added gcloud functions runtimes list which displays the supported
        runtimes for both 1st & 2nd generation functions.

  Cloud Key Management Service
      ▪ Promoted --wrapped-key-file flag of gcloud kms keys versions import
        to GA.
      ▪ Deprecated --rsa-aes-wrapped-key-file flag of gcloud kms keys
        versions import. Use --wrapped-key-file instead.

  Cloud Memorystore
      ▪ Promoted --persistence-mode, --rdb-snapshot-period and
        --rdb-snapshot-start-time flags of gcloud redis instances create to GA.
      ▪ Promoted --persistence-mode, --rdb-snapshot-period and
        --rdb-snapshot-start-time flags of gcloud redis instances update to GA.

  Cloud SQL
      ▪ Added flag --password-policy-enable-password-verification to gcloud
        sql users create and gcloud sql users set-password-policy for MySQL
        password validation.
      ▪ Added flags --discard-dual-password and --retain-password to gcloud
        sql users set-password to allow control over MySQL's dual password.

  Cloud Speech API
      ▪ Added latest_short and latest_long options for gcloud ml speech
        <recognize | recognize-long-running> --model flag.

  Cloud TPU
      ▪ Updated tpus tpu-vm ssh to return an error when users attempt to ssh
        into a TPU VM during a maintenance event.

  Compute Engine
      ▪ Promoted --target-distribution-shape flag of gcloud compute instances
        bulk create to GA.
      ▪ Promoted --key-revocation-action-type flag to GA for gcloud compute
        instance-templates create.
      ▪ Promoted explicit scope requirement for gcloud compute
        security-policies to beta.
      ▪ Promoted --network-ddos-protection flag of gcloud compute
        security-policies create to beta.
      ▪ Promoted gcloud compute network-edge-security-services to beta.
      ▪ Promoted --key-reservation-action-type flag to GA for gcloud compute
        instances create.
      ▪ Promoted keyRevocationActionType property of gcloud compute instances
        update-from-file to GA.

  Compute Firewall Policies
      ▪ Promoted --src-region-codes and --dest-region-codes flags to beta in
        gcloud compute firewall-policies rules create , gcloud compute
        firewall-policies rules update , gcloud compute
        network-firewall-policies rules create and gcloud compute
        network-firewall-policies rules update commands.
      ▪ Promoted --src-threat-intelligence and --dest-threat-intelligence
        flags to beta in gcloud compute firewall-policies rules create , gcloud
        compute firewall-policies rules update , gcloud compute
        network-firewall-policies rules create and gcloud compute
        network-firewall-policies rules update commands.

  Config Connector
      ▪ Updated Google Cloud Config Connector to version 1.89.0. See Config
        Connector Overview for more details
        https://cloud.google.com/config-connector/docs/overview
        (https://cloud.google.com/config-connector/docs/overview).

  Config Controller
      ▪ Added --man-blocks flag to gcloud anthos config controller create to
        allow specifying multiple master authorized network CIDR blocks for a
        CC instance.
      ▪ Deprecated --man-block flag of gcloud anthos config controller
        create. Use --man-blocks to set master authorized network CIDR block.

  Kubernetes Engine
      ▪ Added --binauthz-evaluation-mode flag to gcloud container clusters
        create command.
      ▪ Added --binauthz-evaluation-mode flag to gcloud container clusters
        create-auto command.
      ▪ Added --binauthz-evaluation-mode flag to gcloud container clusters
        update command.
      ▪ Added --total-max-nodes and --total-min-nodes to gcloud container
        cluster/node-pools create/update that allow users to set total size
        limits for autoscaled nodepools. The limits are available in clusters
        with version 1.24+.
      ▪ Added --location-policy to gcloud container cluster/node-pools
        create/update that allow users to set location policy for autoscaled
        nodepools. The location policy is available in clusters with version
        1.24.1-gke.800+.

  Transcoder
      ▪ added support for --labels flag when creating a new job/job template.

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


╔════════════════════════════════════════════════════════════╗
╠═ Creating update staging area                             ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Uninstalling: Cloud Storage Command Line Tool            ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Uninstalling: Google Cloud CLI Core Libraries            ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Uninstalling: kubectl                                    ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Uninstalling: kubectl                                    ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: Cloud Storage Command Line Tool              ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: Google Cloud CLI Core Libraries              ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: kubectl                                      ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: kubectl                                      ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Creating backup and activating new installation          ═╣
╚════════════════════════════════════════════════════════════╝

Performing post processing steps...done.

Update done!

To revert your CLI to the previously installed version, you may run:
  $ gcloud components update --version 392.0.0

WARNING:   There are other instances of Google Cloud tools on your system PATH.
  Please remove the following to avoid confusion or accidental invocation:

  /Applications/Docker.app/Contents/Resources/bin/kubectl
 $HOME/brew/bin/gsutil
 $HOME/brew/Cellar/kubernetes-cli/1.24.3/bin/kubectl


See also[edit]

Advertising: