Drive Disk Space

63 views
Skip to first unread message

Darrin Sculley

unread,
Sep 25, 2012, 12:35:04 PM9/25/12
to google-app...@googlegroups.com
Is there an Domain Information and Management API call that I can make, to get the Drive disk space usage ?  

I know about the About method in the Drive v2 API, which has quotaBytesTotal, quotaBytesUsed and quotaBytesUsedInTrash - but this requires an OAuth authentication and therefore is geared to per-user reporting.  I am looking for central admin reporting.  Something like the email disk space report.

I have access to the Drive usage and quota from the administrative web (see attached), but this is not ideal for tracking or alerting low space warnings.

I have also looked in the License Manager API, but found nothing there either.

Suggestions?
Screen Shot 2012-09-25 at 11.42.19 AM.png

Richie Foreman

unread,
Sep 26, 2012, 9:44:35 AM9/26/12
to google-app...@googlegroups.com
Hi Darrin,

You can still use Drive API for centralized reporting.  You'll just need to utilize the service account method for authentication.

This will allow you to "impersonate" each user and fetch their quota on their behalf.

Darrin Sculley

unread,
Sep 26, 2012, 11:11:56 AM9/26/12
to google-app...@googlegroups.com
Perfect.  Thanks!
Reply all
Reply to author
Forward
0 new messages