{"id":1568,"date":"2024-08-31T18:28:14","date_gmt":"2024-08-31T09:28:14","guid":{"rendered":"https:\/\/hi3103.net\/notes\/?p=1568"},"modified":"2024-08-31T18:29:14","modified_gmt":"2024-08-31T09:29:14","slug":"mac-os-sonoma-%e3%81%ab-gcloud-cli-%e3%82%92%e5%b0%8e%e5%85%a5%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/hi3103.net\/notes\/dev\/1568","title":{"rendered":"mac OS Sonoma \u306b gcloud CLI \u3092\u5c0e\u5165\u3059\u308b"},"content":{"rendered":"<h3>\u6982\u8981<\/h3>\n<ul>\n<li>\u4ee5\u524d Windows 11 \u3067\u884c\u3063\u305f gcloud CLI \u306e\u5c0e\u5165\u3092\u3001macOS \u3067\u3082\u5b9f\u65bd\u3059\u308b\n<ul>\n<li><a href=\"https:\/\/hi3103.net\/notes\/dev\/1495\">Windows 11 \u306b gcloud CLI \u3092\u5c0e\u5165\u3059\u308b &#8211; hi3103\u306e\u5099\u5fd8\u9332<\/a><\/li>\n<\/ul>\n<\/li>\n<li>\u524d\u56de\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210\u307e\u3067\u884c\u3063\u305f\u304c\u3001\u4eca\u56de\u306f <code>gcloud --version<\/code> \u306e\u52d5\u4f5c\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u3092\u30b4\u30fc\u30eb\u3068\u3059\u308b<\/li>\n<\/ul>\n<h3>\u53c2\u7167\u3057\u305f\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9<\/h3>\n<ul>\n<li><a href=\"https:\/\/cloud.google.com\/sdk\/docs\/install?hl=ja#mac\">gcloud CLI \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b | Google Cloud CLI \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a><\/li>\n<\/ul>\n<p><!--more--><\/p>\n<h3>\u4f5c\u696d\u30ed\u30b0<\/h3>\n<p>\u203b2024\u5e744\u6708\u306b\u5b9f\u65bd\u3057\u305f\u5185\u5bb9\u3067\u3059\u3002\u5f8c\u8ffd\u3044\u3067\u8a18\u4e8b\u5316\u3057\u3066\u3044\u308b\u305f\u3081\u516c\u958b\u65e5\u3068\u30e9\u30b0\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h4>Python \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d<\/h4>\n<blockquote>\n<p>\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u306f Python 3.8\uff5e3.12 \u3067\u3059\u3002<\/p>\n<\/blockquote>\n<p>\u524d\u8ff0\u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306b\u4e0a\u8a18\u306e\u6307\u5b9a\u304c\u3042\u308b\u305f\u3081\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n<pre><code class=\"language-bash\">&gt; python -V\nPython 2.7.18\n&gt; python3 -V\nPython 3.9.6<\/code><\/pre>\n<p>python3 \u306e\u307b\u3046\u3092\u4f7f\u3048\u3070OK<\/p>\n<h4>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h4>\n<p>\u30c1\u30c3\u30d7\u304c <code>Apple M3 Pro<\/code> \u306e\u30de\u30b7\u30f3\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u8a72\u5f53\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u9805\u76ee<\/th>\n<th>\u5185\u5bb9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0<\/td>\n<td>macOS 64 \u30d3\u30c3\u30c8(ARM64, Apple M1 silicon)<\/td>\n<\/tr>\n<tr>\n<td>\u30d1\u30c3\u30b1\u30fc\u30b8<\/td>\n<td><a href=\"https:\/\/dl.google.com\/dl\/cloudsdk\/channels\/rapid\/downloads\/google-cloud-cli-470.0.0-darwin-arm.tar.gz?hl=ja\">google-cloud-cli-470.0.0-darwin-arm.tar.gz<\/a><\/td>\n<\/tr>\n<tr>\n<td>SHA256 \u30c1\u30a7\u30c3\u30af\u30b5\u30e0<\/td>\n<td><code>e92d9af260ef28300ed2d5c30a4871fe1cac3f44dac823a358c52b11b56dd058<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>wget \u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5f8c\u3001\u4efb\u610f\u3067\u5c55\u958b\u3059\u308b\u3002\u4eca\u56de\u306f <code>~\/Applications<\/code> \u306e\u4e2d\u306b\u3057\u305f<\/p>\n<pre><code class=\"language-bash\">&gt; wget https:\/\/dl.google.com\/dl\/cloudsdk\/channels\/rapid\/downloads\/google-cloud-cli-470.0.0-darwin-arm.tar.gz -O - | tar xvf - -C ~\/Applications\/<\/code><\/pre>\n<p>\u5165\u3063\u305f\u3053\u3068\u3092\u78ba\u8a8d<\/p>\n<pre><code class=\"language-bash\">&gt; ls -la ~\/Applications | grep google\ndrwxr-xr-x  21 \u30e6\u30fc\u30b6\u30fc\u540d  staff   672  4 12 15:30 google-cloud-sdk<\/code><\/pre>\n<h4>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c<\/h4>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u6240\u3078\u79fb\u52d5<\/p>\n<pre><code class=\"language-bash\">&gt; cd ~\/Applications<\/code><\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u3001\u6307\u793a\u306b\u5f93\u3063\u3066\u8a2d\u5b9a\u3092\u9032\u3081\u308b<\/p>\n<pre><code class=\"language-bash\">&gt; google-cloud-sdk\/install.sh\nWelcome to the Google Cloud CLI!\n\nTo help improve the quality of this product, we collect anonymized usage data\nand anonymized stacktraces when crashes are encountered; additional information\nis available at &lt;https:\/\/cloud.google.com\/sdk\/usage-statistics&gt;. This data is\nhandled in accordance with our privacy policy\n&lt;https:\/\/cloud.google.com\/terms\/cloud-privacy-notice&gt;. You may choose to opt in this\ncollection now (by choosing 'Y' at the below prompt), or at any time in the\nfuture by running the following command:\n\n    gcloud config set disable_usage_reporting false\n\nDo you want to help improve the Google Cloud CLI (y\/N)?  y \n\nYour current Google Cloud CLI version is: 470.0.0\nThe latest available version is: 471.0.0\n\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502                                                     Components                                                     \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502      Status      \u2502                         Name                         \u2502              ID              \u2502    Size   \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502 Update Available \u2502 BigQuery Command Line Tool                           \u2502 bq                           \u2502   1.7 MiB \u2502\n\u2502 Update Available \u2502 Google Cloud CLI Core Libraries                      \u2502 core                         \u2502  18.3 MiB \u2502\n\u2502 Not Installed    \u2502 App Engine Go Extensions                             \u2502 app-engine-go                \u2502   4.5 MiB \u2502\n\u2502 Not Installed    \u2502 Appctl                                               \u2502 appctl                       \u2502  18.5 MiB \u2502\n\u2502 Not Installed    \u2502 Artifact Registry Go Module Package Helper           \u2502 package-go-module            \u2502   &lt; 1 MiB \u2502\n\u2502 Not Installed    \u2502 Cloud Bigtable Command Line Tool                     \u2502 cbt                          \u2502  16.7 MiB \u2502\n\u2502 Not Installed    \u2502 Cloud Bigtable Emulator                              \u2502 bigtable                     \u2502   7.0 MiB \u2502\n\u2502 Not Installed    \u2502 Cloud Datastore Emulator                             \u2502 cloud-datastore-emulator     \u2502  36.2 MiB \u2502\n\u2502 Not Installed    \u2502 Cloud Firestore Emulator                             \u2502 cloud-firestore-emulator     \u2502  44.5 MiB \u2502\n\u2502 Not Installed    \u2502 Cloud Pub\/Sub Emulator                               \u2502 pubsub-emulator              \u2502  63.3 MiB \u2502\n\u2502 Not Installed    \u2502 Cloud Run Proxy                                      \u2502 cloud-run-proxy              \u2502  11.3 MiB \u2502\n\u2502 Not Installed    \u2502 Cloud SQL Proxy                                      \u2502 cloud_sql_proxy              \u2502   7.3 MiB \u2502\n\u2502 Not Installed    \u2502 Google Container Registry's Docker credential helper \u2502 docker-credential-gcr        \u2502           \u2502\n\u2502 Not Installed    \u2502 Kustomize                                            \u2502 kustomize                    \u2502   7.4 MiB \u2502\n\u2502 Not Installed    \u2502 Log Streaming                                        \u2502 log-streaming                \u2502  11.9 MiB \u2502\n\u2502 Not Installed    \u2502 Minikube                                             \u2502 minikube                     \u2502  33.6 MiB \u2502\n\u2502 Not Installed    \u2502 Nomos CLI                                            \u2502 nomos                        \u2502  28.6 MiB \u2502\n\u2502 Not Installed    \u2502 On-Demand Scanning API extraction helper             \u2502 local-extract                \u2502  13.7 MiB \u2502\n\u2502 Not Installed    \u2502 Skaffold                                             \u2502 skaffold                     \u2502  23.3 MiB \u2502\n\u2502 Not Installed    \u2502 Terraform Tools                                      \u2502 terraform-tools              \u2502  63.6 MiB \u2502\n\u2502 Not Installed    \u2502 anthos-auth                                          \u2502 anthos-auth                  \u2502  20.7 MiB \u2502\n\u2502 Not Installed    \u2502 config-connector                                     \u2502 config-connector             \u2502  55.6 MiB \u2502\n\u2502 Not Installed    \u2502 enterprise-certificate-proxy                         \u2502 enterprise-certificate-proxy \u2502   8.3 MiB \u2502\n\u2502 Not Installed    \u2502 gcloud Alpha Commands                                \u2502 alpha                        \u2502   &lt; 1 MiB \u2502\n\u2502 Not Installed    \u2502 gcloud Beta Commands                                 \u2502 beta                         \u2502   &lt; 1 MiB \u2502\n\u2502 Not Installed    \u2502 gcloud app Java Extensions                           \u2502 app-engine-java              \u2502 126.2 MiB \u2502\n\u2502 Not Installed    \u2502 gcloud app PHP Extensions                            \u2502 app-engine-php               \u2502  21.9 MiB \u2502\n\u2502 Not Installed    \u2502 gcloud app Python Extensions                         \u2502 app-engine-python            \u2502   5.0 MiB \u2502\n\u2502 Not Installed    \u2502 gcloud app Python Extensions (Extra Libraries)       \u2502 app-engine-python-extras     \u2502   &lt; 1 MiB \u2502\n\u2502 Not Installed    \u2502 gke-gcloud-auth-plugin                               \u2502 gke-gcloud-auth-plugin       \u2502   7.4 MiB \u2502\n\u2502 Not Installed    \u2502 kpt                                                  \u2502 kpt                          \u2502  14.4 MiB \u2502\n\u2502 Not Installed    \u2502 kubectl                                              \u2502 kubectl                      \u2502   &lt; 1 MiB \u2502\n\u2502 Not Installed    \u2502 kubectl-oidc                                         \u2502 kubectl-oidc                 \u2502  20.7 MiB \u2502\n\u2502 Not Installed    \u2502 pkg                                                  \u2502 pkg                          \u2502           \u2502\n\u2502 Installed        \u2502 Cloud Storage Command Line Tool                      \u2502 gsutil                       \u2502  11.3 MiB \u2502\n\u2502 Installed        \u2502 Google Cloud CRC32C Hash Tool                        \u2502 gcloud-crc32c                \u2502   1.2 MiB \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\nTo install or remove components at your current SDK version [470.0.0], run:\n  $ gcloud components install COMPONENT_ID\n  $ gcloud components remove COMPONENT_ID\n\nTo update your SDK installation to the latest version [471.0.0], run:\n  $ gcloud components update\n\nModify profile to update your $PATH and enable shell command completion?\n\nDo you want to continue (Y\/n)?  y\n\nThe Google Cloud SDK installer will now prompt you to update an rc file to bring the Google Cloud CLIs into your environment.\n\nEnter a path to an rc file to update, or leave blank to use [\/Users\/\u30e6\u30fc\u30b6\u30fc\u540d\/.zshrc]:  \nBacking up [\/Users\/\u30e6\u30fc\u30b6\u30fc\u540d\/.zshrc] to [\/Users\/\u30e6\u30fc\u30b6\u30fc\u540d\/.zshrc.backup].\n[\/Users\/\u30e6\u30fc\u30b6\u30fc\u540d\/.zshrc] has been updated.\n\n==&gt; Start a new shell for the changes to take effect.\n\nGoogle Cloud CLI works best with Python 3.11 and certain modules.\n\nDownload and run Python 3.11 installer? (Y\/n)?  n\n\nFor more information on how to get started, please visit:\n  https:\/\/cloud.google.com\/sdk\/docs\/quickstarts<\/code><\/pre>\n<p><code>.zshrc<\/code> \u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u672b\u5c3e\u306bPATH\u306e\u8a2d\u5b9a\u304c\u8ffd\u8a18\u3055\u308c\u3066\u3044\u305f<\/p>\n<pre><code class=\"language-bash\">&gt; cat ~\/.zshrc\n\u301c\u7701\u7565\u301c\n\n# The next line updates PATH for the Google Cloud SDK.\nif [ -f '\/Users\/\u30e6\u30fc\u30b6\u30fc\u540d\/Applications\/google-cloud-sdk\/path.zsh.inc' ]; then . '\/Users\/\u30e6\u30fc\u30b6\u30fc\u540d\/Applications\/google-cloud-sdk\/path.zsh.inc'; fi\n\n# The next line enables shell command completion for gcloud.\nif [ -f '\/Users\/\u30e6\u30fc\u30b6\u30fc\u540d\/Applications\/google-cloud-sdk\/completion.zsh.inc' ]; then . '\/Users\/\u30e6\u30fc\u30b6\u30fc\u540d\/Applications\/google-cloud-sdk\/completion.zsh.inc'; fi<\/code><\/pre>\n<h4>Python \u3092\u63a8\u5968\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u5207\u66ff<\/h4>\n<p>Python \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u306f\u3001Homebrew \u7d4c\u7531\u3067\u843d\u3068\u3057\u305f <a href=\"https:\/\/github.com\/pyenv\/pyenv\">pyenv<\/a> \u3067\u884c\u3063\u3066\u3044\u308b<br \/>\n\u95a2\u9023\u8a18\u4e8b\uff1a<a href=\"https:\/\/hi3103.net\/notes\/dev\/1621\">pyenv \u3067 python \u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3059\u308b<\/a><\/p>\n<p>Google Cloud CLU \u306f 3.11 \u304c\u63a8\u5968\u30d0\u30fc\u30b8\u30e7\u30f3\u307f\u305f\u3044\u306a\u306e\u3067\u3001\u3053\u308c\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306b\u3057\u3066\u304a\u304f<\/p>\n<p>Homebrew \u3092\u6700\u65b0\u5316<\/p>\n<pre><code class=\"language-bash\">&gt; brew update\n==&gt; Updating Homebrew...\nAlready up-to-date.<\/code><\/pre>\n<p>pyenv \u304c\u6700\u65b0\u7248\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d<\/p>\n<pre><code class=\"language-bash\">&gt; pyenv --version\npyenv 2.4.0<\/code><\/pre>\n<p>\u73fe\u5728\u306e global \u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d \u2192 2.7.18 \u306b\u306a\u3063\u3066\u308b<\/p>\n<pre><code class=\"language-bash\">&gt; pyenv global\n2.7.18<\/code><\/pre>\n<p>3.11 \u7cfb\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d \u2192 3.11.9 \u307f\u305f\u3044<\/p>\n<pre><code class=\"language-bash\">&gt; pyenv install --list | grep 3.11\n  3.11.0\n  3.11-dev\n  3.11.1\n  3.11.2\n  3.11.3\n  3.11.4\n  3.11.5\n  3.11.6\n  3.11.7\n  3.11.8\n  3.11.9<\/code><\/pre>\n<p>3.11.9 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre><code class=\"language-bash\">&gt; pyenv install 3.11.9\npython-build: use openssl@3 from homebrew\npython-build: use readline from homebrew\nDownloading Python-3.11.9.tar.xz...\n-&gt; https:\/\/www.python.org\/ftp\/python\/3.11.9\/Python-3.11.9.tar.xz\nInstalling Python-3.11.9...\npython-build: use readline from homebrew\npython-build: use zlib from xcode sdk\nInstalled Python-3.11.9 to \/Users\/\u30e6\u30fc\u30b6\u30fc\u540d\/.pyenv\/versions\/3.11.9<\/code><\/pre>\n<p>3.11.9 \u3092\u30b0\u30ed\u30fc\u30d0\u30eb\u306b\u8a2d\u5b9a \u2192 \u78ba\u8a8dOK<\/p>\n<pre><code class=\"language-bash\">&gt; pyenv global 3.11.9\n&gt; pyenv global\n3.11.9<\/code><\/pre>\n<h4>gcloud CLI \u3092\u521d\u671f\u5316<\/h4>\n<pre><code class=\"language-bash\">&gt; google-cloud-sdk\/bin\/gcloud init\nWelcome! This command will take you through the configuration of gcloud.\n\nYour current configuration has been set to: [default]\n\nYou can skip diagnostics next time by using the following flag:\n  gcloud init --skip-diagnostics\n\nNetwork diagnostic detects and fixes local network connection issues.\nChecking network connection...done.                                                                                                                                                                               \nReachability Check passed.\nNetwork diagnostic passed (1\/1 checks passed).\n\nYou must log in to continue. Would you like to log in (Y\/n)?  Y\n\nYour browser has been opened to visit:\n\n    https:\/\/accounts.google.com\/o\/oauth2\/auth?response_type=code&amp;client_id=32555940559.apps.googleusercontent.com&amp;redirect_uri=http%3A%2F%2Flocalhost%3A8085%2F&amp;scope=openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fappengine.admin+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fsqlservice.login+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcompute+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Faccounts.reauth&amp;state=e020FP03eSWYRQrjD2BfP1KbYGmUCN&amp;access_type=offline&amp;code_challenge=JViDLeKu83AZgpU0gt98p2M947XnNS_pb1zJVhhhqwk&amp;code_challenge_method=S256<\/code><\/pre>\n<p>\u30d6\u30e9\u30a6\u30b6\u304c\u7acb\u3061\u4e0a\u304c\u308a\u3001\u30ed\u30b0\u30a4\u30f3\u8a8d\u8a3c\u753b\u9762\u304c\u958b\u304f<\/p>\n<p>\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u9078\u629e<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hi3103.net\/notes\/img\/uploads\/2024\/08\/2404-gcloud_cli_setup-1.png\" alt=\"Google\u306b\u30ed\u30b0\u30a4\u30f3\u3001\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u9078\u629e\u3092\u3059\u308b\u753b\u9762\" width=\"1089\" height=\"494\"  \/><\/p>\n<p>[\u6b21\u3078] \u3092\u30af\u30ea\u30c3\u30af<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hi3103.net\/notes\/img\/uploads\/2024\/08\/2404-gcloud_cli_setup-2.png\" alt=\"Google \u3067 \u30ed\u30b0\u30a4\u30f3\u3001Google Cloud SDK \u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u753b\u9762\" width=\"1104\" height=\"504\"  \/><\/p>\n<p>[\u8a31\u53ef] \u3092\u30af\u30ea\u30c3\u30af<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hi3103.net\/notes\/img\/uploads\/2024\/08\/2404-gcloud_cli_setup-3.png\" alt=\"Google \u3067\u30ed\u30b0\u30a4\u30f3\u3001\u300cGoogle Cloud SDK \u304c Google \u30a2\u30ab\u30a6\u30f3\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u3057\u3066\u3044\u307e\u3059\u300d\u3068\u3044\u3046\u6848\u5185\u306e\u753b\u9762\" width=\"1095\" height=\"787\"  \/><\/p>\n<p>\u5b8c\u4e86\u30da\u30fc\u30b8\u3078\u9077\u79fb\u3059\u308b<\/p>\n<p><a href=\"https:\/\/cloud.google.com\/sdk\/auth_success?hl=ja\">https:\/\/cloud.google.com\/sdk\/auth_success?hl=ja<\/a><\/p>\n<p>Terminal \u306b\u623b\u308b\u3068\u3001\u4ee5\u4e0b\u304c\u51fa\u529b\u3055\u308c\u3066\u3044\u305f\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210\u306f\u305b\u305a\u7d42\u4e86\u3002<\/p>\n<pre><code class=\"language-bash\">Updates are available for some Google Cloud CLI components.  To install them,\nplease run:\n  $ gcloud components update\n\nYou are logged in as: [Google\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9].\n\nThis account has no projects.\n\nWould you like to create one? (Y\/n)?  n<\/code><\/pre>\n<h4>\u52d5\u4f5c\u30c1\u30a7\u30c3\u30af<\/h4>\n<p>gcloud \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8868\u793a \u2192 \u6210\u529f\u3002\u3053\u3053\u3067\u3082\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u30a2\u30d7\u30c7\u3092\u52e7\u3081\u3089\u308c\u308b\u3002<\/p>\n<pre><code class=\"language-bash\">&gt; gcloud --version                                                                                                                                                    ok | 8s | system node | gcloud | 16:03:16 \nGoogle Cloud SDK 470.0.0\nbq 2.1.2\ncore 2024.03.22\ngcloud-crc32c 1.0.0\ngsutil 5.27\nUpdates are available for some Google Cloud CLI components.  To install them,\nplease run:\n  $ gcloud components update<\/code><\/pre>\n<h4>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8<\/h4>\n<p>\u6848\u5185\u3055\u308c\u305f\u30b3\u30de\u30f3\u30c9\u3092\u53e9\u304f\u3002<\/p>\n<pre><code class=\"language-bash\">&gt; gcloud components update                                                                                                                                                 ok | system node | gcloud | 16:03:55 \nBeginning update. This process may take several minutes.\n\nYour current Google Cloud CLI version is: 470.0.0\nYou will be upgraded to version: 471.0.0\n\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502            These components will be updated.            \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502               Name              \u2502  Version   \u2502   Size   \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502 BigQuery Command Line Tool      \u2502      2.1.3 \u2502  1.7 MiB \u2502\n\u2502 Google Cloud CLI Core Libraries \u2502 2024.03.29 \u2502 18.3 MiB \u2502\n\u2502 gcloud cli dependencies         \u2502 2024.03.29 \u2502 16.6 MiB \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502      These components will be installed.       \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502           Name          \u2502  Version   \u2502   Size  \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502 gcloud cli dependencies \u2502 2021.04.16 \u2502 &lt; 1 MiB \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n\nThe following release notes are new in this upgrade.\nPlease read carefully for information about new features, breaking changes,\nand bugs fixed.  The latest full release notes can be viewed at:\n  https:\/\/cloud.google.com\/sdk\/release_notes\n\n471.0.0 (2024-04-02)\n  AI\n      \u25aa Modified --region flag of gcloud ai endpoints to include new online\n        prediction regions.\n      \u25aa Modified --region flag of gcloud ai models to include new online\n        prediction regions.\n\n  AlloyDB\n      \u25aa Added flag --assign-inbound-public-ip to enable or disable public IP\n        for an instance to the following commands in the GA track:\n        \u25c6 gcloud alloydb instances create\n        \u25c6 gcloud alloydb instances update\n\n      \u25aa Added flag --authorized-external-networks to set a list of authorized\n        external networks on an instance to gcloud alloydb instances update in\n        the GA track.\n\n  App Engine\n      \u25aa Updated the Java SDK to version 2.0.26 build from the open source\n        project\n        &lt;https:\/\/github.com\/GoogleCloudPlatform\/appengine-java-standard\/releases\/tag\/v2.0.26&gt;.\n\n  BigQuery\n      \u25aa Downgraded urllib3 to version 1.26.9 be compatible with the request\n        lib.\n\n  Certificate Authority Service\n      \u25aa Added Subject Key Id field to arguments gcloud privateca roots create\n        to allow usage of a custom subject key id for root certificate\n        authorities.\n      \u25aa Added Subject Key Id field to arguments gcloud privateca subordinates\n        create to allow usage of a custom subject key id for subordinate\n        certificate authorities.\n      \u25aa Added Subject Key Id field to arguments gcloud privateca certificates\n        create to allow usage of a custom subject key id for certificates.\n      \u25aa Added maximum lifetime argument to gcloud privateca templates create\n        to allow configuring maximum lifetime restriction using certificate\n        templates.\n\n  Certificate Manager\n      \u25aa Added allowlistedCertificates property to certificate-manager\n        trust-configs import and certificate-manager trust-configs export.\n\n  Cloud Bigtable\n      \u25aa Rebuilt cbt cli with google.golang.org\/protobuf version 1.33.0 which\n        fixed CVE-2024-24786.\n\n  Cloud Bigtable Emulator\n      \u25aa Rebuilt cbt cli with google.golang.org\/protobuf version 1.33.0 which\n        fixed CVE-2024-24786.\n\n  Cloud Composer\n      \u25aa Added gcloud beta composer environments list-workloads to display\n        Composer workloads list.\n      \u25aa Added gcloud beta composer environments user-workloads-config-maps\n        create to create a user workloads ConfigMap.\n      \u25aa Added gcloud beta composer environments user-workloads-config-maps\n        delete to delete a user workloads ConfigMap.\n      \u25aa Added gcloud beta composer environments user-workloads-config-maps\n        describe to get details about a user workloads ConfigMap.\n      \u25aa Added gcloud beta composer environments user-workloads-config-maps\n        list to list user workloads ConfigMaps.\n      \u25aa Added gcloud beta composer environments user-workloads-config-maps\n        update to update a user workloads ConfigMap.\n      \u25aa Added gcloud beta composer environments user-workloads-secrets create\n        to create a user workloads Secret.\n      \u25aa Added gcloud beta composer environments user-workloads-secrets delete\n        to delete a user workloads Secret.\n      \u25aa Added gcloud beta composer environments user-workloads-secrets\n        describe to get details about a user workloads Secret.\n      \u25aa Added gcloud beta composer environments user-workloads-secrets list\n        to list user user workloads Secrets.\n      \u25aa Added gcloud beta composer environments user-workloads-secrets update\n        to update a user workloads Secret.\n\n  Cloud Deploy\n      \u25aa Updated gcloud deploy apply to accept the Automation resource YAML\n        configuration with the field names in the API proto.\n\n  Cloud Infrastructure Manager\n      \u25aa Added --file flag to gcloud infra-manager deployments\n        export-statefile to download statefile with a custom file name\/path or\n        by default to a file named statefile if only file path is provided.\n\n  Cloud Memorystore\n      \u25aa Add --node-type flag to redis clusters create to add the ability to\n        create clusters with different node types.\n\n  Cloud NetApp\n      \u25aa Added --backup-config and --source-backup to gcloud netapp volumes to\n        allow scheduled backups and create volume from backup workflow.\n\n  Cloud Pub\/Sub\n      \u25aa Promoted --cloud-storage-file-datetime-format flag of gcloud pubsub\n        subscriptions create to GA. Added the ability to set custom Cloud\n        Storage filename datetimes in Cloud Pub\/Sub to Cloud Storage\n        subscriptions. For more information, see\n        &lt;https:\/\/cloud.google.com\/pubsub\/docs\/create-cloudstorage-subscription#file_names&gt;.\n      \u25aa Promoted --cloud-storage-file-datetime-format flag of gcloud pubsub\n        subscriptions update to GA. Added the ability to update custom Cloud\n        Storage filename datetimes in Cloud Pub\/Sub to Cloud Storage\n        subscriptions. For more information, see\n        &lt;https:\/\/cloud.google.com\/pubsub\/docs\/create-cloudstorage-subscription#file_names&gt;.\n\n  Cloud Run\n      \u25aa Updated integration name generation logic to use the integration type\n        followed by 4 digit hash.\n\n  Cloud SQL\n      \u25aa Support for designating a disaster recovery replica in gcloud sql\n        instances patch command using --failover-dr-replica-name flag is in\n        beta.\n\n  Compute Engine\n      \u25aa Added gcloud compute storage-pools and gcloud compute\n        storage-pools-types command groups which can read Compute storage pools\n        and storage pool types. Documentation of the storage pools will be\n        available at\n        &lt;https:\/\/cloud.google.com\/compute\/docs\/disks\/storage-pools&gt;.\n\n  Compute OS Config\n      \u25aa Added gcloud compute os-config project-feature-settings commands that\n        allow to view and change the project feature settings.\n\n  Database Migration\n      \u25aa Added gcloud database-migrate connection-profiles create sqlserver\n        which creates a Database Migration Service connection profile for SQL\n        Server.\n      \u25aa Updated gcloud database-migrate migration-jobs create to create\n        Database Migration Service migration job for SQL Server to Cloud\n        SQL-SQL Server migrations.\n      \u25aa Added --dump-type to gcloud database-migrate migration-jobs create to\n        allow creating a migration job with PHYSICAL or LOGICAL dump type.\n      \u25aa Added --dump-type to gcloud database-migrate migration-jobs update to\n        allow updating a migration job with PHYSICAL or LOGICAL dump type.\n\n  GKE Hub\n      \u25aa Updated gcloud container fleet scopes list to return Fleet Scopes\n        permitted to be viewed by the caller.\n      \u25aa Added gcloud container fleet scopes list-memberships SCOPE to return\n        Fleet Memberships bound to SCOPE.\n\n  Kubernetes Engine\n      \u25aa Added --additive-vpc-scope-dns-domain and\n        --disable-additive-vpc-scope flags to gcloud container clusters create,\n        create-auto and update.\n      \u25aa Added --security-posture=enterprise flag to gcloud container clusters\n        create, gcloud container clusters create-auto, and gcloud container\n        clusters update to enable GKE Threat Detection.\n\n  Regional Endpoints\n      \u25aa Add optional address input flag to gcloud beta networkconnectivity\n        regional-endpoints create.\n\n  Workbench\n      \u25aa Fixed issue with gcloud workbench instances failing when\n        accelerator-type flag is set to NVIDIA_A100_80GB.\n\n    Subscribe to these release notes at\n    https:\/\/groups.google.com\/forum\/#!forum\/google-cloud-sdk-announce\n    (https:\/\/groups.google.com\/forum\/#!forum\/google-cloud-sdk-announce).\n\nDo you want to continue (Y\/n)?  Y\n\n\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557\n\u2560\u2550 Creating update staging area                             \u2550\u2563\n\u2560\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2563\n\u2560\u2550 Uninstalling: BigQuery Command Line Tool                 \u2550\u2563\n\u2560\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2563\n\u2560\u2550 Uninstalling: Google Cloud CLI Core Libraries            \u2550\u2563\n\u2560\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2563\n\u2560\u2550 Uninstalling: gcloud cli dependencies                    \u2550\u2563\n\u2560\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2563\n\u2560\u2550 Installing: BigQuery Command Line Tool                   \u2550\u2563\n\u2560\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2563\n\u2560\u2550 Installing: Google Cloud CLI Core Libraries              \u2550\u2563\n\u2560\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2563\n\u2560\u2550 Installing: gcloud cli dependencies                      \u2550\u2563\n\u2560\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2563\n\u2560\u2550 Installing: gcloud cli dependencies                      \u2550\u2563\n\u2560\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2563\n\u2560\u2550 Creating backup and activating new installation          \u2550\u2563\n\u255a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255d\n\nPerforming post processing steps...done.                                                                                                                                                                          \n\nUpdate done!\n\nTo revert your CLI to the previously installed version, you may run:\n  $ gcloud components update --version 470.0.0<\/code><\/pre>\n<p>\u518d\u5ea6\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d \u2192 \u6700\u65b0\u306e 471.0.0 \u306b\u306a\u3063\u305f\u3002\u3053\u308c\u306b\u3066\u5b8c\u4e86\u3002<\/p>\n<pre><code class=\"language-bash\">&gt; gcloud --version                                                                                                                                                ok | 2m 57s | system node | gcloud | 16:12:19 \nGoogle Cloud SDK 471.0.0\nbq 2.1.3\ncore 2024.03.29\ngcloud-crc32c 1.0.0\ngsutil 5.27<\/code><\/pre>\n<h3>\u53c2\u8003<\/h3>\n<ul>\n<li><a href=\"https:\/\/neos21.net\/blog\/2021\/05\/13-01.html\">\u5727\u7e2e\u30d5\u30a1\u30a4\u30eb\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3068\u89e3\u51cd\u3092\u4e00\u6c17\u306b\u884c\u3046 (wget\u30fbcurl\u30fbtar) &#8211; Neo&#8217;s World<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 \u4ee5\u524d Windows 11 \u3067\u884c\u3063\u305f gcloud CLI \u306e\u5c0e\u5165\u3092\u3001macOS \u3067\u3082\u5b9f\u65bd\u3059\u308b Windows 11 \u306b gcloud CLI \u3092\u5c0e\u5165\u3059\u308b &#8211; hi3103\u306e\u5099\u5fd8\u9332 \u524d\u56de\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[93],"tags":[104,64,107],"class_list":["post-1568","post","type-post","status-publish","format-standard","hentry","category-dev","tag-google-cloud-platform","tag-mac-os","tag-mac-os-sonoma"],"_links":{"self":[{"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/posts\/1568","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/comments?post=1568"}],"version-history":[{"count":0,"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/posts\/1568\/revisions"}],"wp:attachment":[{"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/media?parent=1568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/categories?post=1568"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/tags?post=1568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}