Skip to content

[DRAFT] feat(runtimeconfig): support custom universe domains in Client and Connection - #19233

Draft
daniel-sanche wants to merge 2 commits into
python_bug_burndown_track_five_google-cloud-dns_02_universe-domainfrom
python_bug_burndown_track_five_google-cloud-runtimeconfig_03_universe-domain
Draft

daniel-sanche wants to merge 2 commits into
python_bug_burndown_track_five_google-cloud-dns_02_universe-domainfrom
python_bug_burndown_track_five_google-cloud-runtimeconfig_03_universe-domain

Conversation

@daniel-sanche

@daniel-sanche daniel-sanche commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Adds custom universe domain support to google-cloud-runtimeconfig using the shared Client and JSONConnection helpers in google-cloud-core:

  • Resolves universe_domain from client_options or GOOGLE_CLOUD_UNIVERSE_DOMAIN and validates credential universe compatibility on runtimeconfig.Client initialization.
  • Templates default Cloud RuntimeConfig endpoints as https://runtimeconfig.{universe_domain} while preserving explicit api_endpoint overrides.
  • Bumps the google-cloud-core dependency floor to >= 2.9.0, < 3.0.0.
    • Allows us to use the new universe domain resolution and credential protections in google-cloud-core.
    • Diamond dependencies are less of a concern for google-cloud-core since it is pure Python, doesn't raise transitive floors, and has a much smaller footprint than google-api-core, google-auth, or grpcio.

Blocked on release of google-cloud-core v2.9.0

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for custom universe domains to the google-cloud-runtimeconfig library. Key changes include updating the Connection and Client classes to support and validate universe domains, bumping the minimum required version of google-cloud-core to 2.9.0, and adding a new suite of unit tests to verify universe domain routing and validation behavior. I have no feedback to provide as there are no review comments.

@chalmerlowe

Copy link
Copy Markdown
Contributor

@daniel-sanche

SYNC WARNING:

See this comment in #19231 regarding some possible areas to sync up.

@daniel-sanche
daniel-sanche force-pushed the python_bug_burndown_track_five_google-cloud-runtimeconfig_03_universe-domain branch from 02bc6cb to f8b73ef Compare November 30, 2026 19:15
@daniel-sanche
daniel-sanche force-pushed the python_bug_burndown_track_five_google-cloud-runtimeconfig_03_universe-domain branch from 220d774 to f142c7f Compare November 30, 2026 20:39

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants