Skip to content

Instantly share code, notes, and snippets.

@shashyajoshi
Last active April 15, 2019 12:01
Show Gist options
  • Save shashyajoshi/214cbd9f2c5a1834f315e2397a58c1da to your computer and use it in GitHub Desktop.
Save shashyajoshi/214cbd9f2c5a1834f315e2397a58c1da to your computer and use it in GitHub Desktop.
Output of the gcloud projects list command in json format
$ gcloud projects list --format json
[
{
"createTime": "2018-07-02T14:13:29.262Z",
"labels": {
"app-name": "micro-svc-app",
"biz-unit": "it",
"env-name": "qa",
"owner": "john-smith"
},
"lifecycleState": "ACTIVE",
"name": "sj-test-070418",
"projectId": "sj-test-070418",
"projectNumber": "45569107377"
},
(~~ part of the response ~~)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment