Hi Colleagues,
Do you know the most effective way to get the permission information of Google Drives within an account that has massive number of files?
I have several accounts that has more than a million files each.
Everytime I tried to pull permission information from the files using below command:
gam config auto_batch_min 1 redirect csv ./filelistperms.csv multiprocess user a...@domain.com print filelist fields id,name,permissions,owners.emailaddress,mimetype <pm clauses>
more often than not, the process stop in the middle with error http.client.InCompleteRead.
The objective is to remove permission "anyoneWithLink" from each files owned by those accounts.
Thank you!