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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top