gcloud init 1

gcloud init

gcloud init [--console-only] [--skip-diagnostics] [GCLOUD_WIDE_FLAG …]

DESCRIPTION
gcloud init launches an interactive Getting Started workflow for the gcloud command-line tool. It performs the following setup steps:
Authorizes gcloud and other SDK tools to access Google Cloud Platform using your user account credentials, or from an account of your choosing whose credentials are already available.
Sets up a new or existing configuration.
Sets properties in that configuration, including the current project and optionally, the default Google Compute Engine region and zone you'd like to use.

Here is what the above code is Doing:
1. It’s creating a new variable called “gcloud_init” and assigning it the value of the string “gcloud init [–console-only] [–skip-diagnostics] [GCLOUD_WIDE_FLAG …]”.
2. It’s creating a new variable called “description” and assigning it the value of the string “gcloud init launches an interactive Getting Started workflow for the gcloud command-line tool. It performs the following setup steps:
Authorizes gcloud and other SDK tools to access Google Cloud Platform using your user account credentials, or from an account of your choosing whose credentials are already available.
Sets up a new or existing configuration.
Sets properties in that configuration, including the current project and optionally, the default Google Compute Engine region and zone you’d like to use.”
3. It’s printing the value of the variable “gcloud_init”
4. It’s printing the value of the variable “description”

Similar Posts