| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:625a6607-d2bf-f40d-c790-e2e4d340bc55 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B290:D3B89:1025314:167B9FB:6A4E9649 |
| html-safe-nonce | 37f948f7da970b9e2c37e0bf81372f3a3cef138e5d0febcd04d009be552b0553 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjkwOkQzQjg5OjEwMjUzMTQ6MTY3QjlGQjo2QTRFOTY0OSIsInZpc2l0b3JfaWQiOiI3NzA3MTAwNTM5OTIyNTg1MTYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c4e2e1bd985930db812e18bd286d12bf94a2f70fdf7ec75bf7a71425ee21869f |
| hovercard-subject-tag | pull_request:330308239 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/googleapis/google-cloud-python/9507/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1b84c96576526e7234d312f15dfca81ea93aa1548146b24df1f951138fefb841/googleapis/google-cloud-python/pull/9507 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b84c96576526e7234d312f15dfca81ea93aa1548146b24df1f951138fefb841/googleapis/google-cloud-python/pull/9507 |
| og:image:alt | Fixes #9382.
Pulling the messages using a streaming pull should work with accounts having only the pubsub.subscriber role. This commits adds a test that covers this aspect.
How to test
Apply the f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | plamut |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-cache |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/googleapis/google-cloud-python/pull/9507#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F9507 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F9507 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=googleapis%2Fgoogle-cloud-python |
| Reload | https://github.com/googleapis/google-cloud-python/pull/9507 |
| Reload | https://github.com/googleapis/google-cloud-python/pull/9507 |
| Reload | https://github.com/googleapis/google-cloud-python/pull/9507 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/9507 |
|
googleapis
| https://github.com/googleapis |
| google-cloud-python | https://github.com/googleapis/google-cloud-python |
|
Notifications
| https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-python |
|
Fork
1.7k
| https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-python |
|
Star
5.3k
| https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-python |
|
Code
| https://github.com/googleapis/google-cloud-python |
|
Issues
440
| https://github.com/googleapis/google-cloud-python/issues |
|
Pull requests
138
| https://github.com/googleapis/google-cloud-python/pulls |
|
Discussions
| https://github.com/googleapis/google-cloud-python/discussions |
|
Actions
| https://github.com/googleapis/google-cloud-python/actions |
|
Projects
| https://github.com/googleapis/google-cloud-python/projects |
|
Security and quality
0
| https://github.com/googleapis/google-cloud-python/security |
|
Insights
| https://github.com/googleapis/google-cloud-python/pulse |
|
Code
| https://github.com/googleapis/google-cloud-python |
|
Issues
| https://github.com/googleapis/google-cloud-python/issues |
|
Pull requests
| https://github.com/googleapis/google-cloud-python/pulls |
|
Discussions
| https://github.com/googleapis/google-cloud-python/discussions |
|
Actions
| https://github.com/googleapis/google-cloud-python/actions |
|
Projects
| https://github.com/googleapis/google-cloud-python/projects |
|
Security and quality
| https://github.com/googleapis/google-cloud-python/security |
|
Insights
| https://github.com/googleapis/google-cloud-python/pulse |
| plamut | https://github.com/plamut |
| googleapis:master | https://github.com/googleapis/google-cloud-python/tree/master |
| plamut:iss-9382 | https://github.com/plamut/google-cloud-python/tree/iss-9382 |
| Conversation | https://github.com/googleapis/google-cloud-python/pull/9507 |
| Commits1 (1) | https://github.com/googleapis/google-cloud-python/pull/9507/commits |
| Checks | https://github.com/googleapis/google-cloud-python/pull/9507/checks |
| Files changed | https://github.com/googleapis/google-cloud-python/pull/9507/files |
| chore(pubsub): add subscriber role test for streaming | https://github.com/googleapis/google-cloud-python/pull/9507#top |
| plamut | https://github.com/plamut |
| googleapis:master | https://github.com/googleapis/google-cloud-python/tree/master |
| plamut:iss-9382 | https://github.com/plamut/google-cloud-python/tree/iss-9382 |
|
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| Oct 21, 2019 | https://github.com/googleapis/google-cloud-python/pull/9507#issue-509843302 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/9507 |
| #9382 | https://github.com/googleapis/google-cloud-python/issues/9382 |
| #9339 | https://github.com/googleapis/google-cloud-python/issues/9339 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/9507 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
|
testing
| https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3Atesting |
|
api: pubsub
| https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20pubsub%22 |
|
type: process
| https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20process%22 |
| Oct 21, 2019 | https://github.com/googleapis/google-cloud-python/pull/9507#event-2728957465 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| anguillanneuf | https://github.com/anguillanneuf |
| pradn | https://github.com/pradn |
| code owners | https://github.com/googleapis/google-cloud-python/blob/8c3b6528f6d868677192cb8eaba8265bf1c888f7/.github/CODEOWNERS#L41 |
| October 21, 2019 09:30 | https://github.com/googleapis/google-cloud-python/pull/9507#event-2728957481 |
| https://github.com/googlebot |
| googlebot | https://github.com/googlebot |
|
cla: yes
| https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22cla%3A%20yes%22 |
| Oct 21, 2019 | https://github.com/googleapis/google-cloud-python/pull/9507#event-2728957658 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
|
Oct 21, 2019
| https://github.com/googleapis/google-cloud-python/pull/9507#pullrequestreview-304435143 |
|
View reviewed changes
| https://github.com/googleapis/google-cloud-python/pull/9507/files |
| pubsub/tests/system.py | https://github.com/googleapis/google-cloud-python/pull/9507/files#diff-883c08da996624b35f0bb3ba108f8745a3b9caa97bcc28b4ab91f1d9009a6c4b |
| plamut | https://github.com/plamut |
| Oct 21, 2019 | https://github.com/googleapis/google-cloud-python/pull/9507#discussion_r336920021 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @busunkim96 | https://github.com/busunkim96 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/9507 |
| busunkim96 | https://github.com/busunkim96 |
| Oct 22, 2019 | https://github.com/googleapis/google-cloud-python/pull/9507#discussion_r337781952 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://github.com/googleapis/google-cloud-python/blob/master/.kokoro/build.sh | https://github.com/googleapis/google-cloud-python/blob/master/.kokoro/build.sh |
| https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials#sa-credentials-permissions | https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials#sa-credentials-permissions |
| https://google-auth.readthedocs.io/en/latest/reference/google.auth.impersonated_credentials.html#module-google.auth.impersonated_credentials | https://google-auth.readthedocs.io/en/latest/reference/google.auth.impersonated_credentials.html#module-google.auth.impersonated_credentials |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/9507 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| force-pushed | https://github.com/googleapis/google-cloud-python/compare/4b7fdd7786b7db35eb843397ee7c7a701ef4aa52..cc4978f9f6bc8dd99ed83bdc58dcadd1628110d6 |
| 4b7fdd7 | https://github.com/googleapis/google-cloud-python/commit/4b7fdd7786b7db35eb843397ee7c7a701ef4aa52 |
| cc4978f | https://github.com/googleapis/google-cloud-python/commit/cc4978f9f6bc8dd99ed83bdc58dcadd1628110d6 |
|
Compare
| https://github.com/googleapis/google-cloud-python/compare/4b7fdd7786b7db35eb843397ee7c7a701ef4aa52..cc4978f9f6bc8dd99ed83bdc58dcadd1628110d6 |
| October 29, 2019 11:18 | https://github.com/googleapis/google-cloud-python/pull/9507#event-2751742457 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
|
do not merge
| https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22do%20not%20merge%22 |
| Oct 29, 2019 | https://github.com/googleapis/google-cloud-python/pull/9507#event-2751742999 |
|
| https://github.com/plamut |
| chore(pubsub): add subscriber role test for streaming | https://github.com/googleapis/google-cloud-python/pull/9507/commits/80f051a8ee7bd8143e6266c143353f61e77aa0f6 |
| 80f051a | https://github.com/googleapis/google-cloud-python/pull/9507/commits/80f051a8ee7bd8143e6266c143353f61e77aa0f6 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| force-pushed | https://github.com/googleapis/google-cloud-python/compare/626e057975722c9a4ff4c18661ca3aff4aa8fba5..80f051a8ee7bd8143e6266c143353f61e77aa0f6 |
| 626e057 | https://github.com/googleapis/google-cloud-python/commit/626e057975722c9a4ff4c18661ca3aff4aa8fba5 |
| 80f051a | https://github.com/googleapis/google-cloud-python/commit/80f051a8ee7bd8143e6266c143353f61e77aa0f6 |
|
Compare
| https://github.com/googleapis/google-cloud-python/compare/626e057975722c9a4ff4c18661ca3aff4aa8fba5..80f051a8ee7bd8143e6266c143353f61e77aa0f6 |
| October 29, 2019 11:55 | https://github.com/googleapis/google-cloud-python/pull/9507#event-2751844257 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| Oct 29, 2019 | https://github.com/googleapis/google-cloud-python/pull/9507#issuecomment-547387258 |
| #9339 | https://github.com/googleapis/google-cloud-python/issues/9339 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/9507 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
|
do not merge
| https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22do%20not%20merge%22 |
| Oct 29, 2019 | https://github.com/googleapis/google-cloud-python/pull/9507#event-2751863250 |
| https://github.com/hongalex |
| hongalex | https://github.com/hongalex |
| busunkim96 | https://github.com/busunkim96 |
| October 31, 2019 17:48 | https://github.com/googleapis/google-cloud-python/pull/9507#event-2760817690 |
| https://github.com/busunkim96 |
| busunkim96 | https://github.com/busunkim96 |
|
Oct 31, 2019
| https://github.com/googleapis/google-cloud-python/pull/9507#pullrequestreview-310093700 |
|
View reviewed changes
| https://github.com/googleapis/google-cloud-python/pull/9507/files/80f051a8ee7bd8143e6266c143353f61e77aa0f6 |
| https://github.com/pradn |
| pradn | https://github.com/pradn |
|
Oct 31, 2019
| https://github.com/googleapis/google-cloud-python/pull/9507#pullrequestreview-310158896 |
|
View reviewed changes
| https://github.com/googleapis/google-cloud-python/pull/9507/files/80f051a8ee7bd8143e6266c143353f61e77aa0f6 |
| pradn | https://github.com/pradn |
| https://github.com/googleapis/google-cloud-python/pull/9507#pullrequestreview-310158896 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/9507 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| Oct 31, 2019 | https://github.com/googleapis/google-cloud-python/pull/9507#issuecomment-548552871 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/9507 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| df185b9 | https://github.com/googleapis/google-cloud-python/commit/df185b9129cf38e2a48927a62e9d2e255cc5f115 |
| Oct 31, 2019 | https://github.com/googleapis/google-cloud-python/pull/9507#event-2761297442 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| October 31, 2019 20:31 | https://github.com/googleapis/google-cloud-python/pull/9507#event-2761321242 |
| https://github.com/yoshi-automation |
| yoshi-automation | https://github.com/yoshi-automation |
|
Jan 29, 2020
| https://github.com/googleapis/google-cloud-python/pull/9507#ref-pullrequest-556855852 |
|
chore(bigquery): bump copyright year to 2020, tweak docstring formatting (via synth)
#10225
| https://github.com/googleapis/google-cloud-python/pull/10225 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
|
Jan 31, 2020
| https://github.com/googleapis/google-cloud-python/pull/9507#ref-issue-558132296 |
|
PubSub: Add more system tests covering various RBAC-related scenarios
googleapis/python-pubsub#8
| https://github.com/googleapis/python-pubsub/issues/8 |
| parthea | https://github.com/parthea |
|
Mar 2, 2026
| https://github.com/googleapis/google-cloud-python/pull/9507#ref-commit-2f32157 |
|
| https://github.com/plamut |
| chore(pubsub): add subscriber role test for streaming ( | https://github.com/googleapis/google-cloud-python/commit/2f321577df87cc1355ad4e9b1fb156eb37aae7a4 |
| #9507 | https://github.com/googleapis/google-cloud-python/pull/9507 |
| ) | https://github.com/googleapis/google-cloud-python/commit/2f321577df87cc1355ad4e9b1fb156eb37aae7a4 |
| 2f32157 | https://github.com/googleapis/google-cloud-python/commit/2f321577df87cc1355ad4e9b1fb156eb37aae7a4 |
| https://github.co/hiddenchars |
| https://github.com/googleapis/google-cloud-python/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F9507 |
|
| https://github.com/pradn |
|
pradn
| https://github.com/pradn |
|
| https://github.com/googleapis/google-cloud-python/pull/9507/files/80f051a8ee7bd8143e6266c143353f61e77aa0f6 |
|
| https://github.com/anguillanneuf |
|
anguillanneuf
| https://github.com/anguillanneuf |
|
| https://github.com/busunkim96 |
|
busunkim96
| https://github.com/busunkim96 |
|
| https://github.com/googleapis/google-cloud-python/pull/9507/files/80f051a8ee7bd8143e6266c143353f61e77aa0f6 |
|
api: pubsub
| https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20pubsub%22 |
|
cla: yes
| https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22cla%3A%20yes%22 |
|
testing
| https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3Atesting |
|
type: process
| https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20process%22 |
|
PubSub: Add system test for streaming pull using an account with pubsub.subscriber role
| https://github.com/googleapis/google-cloud-python/issues/9382 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/9507 |
|
| https://github.com/plamut |
|
| https://github.com/pradn |
|
| https://github.com/busunkim96 |
|
| https://github.com/googlebot |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |