Hello,
I'm having trouble following the instructions from "gcloud topic filters"
which are duplicated on this page
https://cloud.google.com/sdk/gcloud/reference/topic/filtersand also duplicated in a blog post
https://cloudplatform.googleblog.com/2016/06/filtering-and-formatting-fun-with.htmlThe example given says:
$ gcloud projects list \
--format="table(projectNumber,projectId,createTime)" \
--filter="createTime.date('%Y-%m-%d', Z)='2016-05-11'"But when running that exact command, or any variation of it, I get the error message:
ERROR: (gcloud.projects.list) Term expected [createTime.date('%Y-%m-%d', Z) *HERE* ='2016-05-11'].
I've tried using other operators than = and varying combinations of single and double quotes to rule out shell interpretations/expansions.
It feels like the syntax has changed since the documentation was created. I'm currently using gcloud CLI version 170.0.1 and can move forward/backward with some flexibility if needed.
I am trying obtain a list of snapshots filtered by creationTime and not getting very far. Also it is confusing that different parts of the API use `createTime` and others use `creationTimestamp`.
-Lee