Question

Is there a way to get length (byte size) of a google document via the google drive api? The metadata shows the size for a uploaded file, but not for a google document.

Était-ce utile?

La solution

Documents in Google native formats do not use any user quota, so the Drive API will always return 0 as their byte size.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top