Documents in Google native formats do not use any user quota, so the Drive API will always return 0 as their byte size.
Size of a google doc inside of google drive
-
04-12-2021 - |
题
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.
解决方案
不隶属于 StackOverflow