Populating `quotaUser` on requests
kiwiz opened this issue · comments
The issue tracker is for reporting product deficiencies. How do I questions should be posted to the discussion forum at https://groups.google.com/group/got-your-back. When in doubt, start at the discussion forum and return here only when instructed to do so.
Please confirm the following:
[x] I have upgraded to the latest GYB release from https://github.com/jay0lee/got-your-back/releases and I still have this issue.
[x] I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/got-your-back/wiki
Full steps to reproduce the issue:
- Configure GYB via a service account
- Run GYB for multiple users
- Hit rate limits
Proposed improvement:
According to the docs, all Google APIs support a quotaUser
parameter to specify the user rate limit bucket to charge requests against. When using a service account to perform exports, this should allow the account to take full advantage of the available rate limit buckets. From a quick review of the GYB source, it doesn't look like this parameter is populated anywhere.
Assuming my reasoning is correct adding this parameter would allow a service account to service more requests before hitting RLs.