-
Notifications
You must be signed in to change notification settings - Fork 314
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: send quota project id in x-goog-user-project for OAuth2 credentials #400
Conversation
LGTM, PTAL @shinfan / @CodingFanSteve |
LGTM. Thanks. Just wanna mention we will also need this quota project as a client-level option. @wora FYI |
late Q1 sounds good to me :) Thank you! |
@busunkim96 just a quick note that this code is not fully backward-compatible (not talking about constrcutors - i mean in terms of already-pickled creds-token-files, who are missing the new member - who has no default on |
@srulkapara Thank you for the heads up! I'll continue to track this in #405 |
…credentials (googleapis#400) When the 3LO credentials are used, the quota project ("quota_project_id") is sent on every outgoing request in the x-goog-user-project HTTP header/grpc metadata. The quota project is used for billing and quota purposes.
…ials (#412) * feat: send quota project id in x-goog-user-project header for OAuth2 credentials (#400) When the 3LO credentials are used, the quota project ("quota_project_id") is sent on every outgoing request in the x-goog-user-project HTTP header/grpc metadata. The quota project is used for billing and quota purposes. * feat: add `__setstate__` and `__getstate__` to `oauth2.credentials` class
When the 3LO credentials are used, the quota project ("quota_project_id") should be sent on every outgoing request in the x-goog-user-project HTTP header/grpc metadata.