$ gcloud init
Your current configuration has been set to: [default]
You can skip diagnostics next time by using the following flag:
gcloud init --skip-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
Reachability Check passed.
Network diagnostic (1/1 checks) passed.
Choose the account you would like to use to perform operations for
this configuration:
[1] [email protected]
[2] Log in with a new account
Please enter your numeric choice: 1
You are logged in as: [[email protected]].
Pick cloud project to use:
[1] xxx-project-1
[2] xxx-project-2
[3] Create a new project
Please enter numeric choice or text value (must exactly match list
item): 2
Your current project has been set to: [xxx-project-1].
Do you want to configure Google Compute Engine
(https://cloud.google.com/compute) settings (Y/n)? Y
Which Google Compute Engine zone would you like to use as project
default?
If you do not specify a zone via a command line flag while working
with Compute Engine resources, the default is assumed.
[1] asia-east1-c
[2] asia-east1-b
[3] asia-east1-a
[4] asia-northeast1-b
[5] asia-northeast1-a
[6] asia-northeast1-c
[7] asia-southeast1-a
[8] asia-southeast1-b
[9] australia-southeast1-c
[10] australia-southeast1-a
[11] australia-southeast1-b
[12] europe-west1-d
[13] europe-west1-b
[14] europe-west1-c
[15] europe-west2-a
[16] europe-west2-c
[17] europe-west2-b
[18] europe-west3-c
[19] europe-west3-b
[20] europe-west3-a
[21] southamerica-east1-b
[22] southamerica-east1-a
[23] southamerica-east1-c
[24] us-central1-c
[25] us-central1-f
[26] us-central1-b
[27] us-central1-a
[28] us-east1-d
[29] us-east1-b
[30] us-east1-c
[31] us-east4-c
[32] us-east4-b
[33] us-east4-a
[34] us-west1-a
[35] us-west1-b
[36] us-west1-c
[37] Do not set default zone
Please enter numeric choice or text value (must exactly match list
item): us-central1-a
Your project default Compute Engine zone has been set to [us-central1-a].
You can change it by running [gcloud config set compute/zone NAME].
Your project default Compute Engine region has been set to [us-central1].
You can change it by running [gcloud config set compute/region NAME].
Your Google Cloud SDK is configured and ready to use!
* Commands that require authentication will use [email protected] by default
* Commands will reference project `xxx-project-1` by default
* Compute Engine commands will use region `us-central1` by default
* Compute Engine commands will use zone `us-central1-a` by default
Run `gcloud help config` to learn how to change individual settings
This gcloud configuration is called [default]. You can create additional configurations if you work with multiple accounts and/or projects.
Run `gcloud topic configurations` to learn more.
Some things to try next:
* Run `gcloud --help` to see the Cloud Platform services you can interact with. And run `gcloud help COMMAND` to get help on any gcloud command.
* Run `gcloud topic -h` to learn about advanced features of the SDK like arg files and output formatting