René's URL Explorer Experiment


Title: feat(api-core): centralize endpoint routing and universe domain resolution by hebaalazzeh · Pull Request #17745 · googleapis/google-cloud-python · GitHub

Open Graph Title: feat(api-core): centralize endpoint routing and universe domain resolution by hebaalazzeh · Pull Request #17745 · googleapis/google-cloud-python

X Title: feat(api-core): centralize endpoint routing and universe domain resolution by hebaalazzeh · Pull Request #17745 · googleapis/google-cloud-python

Description: Description Centralizes generic routing, mTLS, and universe domain resolution helpers under google.api_core.universe (and exposes them via google.api_core.gapic_v1.client_utils). Exposes get_api_endpoint, get_default_mtls_endpoint, and get_universe_domain as public API helpers to be used by newly generated clients. The unit tests added in test_client_utils.py are identical to the generator's original routing test cases in test_service.py.j2 (namely test__get_api_endpoint and test__get_universe_domain), modified only to call the public helpers directly: test__get_api_endpoint maps to the new get_api_endpoint helper. test__get_universe_domain maps to the new get_universe_domain helper. Generated client libraries fall back to local implementations via a _compat.py helper module if run against older versions of google-api-core that lack these centralized functions.

Open Graph Description: Description Centralizes generic routing, mTLS, and universe domain resolution helpers under google.api_core.universe (and exposes them via google.api_core.gapic_v1.client_utils). Exposes get_api_en...

X Description: Description Centralizes generic routing, mTLS, and universe domain resolution helpers under google.api_core.universe (and exposes them via google.api_core.gapic_v1.client_utils). Exposes get_api_en...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:69733568-60aa-76b4-a0af-57e08b1939cb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id81B8:36768A:10FF2A:18265C:6AFDF8D6
html-safe-noncec70c2e3bfdcfd6713c1c2f0133cb276bcd5b15df3e6bdd24c1db270471daae75
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUI4OjM2NzY4QToxMEZGMkE6MTgyNjVDOjZBRkRGOEQ2IiwidmlzaXRvcl9pZCI6IjE3MzgyMTk0NzYwMzkzNjY4NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac03253caadabda04692550e5a9160059c85082b3c7076d00892594c7afce8f548
hovercard-subject-tagpull_request:4071324505
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/googleapis/google-cloud-python/pull/17745/files
twitter:imagehttps://avatars.githubusercontent.com/u/137334116?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/137334116?s=400&v=4
og:image:altDescription Centralizes generic routing, mTLS, and universe domain resolution helpers under google.api_core.universe (and exposes them via google.api_core.gapic_v1.client_utils). Exposes get_api_en...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneee3343385a977757dd145b28fabf4a119780f2615a5a36c5a89f66c9b3b5616d
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release43ae91995f6e2d5ff7a491f3de438f1f723adeaa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/pull/17745/changes#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F17745%2Ffiles
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%2F17745%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=googleapis%2Fgoogle-cloud-python
Reloadhttps://github.com/googleapis/google-cloud-python/pull/17745/changes
Reloadhttps://github.com/googleapis/google-cloud-python/pull/17745/changes
Reloadhttps://github.com/googleapis/google-cloud-python/pull/17745/changes
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
Sign up for GitHub https://github.com/signup?return_to=%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2Fnew%2Fchoose
hebaalazzehhttps://github.com/hebaalazzeh
mainhttps://github.com/googleapis/google-cloud-python/tree/main
feat/gapic-centralization-api-core-routinghttps://github.com/googleapis/google-cloud-python/tree/feat/gapic-centralization-api-core-routing
Conversation 56 https://github.com/googleapis/google-cloud-python/pull/17745
Commits 2 https://github.com/googleapis/google-cloud-python/pull/17745/commits
Checks 32 https://github.com/googleapis/google-cloud-python/pull/17745/checks
Files changed https://github.com/googleapis/google-cloud-python/pull/17745/files
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17745/changes
feat(api-core): centralize endpoint routing and universe domain resolution https://github.com/googleapis/google-cloud-python/pull/17745/changes#top
Show all changes 2 commits https://github.com/googleapis/google-cloud-python/pull/17745/files
016d00e feat(api-core): centralize endpoint routing and universe domain resol… hebaalazzeh Jul 21, 2026 https://github.com/googleapis/google-cloud-python/pull/17745/commits/016d00ea3bf2f67dbedaf350a5fda74062e21f45
417133d chore: address review comments hebaalazzeh Jul 21, 2026 https://github.com/googleapis/google-cloud-python/pull/17745/commits/417133d2a24295099fe06b7308cf1d8f8cf8d496
Clear filters https://github.com/googleapis/google-cloud-python/pull/17745/files
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17745/changes
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17745/changes
__init__.py https://github.com/googleapis/google-cloud-python/pull/17745/changes#diff-8f58ea3e08fa219e248b2ee0a9e4085cef2e28f77968ee84653b88a104827f2e
conftest.py https://github.com/googleapis/google-cloud-python/pull/17745/changes#diff-83ab40bba91ffae654d3ddcad26e65c6d1b410624129c22913f99fa2e6d3fe2f
https://github.com/googleapis/google-cloud-python/blob/main/.github/CODEOWNERS#L29
packages/google-api-core/google/api_core/gapic_v1/__init__.pyhttps://github.com/googleapis/google-cloud-python/pull/17745/changes#diff-8f58ea3e08fa219e248b2ee0a9e4085cef2e28f77968ee84653b88a104827f2e
View file https://github.com/googleapis/google-cloud-python/blob/417133d2a24295099fe06b7308cf1d8f8cf8d496/packages/google-api-core/google/api_core/gapic_v1/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/17745/{{ revealButtonHref }}
https://github.com/googleapis/google-cloud-python/pull/17745/changes#diff-8f58ea3e08fa219e248b2ee0a9e4085cef2e28f77968ee84653b88a104827f2e
https://github.com/googleapis/google-cloud-python/pull/17745/changes#diff-8f58ea3e08fa219e248b2ee0a9e4085cef2e28f77968ee84653b88a104827f2e
https://github.com/googleapis/google-cloud-python/blob/main/.github/CODEOWNERS#L29
packages/google-api-core/tests/conftest.pyhttps://github.com/googleapis/google-cloud-python/pull/17745/changes#diff-83ab40bba91ffae654d3ddcad26e65c6d1b410624129c22913f99fa2e6d3fe2f
View file https://github.com/googleapis/google-cloud-python/blob/417133d2a24295099fe06b7308cf1d8f8cf8d496/packages/google-api-core/tests/conftest.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/17745/{{ revealButtonHref }}
daniel-sanchehttps://github.com/daniel-sanche
Jul 21, 2026https://github.com/googleapis/google-cloud-python/pull/17745/changes#r3625563222
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17745/changes
hebaalazzehhttps://github.com/hebaalazzeh
Jul 21, 2026https://github.com/googleapis/google-cloud-python/pull/17745/changes#r3625599840
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17745/changes
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/17745/changes
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.