google-cloud-node icon indicating copy to clipboard operation
google-cloud-node copied to clipboard

[feat] support `--format` in request parameter

Open davidkhala opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

I'm always frustrated in any of API request parater, such as ListRegionsRequest, we only have property filter than what did support in gloud https://cloud.google.com/sdk/gcloud/reference/topic/projections

CLI gcloud can use --format to implement projections on output transforming Describe the solution you'd like I hope in gcp-node we can have similar way to specify --format Describe alternatives you've considered Although we can always manipulate the output ultimtely by ourself, as sdk user, but it smells bad that google cloud offer different capability based on sdk language.

davidkhala avatar Jan 25 '22 16:01 davidkhala