Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save scott45/9a450f0b08fc76051fe72ec615908ee4 to your computer and use it in GitHub Desktop.
Save scott45/9a450f0b08fc76051fe72ec615908ee4 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