Hanxue
Hanxue

Reputation: 12766

List all projects in Google Compute Engine using gcloud

Is it possible to use gcloud or gcutil to list all registered projects for a login? At https://developers.google.com/cloud/sdk/gcloud there is no mention of such an option.

Similar to gcloud config list --all, I am looking for something like gcloud project list --all

Upvotes: 15

Views: 22941

Answers (2)

Yahel
Yahel

Reputation: 37305

gcloud has a component that lets you list your gcloud projects:

gcloud projects list

Upvotes: 37

kateroh
kateroh

Reputation: 4416

The tools can get a specific project, but in order to list all your projects you have to go to https://cloud.google.com/console

Upvotes: 4

Related Questions