Uh oh!
There was an error while loading. Please reload this page.
feat: send quota project id in x-goog-user-project for OAuth2 credentials - #400
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
broady
commented
Dec 5, 2019
LGTM, PTAL @shinfan / @CodingFanSteve |
LGTM. Thanks. Just wanna mention we will also need this quota project as a client-level option. @wora FYI |
busunkim96
commented
Dec 6, 2019
shinfan
commented
Dec 6, 2019
late Q1 sounds good to me :) Thank you! |
srulkapara
commented
Dec 10, 2019
@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 |
busunkim96
commented
Dec 10, 2019
@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.