从基于用户的配置文件更新

Reg*_*wle 8 google-bigquery gsutil google-cloud-platform gcloud gcloud-cli

每当我运行bq或gsutil命令时,我得到以下输出:

Loading user based configuration file: [/home/reggie/.config/gcloud/properties].
User based configuration files are deprecated and will not be read in a future gcloud release.
Run Code Online (Sandbox Code Playgroud)

有什么替代方案,我该如何使用呢?

Mar*_*ark 7

几个月前,我们引入了gcloud'配置',它允许您拥有多组gcloud config可以在其间切换的属性.有关该主题的更多信息,请访问:https://cloud.google.com/sdk/gcloud/reference/topic/configurations

下次使用gcloud config set旧配置文件设置属性时,将自动升级到新的命名配置,您应该停止看到该消息.你也可以使用

gcloud config configurations create 创建新的命名配置.