Team Drives storage report

1,347 views
Skip to first unread message

Scott Wilhelm

unread,
Sep 22, 2021, 8:28:01 AM9/22/21
to google-ap...@googlegroups.com
Hello,

Is it possible to use GAM or GAMADV to pull a storage/usage report on Team Drives?

Thanks,
Scott

Scott Wilhelm
System Administrator
Clarkson University


Rance Hall

unread,
Sep 22, 2021, 9:47:55 AM9/22/21
to google-ap...@googlegroups.com

Scott:

 

GAMADV can access shared drives (formerly team drives) but I’m not convinced that the API exposes the data you would typically want in a usage report.

 

Caveat:  GAM can not access shared drives directly, it must impersonate a user with access to the drive to pull any data.

 

Check out the WIKI to see if you think what can be done is what you want to do.

 

https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Shared-Drives

 

Rance

 

From: google-ap...@googlegroups.com <google-ap...@googlegroups.com> on behalf of Scott Wilhelm <swil...@clarkson.edu>
Date: Wednesday, September 22, 2021 at 7:28 AM
To: google-ap...@googlegroups.com <google-ap...@googlegroups.com>
Subject: [GAM] Team Drives storage report

[EXTERNAL EMAIL]

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAPxREJDUJi8U4Ba8nLrw9DOoj-3m9DswvPj3LUGs1Ex9b95Ypw%40mail.gmail.com.

Temple Rodgers

unread,
Sep 22, 2021, 9:52:09 AM9/22/21
to GAM for Google Workspace
hi Scott, if it's purely the size then the standard Admin view of the drive gives you the storage used (MB or GB etc) and how much as a percentage of maximum.

If you simply want file counts then gam user <organizer> print filecounts select teamdriveid <id>  will give a great summary. I haven't come across a way of getting the actual space used, apart from using the Admin console.
Temple

Temple Rodgers

unread,
Sep 22, 2021, 9:53:15 AM9/22/21
to GAM for Google Workspace
BTW, that's GAMADV-XTD3 that I use

Ross Scroggs

unread,
Sep 22, 2021, 10:25:29 AM9/22/21
to google-ap...@googlegroups.com

Disclaimers apply, for full details see: https://hackney.gov.uk/email-disclaimer


--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages