How to list down all the projects in GCP Cloud

+2 votes

Hi Guys,

I have launched the GCP shell in my chrome browser. Now I want to list down all the projects. How can I do that?

Aug 23, 2020 in GCP by akhtar
• 38,260 points
4,017 views

1 answer to this question.

0 votes

Hi@akhtar,

GCP Shell has a command named gcloud. This helps to connect to the API of the GCP cloud. You can use the below command to list down all the projects.

root@cloudshell:~$ gcloud projects list
PROJECT_ID             NAME                   PROJECT_NUMBER
animated-wave-286913   My First Project       772379451478
flutterproject-286917  Flutterproject         927420523999
leafy-display-287005   Myproject              889183400100
long-parity-286815     My First Project       807029470645
micro-mediator-282616  My First Project       911935951284
nadeem-gcp-123456      Nadeem-gcp-production  432803405362
omega-depot-282616     My First Project       291591567610

Hope this helped!!

To know more about Google Cloud, It is recommended to go for Google Cloud Certification training today.

Thank you!

answered Aug 23, 2020 by MD
• 95,460 points

Related Questions In GCP

0 votes
1 answer

Google cloud: How to list all service-accounts from all Projects in GCP

Your code sample suggests you want the ...READ MORE

answered Mar 14, 2022 in GCP by Korak
• 5,820 points
3,974 views
0 votes
1 answer

Google cloud: How to list all service-accounts from all Projects in GCP

It's been noted by the commenters that ...READ MORE

answered Nov 10, 2022 in GCP by Tejashwini
• 3,820 points
1,363 views
+1 vote
1 answer

In GCP, how to list all the resources running under project?

For a specific organization, folder, or project, ...READ MORE

answered Nov 10, 2022 in GCP by Ashwini
• 5,430 points

edited Sep 6, 2023 by Khan Sarfaraz 12,030 views
0 votes
1 answer

How does the pricing model work in GCP cloud?

While working with Google Cloud Platform, the ...READ MORE

answered Oct 7, 2019 in GCP by Sirajul
• 59,230 points
2,814 views
+2 votes
1 answer

How to activate GCP Cloud Shell?

Hi@MD, You can follow the below steps to ...READ MORE

answered Aug 23, 2020 in GCP by akhtar
• 38,260 points
2,396 views
+2 votes
1 answer

How to create a project from GCP Cloud Shell?

Hi@akhtar, GCP shell has a command named gcloud. ...READ MORE

answered Aug 23, 2020 in GCP by MD
• 95,460 points
1,923 views
+2 votes
1 answer

How to create a project in GCP Cloud?

Hi@akhtar, To deploy your app on App Engine, ...READ MORE

answered Aug 23, 2020 in GCP by MD
• 95,460 points
677 views
–1 vote
1 answer

How to copy files between Cloud Shell and the local machine in GCP?

Hi@akhtar, You can copy files from the remote ...READ MORE

answered Nov 9, 2020 in GCP by MD
• 95,460 points
9,378 views
+2 votes
1 answer

How to create a firewall rule in GCP Cloud?

Hi@akhtar, If you are using the default VPC ...READ MORE

answered Aug 23, 2020 in GCP by MD
• 95,460 points
1,526 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP