Hi Jesse and William,
Thanks for providing incite as to your experience with applying labels.
I was hoping to get some guidance from Ross about how we can run this process more efficiently.
We are trying to identify all Drive files older than 3 years, and apply a badge label to them, notifying users that we'd like to remove them.
Here's the command i've been running:
gam redirect stdout ./ApplyLog.csv multiprocess append redirect stderr ./ApplyError.txt multiprocess append csv gsheet <email-address.> <Sheet---ID> Sheet1 gam user "~Owner" process filedrivelabels "~id" addlabel <long label id>
We have something like 12 mil files that will need to be marked.
Some testing that I've done over the past few days, seemed to go very slow.
I have 3 instances of gam-adv, with 3 separate cloud console projects so we are not hitting api rate limits.
Just using 14 google sheet reports that had the file ID and Owners to apply the label, i was averaging about 100k per hour.
It seems like there are some batch settings that might make this run quicker, but again, wanted to check with Ross.
Thanks,
Grant.