command "gcloud config list" should display accout, project details both. but i can see only account details. why? Your active configuration is: [cloudshell-31134] nandhurk27gcpuser@cloudshell:~$ gcloud config list [component_manager] disable_update_check = True [compute] gce_metadata_read_timeout_sec = 30 [core] account = firstname.lastname@example.org disable_usage_reporting = True [metrics] environment = devshell
Is it possible you were not in a project? When I execute
gcloud config list I get the project ID right before "[metrics]".
it is possible that you might have not set a project
Your project is not setup : Use this command "gcloud config set project