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

标签 google-bigquery google-cloud-platform gcloud gsutil 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.

替代方案是什么?我该如何使用它?

最佳答案

几个月前,我们推出了 gcloud“配置”,它允许您拥有多组可以在之间切换的 gcloud config 属性。有关该主题的更多信息可以在这里找到:https://cloud.google.com/sdk/gcloud/reference/topic/configurations

下次您使用 gcloud config set 设置属性时,您的旧配置文件将自动升级为新的命名配置,并且您应该不再看到该消息。您还可以使用

gcloud configconfigurationscreate 用于创建新的命名配置。

关于google-bigquery - 从基于用户的配置文件更新,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34813383/

相关文章:

c# - .NET InsertMediaUpload 将 CSV 上传到 BigQuery 时出现奇怪的问题

google-bigquery - 大查询 : Get size of each row in table

google-app-engine - 如何备份 Google App Engine 全文搜索文档?

c# - 在 Google BigQuery API 中,查询响应的默认超时是多少?

google-cloud-platform - Google Cloud Monitoring 组包含已短暂关闭的实例

google-cloud-platform - 如何在 Google Cloud Build 中使用 PNPM?

python - git ignore 在使用 GCloud 的 gcloudignore 时不忽略文件

python - 我可以使用任何 stackdriver 监控 api 或 gcloud 命令获得 gcp 计算建议以调整实例大小吗

google-cloud-platform - 在 gcloud console iam 中,如何向组添加角色?

mysql - 大查询 : Is there a way to round a timestamps UP or DOWN to the NEAREST minute?