Skip to content

Conversation

@busunkim96
Copy link
Contributor

Adds quota_project_id to service account credentials, making it possible to set quota_project_id on OAuth2 credentials and service account credentials.

This PR also adds the method with_quota_project to both classes.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 2, 2020
@busunkim96
Copy link
Contributor Author

busunkim96 commented Jun 4, 2020

@broady @bshaffer I think I should expand this PR so all credentials produced by the default auth flow have quota_project (+ App Engine and Compute Engine credentials).

Is it appropriate to add quota_project_id to the base credentials class? I'm curious what other languages did.

Copy link

@software-dov software-dov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM apart from the copy_docstring bit I don't understand.

@software-dov software-dov added kokoro:force-run Add this label to force Kokoro to re-run the tests. kokoro:run Add this label to force Kokoro to re-run the tests. labels Jun 10, 2020
@yoshi-kokoro yoshi-kokoro removed kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jun 10, 2020
@software-dov software-dov added kokoro:force-run Add this label to force Kokoro to re-run the tests. kokoro:run Add this label to force Kokoro to re-run the tests. labels Jun 10, 2020
@software-dov software-dov merged commit b12488c into master Jun 10, 2020
gcf-merge-on-green bot pushed a commit that referenced this pull request Jul 21, 2020
@tseaver tseaver deleted the more-quota-project-id branch October 28, 2020 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement. kokoro:force-run Add this label to force Kokoro to re-run the tests. kokoro:run Add this label to force Kokoro to re-run the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants