Search code examples
javagoogle-drive-apiscribe

Size of a google doc inside of google drive


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.


Solution

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