From 7e08b73802768325235e20b93a9d69fb7ed8ca49 Mon Sep 17 00:00:00 2001 From: Hrishikesh Kadam Date: Sun, 27 Mar 2022 21:42:53 +0530 Subject: [PATCH 1/4] Correct the column name from zone to region --- cloudsdk/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudsdk/tutorial.md b/cloudsdk/tutorial.md index 01f25a1..b1a3174 100644 --- a/cloudsdk/tutorial.md +++ b/cloudsdk/tutorial.md @@ -89,7 +89,7 @@ To return the last URL path component, use basename(): gcloud compute zones list --format="table[box,title=Zones](id:label=zone_id, selfLink.basename())" ``` -To align column content to the center, sort primarily by name (and secondarily by zone) and give the zone column an appropriate label, run: +To align column content to the center, sort primarily by name (and secondarily by region) and give the region column an appropriate label, run: ```bash gcloud compute zones list --format="table[box,title=Zones](name:sort=1:align=center, region.basename():label=region:sort=2, status)" ``` From 0531057103d9f253ca1bc05d26e4757e9729d2b2 Mon Sep 17 00:00:00 2001 From: Hrishikesh Kadam Date: Sun, 27 Mar 2022 22:34:29 +0530 Subject: [PATCH 2/4] Correct the date filter This might be working in the past, but definitely not in the present. --- cloudsdk/tutorial.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cloudsdk/tutorial.md b/cloudsdk/tutorial.md index b1a3174..e2c9947 100644 --- a/cloudsdk/tutorial.md +++ b/cloudsdk/tutorial.md @@ -116,13 +116,13 @@ To list projects with a parent type that is not an organization, run: gcloud projects list --format=json --filter="NOT parent.type:organization" ``` -To list projects created after a specific date (while making the comparison with a nifty projection), run: +To list projects created after a specific date, run: ```bash -gcloud projects list --format=json --filter="createTime.date('%d-%m-%Y')>1-1-2017" +gcloud projects list --format=json --filter="createTime>2020-3-25" ``` -For a more extensive list of available filter operations, run `gcloud topic filters --help`. +For a more extensive list of available filter operations, run `gcloud topic filters`. You’re all done! From 1c446c94b4f1d407b884e86c4b9569d6ad7a25b2 Mon Sep 17 00:00:00 2001 From: Hrishikesh Kadam Date: Mon, 28 Mar 2022 20:42:54 +0530 Subject: [PATCH 3/4] Add accessibility/screen_reader note References - 1. `gcloud topic accessibility` 2. https://issuetracker.google.com/issues/204522724 --- cloudsdk/tutorial.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cloudsdk/tutorial.md b/cloudsdk/tutorial.md index e2c9947..67cfc43 100644 --- a/cloudsdk/tutorial.md +++ b/cloudsdk/tutorial.md @@ -49,6 +49,8 @@ To display the list of your projects as a formatted box with a title and columns gcloud projects list --format="table[box,title=Projects](name, lifecycleState)" ``` +**Note**: Run `gcloud config set accessibility/screen_reader false` if the results are rendered as a flattened list of items. + To print a csv instead, with no heading and a specific separator, run: ```bash gcloud projects list --format="csv[no-heading,separator=' '](name, lifecycleState)" From b7d62231d6d99a65b016e4cedda46b2564f59240 Mon Sep 17 00:00:00 2001 From: Hrishikesh Kadam Date: Mon, 28 Mar 2022 23:05:55 +0530 Subject: [PATCH 4/4] Update the first navigation button label to Start --- cloudsdk/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudsdk/tutorial.md b/cloudsdk/tutorial.md index 67cfc43..c1860b5 100644 --- a/cloudsdk/tutorial.md +++ b/cloudsdk/tutorial.md @@ -20,7 +20,7 @@ gcloud projects create **Tip**: Use `--help` with any gcloud command to bring up its documentation. -Click the **Continue** button to move to the next step. +Click the **Start** button to move to the next step. ## What can the format flag do?