I\'m looking for a one-liner to get the default project id
with gcloud config list core/project give me
gcloud config list core/project
Your active configuration is: [defau
From Cloud Shell or any machine where Cloud SDK is installed, we can use:
echo $DEVSHELL_PROJECT_ID
And as shown in the below screenshot.