Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

feat: Read Quota Project from Environment Variable#1163

Merged
sai-sunder-s merged 4 commits intomainfrom
quotaenv2
Oct 31, 2022
Merged

feat: Read Quota Project from Environment Variable#1163
sai-sunder-s merged 4 commits intomainfrom
quotaenv2

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 requested a review from a team October 12, 2022 22:52
@sai-sunder-s sai-sunder-s requested a review from a team as a code owner October 12, 2022 22:52
@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants