| 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:610028cd-a281-0689-e9d7-4bbbe172579a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9E9A:1ECB:2693490:35ACD6D:6A5029AF |
| html-safe-nonce | 997afd2188afcf16c3c3e49f530e9f716a9174e49fcfaaffce9b1124cd837fa7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTlBOjFFQ0I6MjY5MzQ5MDozNUFDRDZEOjZBNTAyOUFGIiwidmlzaXRvcl9pZCI6IjMwODA4MDc3MjQyNjg2NjExNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 222fe5cbc1dcf60785e4259bbbe7d84219cef3ff3f8446aedb7c7f1751b6e6cb |
| hovercard-subject-tag | pull_request:137112370 |
| 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/3856/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/300592a96ea1a290f82b073db16f1705aa2d88bc8fdfdfb710be464411253a85/googleapis/google-cloud-python/pull/3856 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/300592a96ea1a290f82b073db16f1705aa2d88bc8fdfdfb710be464411253a85/googleapis/google-cloud-python/pull/3856 |
| og:image:alt | For #3622. This fixes the get_default_handler() method to let it return the ContainerEngineHandler when in GKE environment using the cluster_name attribute from the metadata server. If this attribu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | liyanhui1228 |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| 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 | d90666eaf032b7eb8975a378efe38e37f4ebb96c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/googleapis/google-cloud-python/pull/3856#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F3856 |
| 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%2F3856 |
|
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/3856 |
| Reload | https://github.com/googleapis/google-cloud-python/pull/3856 |
| Reload | https://github.com/googleapis/google-cloud-python/pull/3856 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/3856 |
|
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
444
| https://github.com/googleapis/google-cloud-python/issues |
|
Pull requests
137
| 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 |
| theacodes | https://github.com/theacodes |
| googleapis:master | https://github.com/googleapis/google-cloud-python/tree/master |
| liyanhui1228:gke-logging | https://github.com/liyanhui1228/google-cloud-python/tree/gke-logging |
| Conversation | https://github.com/googleapis/google-cloud-python/pull/3856 |
| Commits6 (6) | https://github.com/googleapis/google-cloud-python/pull/3856/commits |
| Checks | https://github.com/googleapis/google-cloud-python/pull/3856/checks |
| Files changed | https://github.com/googleapis/google-cloud-python/pull/3856/files |
| Use metadata server to detect GKE environment | https://github.com/googleapis/google-cloud-python/pull/3856#top |
| theacodes | https://github.com/theacodes |
| googleapis:master | https://github.com/googleapis/google-cloud-python/tree/master |
| liyanhui1228:gke-logging | https://github.com/liyanhui1228/google-cloud-python/tree/gke-logging |
|
| https://github.com/liyanhui1228 |
| liyanhui1228 | https://github.com/liyanhui1228 |
| Aug 23, 2017 | https://github.com/googleapis/google-cloud-python/pull/3856#issue-252133218 |
| #3622 | https://github.com/googleapis/google-cloud-python/issues/3622 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/3856 |
|
| https://github.com/liyanhui1228 |
| Use metadata server to detect GKE environment | https://github.com/googleapis/google-cloud-python/pull/3856/commits/7c3a4e7e528bcc39b622496415b4c5d039bc20d3 |
| 7c3a4e7 | https://github.com/googleapis/google-cloud-python/pull/3856/commits/7c3a4e7e528bcc39b622496415b4c5d039bc20d3 |
| https://github.com/liyanhui1228 |
| liyanhui1228 | https://github.com/liyanhui1228 |
|
api: logging
| https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20logging%22 |
| Aug 23, 2017 | https://github.com/googleapis/google-cloud-python/pull/3856#event-1216981815 |
| https://github.com/liyanhui1228 |
| liyanhui1228 | https://github.com/liyanhui1228 |
| dhermes | https://github.com/dhermes |
| duggelz | https://github.com/duggelz |
| lukesneeringer | https://github.com/lukesneeringer |
| theacodes | https://github.com/theacodes |
| August 23, 2017 01:24 | https://github.com/googleapis/google-cloud-python/pull/3856#event-1216981816 |
| 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 |
| Aug 23, 2017 | https://github.com/googleapis/google-cloud-python/pull/3856#event-1216981865 |
| https://github.com/lukesneeringer |
| lukesneeringer | https://github.com/lukesneeringer |
|
Aug 23, 2017
| https://github.com/googleapis/google-cloud-python/pull/3856#pullrequestreview-57967110 |
|
View reviewed changes
| https://github.com/googleapis/google-cloud-python/pull/3856/files/7c3a4e7e528bcc39b622496415b4c5d039bc20d3 |
| https://github.com/theacodes |
| theacodes | https://github.com/theacodes |
|
Aug 23, 2017
| https://github.com/googleapis/google-cloud-python/pull/3856#pullrequestreview-58135260 |
|
View reviewed changes
| https://github.com/googleapis/google-cloud-python/pull/3856/files/7c3a4e7e528bcc39b622496415b4c5d039bc20d3 |
| logging/google/cloud/logging/_helpers.py | https://github.com/googleapis/google-cloud-python/pull/3856/files/7c3a4e7e528bcc39b622496415b4c5d039bc20d3#diff-1b8b551427876e50d2b08eef082eb8dd775ae1194f2a82527a76b1781c6dfa70 |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F3856 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/3856 |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F3856 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/3856 |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F3856 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/3856 |
| liyanhui1228 | https://github.com/liyanhui1228 |
| August 23, 2017 12:24 | https://github.com/googleapis/google-cloud-python/pull/3856#commits-pushed-70a4ffb |
|
| https://github.com/liyanhui1228 |
| Use raise_for_status to throw exception when request failed | https://github.com/googleapis/google-cloud-python/pull/3856/commits/70a4ffbd9d3eb2617b86df51445500660fdd203d |
| 70a4ffb | https://github.com/googleapis/google-cloud-python/pull/3856/commits/70a4ffbd9d3eb2617b86df51445500660fdd203d |
|
| https://github.com/liyanhui1228 |
| Only return response when status_code is 200 | https://github.com/googleapis/google-cloud-python/pull/3856/commits/dacba18dd88d7df3e47becaa08d282c23f125367 |
| dacba18 | https://github.com/googleapis/google-cloud-python/pull/3856/commits/dacba18dd88d7df3e47becaa08d282c23f125367 |
|
| https://github.com/liyanhui1228 |
| Fix stuff | https://github.com/googleapis/google-cloud-python/pull/3856/commits/67a48dcdc19d6a3a285bd69c0e696a8beb8c53c8 |
| 67a48dc | https://github.com/googleapis/google-cloud-python/pull/3856/commits/67a48dcdc19d6a3a285bd69c0e696a8beb8c53c8 |
|
| https://github.com/liyanhui1228 |
| Remove unused comments | https://github.com/googleapis/google-cloud-python/pull/3856/commits/b79d6b945f7f0bf8eeb6c9d9b838355a74bf5dca |
| b79d6b9 | https://github.com/googleapis/google-cloud-python/pull/3856/commits/b79d6b945f7f0bf8eeb6c9d9b838355a74bf5dca |
| https://github.com/duggelz |
| duggelz | https://github.com/duggelz |
|
Aug 23, 2017
| https://github.com/googleapis/google-cloud-python/pull/3856#pullrequestreview-58216903 |
|
View reviewed changes
| https://github.com/googleapis/google-cloud-python/pull/3856/files/b79d6b945f7f0bf8eeb6c9d9b838355a74bf5dca |
| logging/google/cloud/logging/_helpers.py | https://github.com/googleapis/google-cloud-python/pull/3856/files/b79d6b945f7f0bf8eeb6c9d9b838355a74bf5dca#diff-1b8b551427876e50d2b08eef082eb8dd775ae1194f2a82527a76b1781c6dfa70 |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F3856 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/3856 |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F3856 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/3856 |
| logging/tests/unit/test__helpers.py | https://github.com/googleapis/google-cloud-python/pull/3856/files/b79d6b945f7f0bf8eeb6c9d9b838355a74bf5dca#diff-bdea4e59b5fb4ea87460e87275e171c4f6add590b22945f11dc07cf04ec526ed |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F3856 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/3856 |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F3856 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/3856 |
|
| https://github.com/liyanhui1228 |
| Address comments | https://github.com/googleapis/google-cloud-python/pull/3856/commits/2b430721b4fdfbe2a5a12167e97d4837beab13be |
| 2b43072 | https://github.com/googleapis/google-cloud-python/pull/3856/commits/2b430721b4fdfbe2a5a12167e97d4837beab13be |
| https://github.com/duggelz |
| duggelz | https://github.com/duggelz |
|
Aug 23, 2017
| https://github.com/googleapis/google-cloud-python/pull/3856#pullrequestreview-58225179 |
|
View reviewed changes
| https://github.com/googleapis/google-cloud-python/pull/3856/files/2b430721b4fdfbe2a5a12167e97d4837beab13be |
| https://github.com/liyanhui1228 |
| liyanhui1228 | https://github.com/liyanhui1228 |
| Aug 23, 2017 | https://github.com/googleapis/google-cloud-python/pull/3856#issuecomment-324472886 |
| @dhermes | https://github.com/dhermes |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/3856 |
| https://github.com/theacodes |
| theacodes | https://github.com/theacodes |
|
Aug 23, 2017
| https://github.com/googleapis/google-cloud-python/pull/3856#pullrequestreview-58227565 |
|
View reviewed changes
| https://github.com/googleapis/google-cloud-python/pull/3856/files/2b430721b4fdfbe2a5a12167e97d4837beab13be |
| https://github.com/theacodes |
| theacodes | https://github.com/theacodes |
| Aug 23, 2017 | https://github.com/googleapis/google-cloud-python/pull/3856#issuecomment-324473832 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/3856 |
| https://github.com/theacodes |
| theacodes | https://github.com/theacodes |
| 0dd7249 | https://github.com/googleapis/google-cloud-python/commit/0dd7249fb5224b721aaa432965aa9ed3df4c5287 |
| Aug 23, 2017 | https://github.com/googleapis/google-cloud-python/pull/3856#event-1218734424 |
| https://github.com/dhermes |
| dhermes | https://github.com/dhermes |
| Aug 23, 2017 | https://github.com/googleapis/google-cloud-python/pull/3856#issuecomment-324486068 |
| @jonparrott | https://github.com/jonparrott |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/3856 |
| https://github.com/dhermes |
| dhermes | https://github.com/dhermes |
|
Aug 24, 2017
| https://github.com/googleapis/google-cloud-python/pull/3856#ref-pullrequest-252727891 |
|
Updating 10 packages after google-cloud-core==0.27.0
#3866
| https://github.com/googleapis/google-cloud-python/pull/3866 |
| parthea | https://github.com/parthea |
|
Nov 24, 2025
| https://github.com/googleapis/google-cloud-python/pull/3856#ref-commit-bfd9442 |
|
| https://github.com/liyanhui1228 |
| Logging: Use metadata server to detect GKE environment ( | https://github.com/googleapis/google-cloud-python/commit/bfd9442099a3168c349a0d269e78839c23d224e3 |
| #3856 | https://github.com/googleapis/google-cloud-python/pull/3856 |
| ) | https://github.com/googleapis/google-cloud-python/commit/bfd9442099a3168c349a0d269e78839c23d224e3 |
| bfd9442 | https://github.com/googleapis/google-cloud-python/commit/bfd9442099a3168c349a0d269e78839c23d224e3 |
| 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%2F3856 |
|
| https://github.com/dhermes |
|
dhermes
| https://github.com/dhermes |
|
| https://github.com/lukesneeringer |
|
lukesneeringer
| https://github.com/lukesneeringer |
|
| https://github.com/googleapis/google-cloud-python/pull/3856/files/7c3a4e7e528bcc39b622496415b4c5d039bc20d3 |
|
| https://github.com/theacodes |
|
theacodes
| https://github.com/theacodes |
|
| https://github.com/googleapis/google-cloud-python/pull/3856/files/2b430721b4fdfbe2a5a12167e97d4837beab13be |
|
| https://github.com/duggelz |
|
duggelz
| https://github.com/duggelz |
|
| https://github.com/googleapis/google-cloud-python/pull/3856/files/2b430721b4fdfbe2a5a12167e97d4837beab13be |
|
api: logging
| https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20logging%22 |
|
cla: yes
| https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22cla%3A%20yes%22 |
| Please reload this page | https://github.com/googleapis/google-cloud-python/pull/3856 |
|
| https://github.com/liyanhui1228 |
|
| https://github.com/theacodes |
|
| https://github.com/dhermes |
|
| https://github.com/lukesneeringer |
|
| https://github.com/duggelz |
|
| 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 |