Requesting GAM Command To check if shared drives have restrictions in place

45 views
Skip to first unread message

Nako Carroll

unread,
Feb 25, 2026, 10:01:56 AM (9 days ago) Feb 25
to GAM for Google Workspace
Hello! 

I'm checking here to see if a GAM command exists to check shared drive limitations, so we don't have to click into every single drive and check its settings. If a command for this doesn't exist, would definitely like to kindly request one if this functionality is possible! 

Also, if someone already knows how to do this, let me know : )  

Lt. Col. Marshall Giguere

unread,
Feb 25, 2026, 11:49:19 AM (9 days ago) Feb 25
to google-ap...@googlegroups.com
Do you mean actual "Shared Drives"  or user My Drives and what do you mean by "limitations"?  If you mean "restrictions"

gam show shareddrives [ matchname <drive name>] fields restrictions

If you want a CSV file:

substitute "print" for "show"



--
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 visit https://groups.google.com/d/msgid/google-apps-manager/eaa673b8-1489-45a2-bddc-655d0a1136bdn%40googlegroups.com.

Nako Carroll

unread,
Feb 25, 2026, 12:00:09 PM (9 days ago) Feb 25
to GAM for Google Workspace
Hey there, 

Yes, I'm referring to actual shared drives. By restrictions, I mean settings like the following (see attached): 
Screenshot 2026-02-25 at 11.59.09 AM.png

Nako Carroll

unread,
Feb 25, 2026, 12:31:33 PM (9 days ago) Feb 25
to GAM for Google Workspace
Essentially, I'm looking for a way to automate seeing these settings for all shared drives using gam so I don't have to click through each shared drive for our clients who have over 50+. 

Is there a way to do this? 

Ross Scroggs

unread,
Feb 25, 2026, 12:35:49 PM (9 days ago) Feb 25
to google-ap...@googlegroups.com

Lt. Col. Marshall Giguere

unread,
Feb 25, 2026, 3:51:05 PM (9 days ago) Feb 25
to google-ap...@googlegroups.com
Nako;

Unfortunately you will need to do some translation between the names on the UI and what the Google api  produces.


Lt. Col. Marshall Giguere

unread,
Feb 25, 2026, 4:55:27 PM (9 days ago) Feb 25
to google-ap...@googlegroups.com
Nako;

This may help.

d1.png
Translation to api:

  restrictions:
    adminManagedRestrictions: False
    copyRequiresWriterPermission: False
    domainUsersOnly: True
    downloadRestriction:
      restrictedForReaders: False
      restrictedForWriters: False
    driveMembersOnly: False
    sharingFoldersRequiresOrganizerPermission: False

d2.png

  restrictions:
    adminManagedRestrictions: False
    copyRequiresWriterPermission: False
    domainUsersOnly: False
    downloadRestriction:
      restrictedForReaders: False
      restrictedForWriters: False
    driveMembersOnly: True
    sharingFoldersRequiresOrganizerPermission: False

d3.png
  restrictions:
    adminManagedRestrictions: False
    copyRequiresWriterPermission: False
    domainUsersOnly: False
    downloadRestriction:
      restrictedForReaders: False
      restrictedForWriters: False
    driveMembersOnly: True
    sharingFoldersRequiresOrganizerPermission: False

d4.png

  restrictions:
    adminManagedRestrictions: False
    copyRequiresWriterPermission: False
    domainUsersOnly: False
    downloadRestriction:
      restrictedForReaders: False
      restrictedForWriters: False
    driveMembersOnly: False
    sharingFoldersRequiresOrganizerPermission: True


I think I have this sorted correctly.  What the UI displays and with the underlying representation is can be two different things. Hopefully this will help with the translation.

Nako Carroll

unread,
Feb 26, 2026, 9:04:38 AM (8 days ago) Feb 26
to GAM for Google Workspace
Thank you so much, this is awesome! 
Reply all
Reply to author
Forward
0 new messages