Skip to content

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented Apr 6, 2015

Work around #799 (leaving open while @tmatsuo investigates).

(UPDATED by @dhermes when original commit was amended)

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 6, 2015
@tseaver tseaver added the api: pubsub Issues related to the Pub/Sub API. label Apr 6, 2015
@dhermes
Copy link
Contributor

dhermes commented Apr 6, 2015

LGTM.

You mind if we leave #799 open (or file a new one) until the issue gets resolved with the service?

@tseaver
Copy link
Contributor Author

tseaver commented Apr 6, 2015

@dhermes I don't mind -- payload size is going to be < MTU even if we don't pass it, though.

Work around #799 (leaving open while @tmatsuo investigates).
@tseaver
Copy link
Contributor Author

tseaver commented Apr 6, 2015

Amended the commit to avoid closing #799 at merge.

@dhermes
Copy link
Contributor

dhermes commented Apr 6, 2015

@tseaver Thanks! I also updated the first message to match, as that would have closed it too.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 9bc46c4 on tseaver:799-work_around_cannot_bind_fields_query_param into * on GoogleCloudPlatform:master*.

tseaver added a commit that referenced this pull request Apr 7, 2015
…ds_query_param

Fix #799: Don't pass 'fields' query param to possibly non-existing subscription.
@tseaver tseaver merged commit bafb197 into googleapis:master Apr 7, 2015
@tseaver tseaver deleted the 799-work_around_cannot_bind_fields_query_param branch April 7, 2015 01:20
parthea pushed a commit that referenced this pull request Aug 21, 2025
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Lingqing Gan <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Sep 16, 2025
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Lingqing Gan <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Sep 18, 2025
Source-Link: googleapis/synthtool@bef813d
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:94bb690db96e6242b2567a4860a94d48fa48696d092e51b0884a1a2c0a79a407

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
parthea added a commit that referenced this pull request Nov 24, 2025
* build: fix mypy issues

* remove mypy constraint

---------

Co-authored-by: Daniel Sanche <[email protected]>
parthea pushed a commit that referenced this pull request Nov 26, 2025
* feat: define `google.auth.downscoped.Credentials` class

This is based on [Downscoping with Credential Access Boundaries](https://cloud.google.com/iam/docs/downscoping-short-lived-credentials).
The new credentials are initialized mainly using elevated source
credentials and a `google.auth.downscoped.CredentialAccessBoundary`
instance.
The credentials will then get access tokens from the source
credentials and exchange them via the GCP STS token exchange
endpoint using the provided credentials access boundary rules
for downscoped access tokens.

The new credentials will inherit the source credentials' scopes
but the scopes are not exposed as we cannot always determine the
scopes form the source credentials.

* Fixes typos in comments.

* Addresses review comments.

* Moves all constants in the test file to module scope.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsub Issues related to the Pub/Sub API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants