using gam to get the storage size of a shared drive

1,462 views
Skip to first unread message

Jay Jabour

unread,
Sep 9, 2024, 4:24:26 PM9/9/24
to google-ap...@googlegroups.com
I am trying to use gam to get a list of all our shared drives and the storage size of them, but I seem to be hitting a dead end.  It is frustrating because the information I am looking for is in the admin console when I go to drives and docs under apps google workspace.  However I can't export it.  I tried a data scraper add on but that didn't give me the size in a format I could work with.  So is there a gam command I can run to report the shared drives and the storage used.  I used gam report users to get the used storage used so something similar for shareddrives is what I am looking for.  Thank you in advance for any help.

Ross Scroggs

unread,
Sep 9, 2024, 4:30:55 PM9/9/24
to google-ap...@googlegroups.com
There is no single command, the API does not directly provide that information.

You have to run a script where GAM generates the data from listing all of the files on the Shared Drives.


Ross
----
Ross Scroggs



On Sep 9, 2024, at 1:24 PM, 'Jay Jabour' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:

I am trying to use gam to get a list of all our shared drives and the storage size of them, but I seem to be hitting a dead end.  It is frustrating because the information I am looking for is in the admin console when I go to drives and docs under apps google workspace.  However I can't export it.  I tried a data scraper add on but that didn't give me the size in a format I could work with.  So is there a gam command I can run to report the shared drives and the storage used.  I used gam report users to get the used storage used so something similar for shareddrives is what I am looking for.  Thank you in advance for any help.

--
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/CAA1QMyDY0hPBF1bH4ZLGj-SBjzB-sityEkUYt6NSE-GMXPiQtg%40mail.gmail.com.

Jay Jabour

unread,
Sep 9, 2024, 4:43:57 PM9/9/24
to google-ap...@googlegroups.com
Thank you Ross, that is what I was afraid of.  

Àngel Bosch Mora

unread,
Jul 14, 2025, 9:25:48 AM7/14/25
to GAM for Google Workspace
is this limitation still relevant?



El dia dilluns, 9 de setembre del 2024 a les 22:43:57 UTC+2, Jay Jabour va escriure:

Ross Scroggs

unread,
Jul 14, 2025, 11:39:46 AM7/14/25
to google-ap...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages