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 22, 2020 in GCP by akhtar
• 38,180 points
146 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

answered Aug 22, 2020 by MD
• 95,140 points

Related Questions In GCP

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,050 points
734 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,050 points
139 views
0 votes
1 answer

How to create a cloud storage bucket in GCP?

Buckets are the basic containers that hold your ...READ MORE

answered Oct 23, 2019 in GCP by Sirajul
• 59,050 points
871 views
+2 votes
1 answer

How to activate GCP Cloud Shell?

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

answered Aug 22, 2020 in GCP by akhtar
• 38,180 points
141 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 22, 2020 in GCP by MD
• 95,140 points
164 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 22, 2020 in GCP by MD
• 95,140 points
105 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,140 points
812 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 22, 2020 in GCP by MD
• 95,140 points
165 views