--
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/5dccc532-4a78-442b-a475-be79bb2ec8cen%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/72eea580-fdec-49a3-95ca-401b2150b125n%40googlegroups.com.
export GAM_CSV_ROW_FILTER="permissions.*.id:regex:anyoneWithLink"
export GAM_CSV_HEADER_FILTER="Owner,id,title,permissions.*.type,permissions.*.withLink"
gam all users print filelist id title permissions todrive > testing.log
With Advanced GAM you can do:
gam redirect csv - todrive redirect stdout testing.log all users print filelist fields id,name,permissions.type,permissions.allowfilediscovery pm type anyone allowfilediscovery false em
Standard GAM uses Drive Rest v2 API and Advanced GAM uses Drive Rest v3 API
In v2, withLink = True is the same as allowFileDiscovery = False in V3
Ross
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/289afac7-2ea8-4470-9494-574be6bc1768n%40googlegroups.com.