Skip to content

feat(google/cloud/designcenter/v1): add google-cloud-designcenter - #18894

Merged
sofisl merged 3 commits into
mainfrom
onboard-designcenter-v1
Oct 28, 2026
Merged

sofisl merged 3 commits into
mainfrom
onboard-designcenter-v1

Conversation

@sofisl

@sofisl sofisl commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Onboard google/cloud/designcenter/v1 API (google-cloud-designcenter).

Internal tracking bug http://b/577038296

PiperOrigin-RevId: 1005520228

Debug Info

System Details

  • Python version: Python 3.13.15
  • OS: Linux 7.1.6-1rodete1-amd64 x86_64
  • Librarian version: v0.50.0

Commands Executed

  • python3 -m venv venv && source venv/bin/activate
  • pip install --upgrade pip
  • go run github.com/googleapis/librarian/cmd/librarian@v0.50.0 install
  • go run github.com/googleapis/librarian/cmd/librarian@v0.50.0 add google/cloud/designcenter/v1
  • go run github.com/googleapis/librarian/cmd/librarian@v0.50.0 generate -v google-cloud-designcenter
  • go run github.com/googleapis/librarian/cmd/librarian@v0.50.0 tidy
  • git add .
  • git commit -m "feat(google/cloud/designcenter/v1): add google-cloud-designcenter"

@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 introduces the new google-cloud-designcenter Python client library package, including its auto-generated GAPIC client code, configurations, and Sphinx documentation. A review comment suggests dynamically importing the package version in the Sphinx configuration (conf.py) instead of hardcoding it to an empty string to ensure the documentation displays the correct version.

# See also: https://github.com/docascode/sphinx-docfx-yaml/issues/85
sys.path.insert(0, os.path.abspath("."))

__version__ = ""

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.

medium

The __version__ variable is currently hardcoded to an empty string "". This will cause the generated Sphinx documentation to display an empty version. Since the package version is defined in google/cloud/designcenter/gapic_version.py, we should import it dynamically to ensure the documentation always reflects the correct version.

Suggested change
__version__ = ""
from google.cloud.designcenter.gapic_version import __version__

@sofisl
sofisl marked this pull request as ready for review October 28, 2026 22:29
@sofisl
sofisl requested review from a team as code owners October 28, 2026 22:29
@snippet-bot

snippet-bot Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 160 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@sofisl
sofisl enabled auto-merge (squash) October 28, 2026 22:51
@sofisl
sofisl merged commit a7521b5 into main Oct 28, 2026
54 checks passed
@sofisl
sofisl deleted the onboard-designcenter-v1 branch October 28, 2026 23:06
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