Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Read Quota Project from Environment Variable #1163

Merged
merged 4 commits into from
Oct 31, 2022
Merged

Conversation

sai-sunder-s
Copy link
Contributor

Introduce a new environment variable "GOOGLE_CLOUD_QUOTA_PROJECT" that can be used to specify a quota project id. This quota project will be used to override the quota project from the credential detected during ADC generation if another quota project was not provided explicitly.
This change also introduces a helper method to set the quota project from environment variable on the credential explicitly.

@sai-sunder-s sai-sunder-s added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 17, 2022
@sai-sunder-s sai-sunder-s added kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed do not merge Indicates a pull request not ready for merge, due to either quality or timing. labels Oct 31, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 31, 2022
@sai-sunder-s sai-sunder-s merged commit 57b3e42 into main Oct 31, 2022
@sai-sunder-s sai-sunder-s deleted the quotaenv2 branch October 31, 2022 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants