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,240 points
2,066 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,420 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
1,905 views
0 votes
0 answers

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

I need to obtain every property of ...READ MORE

Nov 9, 2022 in GCP by Ashwini
• 2,960 points
152 views
0 votes
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
• 2,960 points
1,592 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,210 points
1,979 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,240 points
830 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,420 points
971 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,420 points
335 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,420 points
6,297 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,420 points
711 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