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
963 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,340 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 in GCP by Korak
• 4,460 points
225 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,170 points
1,718 views
0 votes
1 answer

What are the service accounts in GCP? How to create one?

The special accounts associated with a project are called the Service Accounts. The ...READ MORE

answered Oct 9, 2019 in GCP by Sirajul
• 59,170 points
253 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
364 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,340 points
564 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,340 points
221 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,340 points
3,983 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,340 points
345 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP