oxidecomputer / third-party-api-clients

A place for keeping all our generated third party API clients.
https://docs.rs/octorust
MIT License
132 stars 55 forks source link

No option to pass required fields when getting file metadata #90

Open Jamzy01 opened 9 months ago

Jamzy01 commented 9 months ago

When trying to get metadata, I can't pass fields to the request, so the api doesn't return the data and everything in the File struct that is returned is just default values. I've tried this on the google api explorer, and it works just fine. I'd be completely happy to write this and make a pull request for it, but I can't tell whether this repository is dead or not, in which case there isn't much point in bothering.

PierrickGT commented 2 months ago

I've forked the repository and started to implement the required fields: https://github.com/PierrickGT/third-party-api-clients/blob/e1a7313abc9b308833b4a48449ce46ee91e70a47/google/drive/src/about.rs#L19