gsutil / bq | デフォルトのプロジェクトを変える
こんな感じ。
$ gcloud config set project [your_project_id]
gsutil コマンドとか bq コマンドごとに設定するのではなく、gcloud 本体のコマンドで設定するっぽい。
結果
$ gsutil ls
$ bq ls
などと打っても、どちらも参照するプロジェクトがちゃんと変わっている。
参考
環境
Google Cloud SDK 117.0.0
Google Cloud SDK 117.0.0
Author And Source
この問題について(gsutil / bq | デフォルトのプロジェクトを変える), 我々は、より多くの情報をここで見つけました https://qiita.com/YumaInaura/items/df1d1f17801207b36c6b著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .