René's URL Explorer Experiment


Title: feat(generator): gapic generator centralization mtls by hebaalazzeh · Pull Request #17818 · googleapis/google-cloud-python · GitHub

Open Graph Title: feat(generator): gapic generator centralization mtls by hebaalazzeh · Pull Request #17818 · googleapis/google-cloud-python

X Title: feat(generator): gapic generator centralization mtls by hebaalazzeh · Pull Request #17818 · googleapis/google-cloud-python

Description: Google Cloud Client Libraries for Python. Contribute to googleapis/google-cloud-python development by creating an account on GitHub.

Open Graph Description: This PR updates the generator templates to rely on the centralized MTLS fallback logic from google-api-core. Since the MTLS helpers (use_client_cert_effective, get_client_cert_source, read_environm...

X Description: This PR updates the generator templates to rely on the centralized MTLS fallback logic from google-api-core. Since the MTLS helpers (use_client_cert_effective, get_client_cert_source, read_environm...

Opengraph URL: https://github.com/googleapis/google-cloud-python/pull/17818

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d43f17d7-4600-03aa-5f12-f2ebf3a8b664
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id85E4:28841B:63C55D:88E04A:6AFDEB10
html-safe-nonce75146ec6f55501da1f665ad5d877a7cde4508722bcaeca2894f80d2c4296810a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUU0OjI4ODQxQjo2M0M1NUQ6ODhFMDRBOjZBRkRFQjEwIiwidmlzaXRvcl9pZCI6IjM2MTAzODg3MTUyNzQxMDM1NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac56e38baba34363aeda2b05a767a89beea5def3dfd2e478a22113ce2014f12c3f
hovercard-subject-tagpull_request:4103391190
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/googleapis/google-cloud-python/17818/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4a788e326c9abfe23dae20328d6ac48ff2a54f9f4bdd028d028cb386567007e2/googleapis/google-cloud-python/pull/17818
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4a788e326c9abfe23dae20328d6ac48ff2a54f9f4bdd028d028cb386567007e2/googleapis/google-cloud-python/pull/17818
og:image:altThis PR updates the generator templates to rely on the centralized MTLS fallback logic from google-api-core. Since the MTLS helpers (use_client_cert_effective, get_client_cert_source, read_environm...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehebaalazzeh
hostnamegithub.com
expected-hostnamegithub.com
Nonedd812ec581ecac95855f5ec917ef9827506c39a9da1443f43ddb4179a46471eb
turbo-cache-controlno-cache
go-importgithub.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id16316451
octolytics-dimension-repository_nwogoogleapis/google-cloud-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16316451
octolytics-dimension-repository_network_root_nwogoogleapis/google-cloud-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release32ac708bac264dafdc28e10ff49b4d137f0c34a7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/pull/17818#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F17818
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F17818
Sign uphttps://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
Reloadhttps://github.com/googleapis/google-cloud-python/pull/17818
Reloadhttps://github.com/googleapis/google-cloud-python/pull/17818
Reloadhttps://github.com/googleapis/google-cloud-python/pull/17818
googleapishttps://github.com/googleapis
google-cloud-pythonhttps://github.com/googleapis/google-cloud-python
Codehttps://github.com/googleapis/google-cloud-python
Issues448 (448)https://github.com/googleapis/google-cloud-python/issues
Pull requests199 (199)https://github.com/googleapis/google-cloud-python/pulls
Discussionshttps://github.com/googleapis/google-cloud-python/discussions
Actionshttps://github.com/googleapis/google-cloud-python/actions
Projectshttps://github.com/googleapis/google-cloud-python/projects
Security and qualityhttps://github.com/googleapis/google-cloud-python/security
Insightshttps://github.com/googleapis/google-cloud-python/insights
https://github.com/googleapis/google-cloud-python
hebaalazzehhttps://github.com/hebaalazzeh
feat/api-core-centralize-mtlshttps://github.com/googleapis/google-cloud-python/tree/feat/api-core-centralize-mtls
feat/gapic-generator-centralization-mtlshttps://github.com/googleapis/google-cloud-python/tree/feat/gapic-generator-centralization-mtls
Conversationhttps://github.com/googleapis/google-cloud-python/pull/17818
Commits6 (6)https://github.com/googleapis/google-cloud-python/pull/17818/commits
Checkshttps://github.com/googleapis/google-cloud-python/pull/17818/checks
Files changedhttps://github.com/googleapis/google-cloud-python/pull/17818/files
feat(generator): gapic generator centralization mtlshttps://github.com/googleapis/google-cloud-python/pull/17818#top
hebaalazzehhttps://github.com/hebaalazzeh
feat/api-core-centralize-mtlshttps://github.com/googleapis/google-cloud-python/tree/feat/api-core-centralize-mtls
feat/gapic-generator-centralization-mtlshttps://github.com/googleapis/google-cloud-python/tree/feat/gapic-generator-centralization-mtls
https://github.com/hebaalazzeh
hebaalazzehhttps://github.com/hebaalazzeh
Jul 21, 2026https://github.com/googleapis/google-cloud-python/pull/17818#issue-4943320270
#17817https://github.com/googleapis/google-cloud-python/pull/17817
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17818
hebaalazzehhttps://github.com/hebaalazzeh
July 21, 2026 16:31https://github.com/googleapis/google-cloud-python/pull/17818#commits-pushed-b47cd25
https://github.com/hebaalazzeh
chore(generator): gapic generator centralization mtlshttps://github.com/googleapis/google-cloud-python/pull/17818/commits/b47cd25ad829c3046af6939d117ef44b68a8e700
b47cd25https://github.com/googleapis/google-cloud-python/pull/17818/commits/b47cd25ad829c3046af6939d117ef44b68a8e700
https://github.com/hebaalazzeh
fix(generator): import mtls functions from gapic_v1.config instead of…https://github.com/googleapis/google-cloud-python/pull/17818/commits/3eb75b1cea399c06f6061051733885d0a335179e
3eb75b1https://github.com/googleapis/google-cloud-python/pull/17818/commits/3eb75b1cea399c06f6061051733885d0a335179e
https://github.com/apps/gemini-code-assist
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Jul 21, 2026 https://github.com/googleapis/google-cloud-python/pull/17818#pullrequestreview-4749259559
View reviewed changes https://github.com/googleapis/google-cloud-python/pull/17818/files/3eb75b1cea399c06f6061051733885d0a335179e
gemini-code-assisthttps://github.com/apps/gemini-code-assist
https://github.com/googleapis/google-cloud-python/pull/17818#pullrequestreview-4749259559
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17818
...ic-generator/tests/integration/goldens/asset/tests/unit/gapic/asset_v1/test_asset_service.pyhttps://github.com/googleapis/google-cloud-python/pull/17818/files/3eb75b1cea399c06f6061051733885d0a335179e#diff-de8f3ec17baf6352e26bbd073a537b39646dc23b678e7e709aed6551aeb25104
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17818
...ges/gapic-generator/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2https://github.com/googleapis/google-cloud-python/pull/17818/files/3eb75b1cea399c06f6061051733885d0a335179e#diff-2b83b580eb876eb891b11d0c6e16d07332d809765b092c31d96ab40a977bf3b2
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17818
hebaalazzehhttps://github.com/hebaalazzeh
July 21, 2026 14:52https://github.com/googleapis/google-cloud-python/pull/17818#commits-pushed-a128ce5
https://github.com/hebaalazzeh
Merge branch 'feat/api-core-centralize-mtls' into feat/gapic-generato…https://github.com/googleapis/google-cloud-python/pull/17818/commits/a128ce5880c6469e93642ede926faaef9df399eb
a128ce5https://github.com/googleapis/google-cloud-python/pull/17818/commits/a128ce5880c6469e93642ede926faaef9df399eb
https://github.com/hebaalazzeh
fix(generator): update hasattr check to use mtls directly and update …https://github.com/googleapis/google-cloud-python/pull/17818/commits/405ca3f3dc810f6531c11c39f94f456259ebe12e
405ca3fhttps://github.com/googleapis/google-cloud-python/pull/17818/commits/405ca3f3dc810f6531c11c39f94f456259ebe12e
https://github.com/hebaalazzeh
hebaalazzehhttps://github.com/hebaalazzeh
July 21, 2026 22:21https://github.com/googleapis/google-cloud-python/pull/17818#event-28295487203
https://github.com/hebaalazzeh
hebaalazzehhttps://github.com/hebaalazzeh
code ownerhttps://github.com/googleapis/google-cloud-python/blob/2c0b579ead5aa6346a8052fafd136e181cd3e715/.github/CODEOWNERS#L29
July 21, 2026 22:22https://github.com/googleapis/google-cloud-python/pull/17818#event-28295487470
https://github.com/hebaalazzeh
hebaalazzehhttps://github.com/hebaalazzeh
Jul 21, 2026https://github.com/googleapis/google-cloud-python/pull/17818#event-28295488985
https://github.com/hebaalazzeh
fix(generator): use unified _compat.py.j2 and remove downstream testshttps://github.com/googleapis/google-cloud-python/pull/17818/commits/3cc6389dfba42223fa73d959756dfeb9aac0c484
3cc6389https://github.com/googleapis/google-cloud-python/pull/17818/commits/3cc6389dfba42223fa73d959756dfeb9aac0c484
https://github.com/hebaalazzeh
hebaalazzehhttps://github.com/hebaalazzeh
force-pushedhttps://github.com/googleapis/google-cloud-python/compare/1d81ba92193027774748ff2b8b5fe3006ed82a30..3cc6389dfba42223fa73d959756dfeb9aac0c484
1d81ba9https://github.com/googleapis/google-cloud-python/commit/1d81ba92193027774748ff2b8b5fe3006ed82a30
3cc6389https://github.com/googleapis/google-cloud-python/commit/3cc6389dfba42223fa73d959756dfeb9aac0c484
Compare https://github.com/googleapis/google-cloud-python/compare/1d81ba92193027774748ff2b8b5fe3006ed82a30..3cc6389dfba42223fa73d959756dfeb9aac0c484
July 21, 2026 23:14https://github.com/googleapis/google-cloud-python/pull/17818#event-28297079649
https://github.com/hebaalazzeh
fix(generator): install local google-api-core in nox test sessionshttps://github.com/googleapis/google-cloud-python/pull/17818/commits/b6ff350e82acb4b6585a9b615e50fa9a36f70ba3
b6ff350https://github.com/googleapis/google-cloud-python/pull/17818/commits/b6ff350e82acb4b6585a9b615e50fa9a36f70ba3
https://github.com/hebaalazzeh
hebaalazzehhttps://github.com/hebaalazzeh
Jul 22, 2026https://github.com/googleapis/google-cloud-python/pull/17818#issuecomment-5050231298
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17818
https://github.com/apps/gemini-code-assist
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Jul 22, 2026 https://github.com/googleapis/google-cloud-python/pull/17818#pullrequestreview-4757792861
View reviewed changes https://github.com/googleapis/google-cloud-python/pull/17818/files/b6ff350e82acb4b6585a9b615e50fa9a36f70ba3
gemini-code-assisthttps://github.com/apps/gemini-code-assist
https://github.com/googleapis/google-cloud-python/pull/17818#pullrequestreview-4757792861
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17818
packages/gapic-generator/gapic/templates/%namespace/%name_%version/%sub/_compat.py.j2https://github.com/googleapis/google-cloud-python/pull/17818/files/b6ff350e82acb4b6585a9b615e50fa9a36f70ba3#diff-f1aa9dc781bda5f806de8740e9f6cb64dcb9b0566e41c0785b9457f77014dfb0
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Jul 22, 2026https://github.com/googleapis/google-cloud-python/pull/17818#discussion_r3633013570
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/f9141739e81c5065c5f99ee945037104c1ba6def9f166570e17368344f990bdd/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f686967682d7072696f726974792e737667
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17818
...ges/gapic-generator/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2https://github.com/googleapis/google-cloud-python/pull/17818/files/b6ff350e82acb4b6585a9b615e50fa9a36f70ba3#diff-2b83b580eb876eb891b11d0c6e16d07332d809765b092c31d96ab40a977bf3b2
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Jul 22, 2026https://github.com/googleapis/google-cloud-python/pull/17818#discussion_r3633013575
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/508ba0af8fcc5b69c2f7fd05896fc39957428ba34e1b99c6508db43cf217da8d/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f6d656469756d2d7072696f726974792e737667
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17818
https://github.com/parthea
partheahttps://github.com/parthea
July 23, 2026 17:21https://github.com/googleapis/google-cloud-python/pull/17818#event-28395694630
https://github.com/hebaalazzeh
hebaalazzehhttps://github.com/hebaalazzeh
Aug 11, 2026https://github.com/googleapis/google-cloud-python/pull/17818#event-29262891032
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F17818
https://github.com/apps/gemini-code-assist
gemini-code-assist[bot] https://github.com/apps/gemini-code-assist
https://github.com/googleapis/google-cloud-python/pull/17818/files/b6ff350e82acb4b6585a9b615e50fa9a36f70ba3
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17818
https://github.com/hebaalazzeh
hebaalazzeh https://github.com/hebaalazzeh
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17818
https://github.com/hebaalazzeh
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.