googleapis / googleapis/google-cloud-node

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

Open
#3,161 0 comments 0 reactions 0 assignees View on GitHub
priority: p3 type: feature request
Dominant language
TypeScript
Stars
3.2k
Forks
712
Avg merge
2d 3h
Merged PRs (30d)
99

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.