### 現在の構成の設定(初期化)を行う。初期の構成は「default」になる。 gcloud init ### 特定の設定項目を設定する gcloud config set project [project-name] gcloud config set disable_prompts true ### 削除するときはunset gcloud config unset project
default以外にも複数の構成を作って使い分けることができる
### 新しい構成を作成する gcloud config configurations create [NAME] ### 作成済みの構成の一覧を表示する gcloud config configurations list ### アクティブにする構成を切り替える gcloud config configurations activate [NAME] ### コマンドの実行時にだけ特定の構成を使用する場合には、--configurationオプションで指定できる gcloud auth list --configuration=[CONFIGURATION_NAME]
### 現在アクティブな構成のプロパティを表示する gcloud config list ### 構成の名前を指定してプロパティを表示する gcloud config configurations describe [NAME]
### 構成を削除する ※アクティブになっている構成は削除できない gcloud config configurations delete [NAME]
どのようなプロパティが設定できるのか?
### 下記のどちらかを実行すると設定可能なプロパティの一覧が参照できる gcloud topic configurations gcloud config set --help