Skip to content

feat(google/cloud/sql): onboard google-cloud-sql - #18180

Draft
quirogas wants to merge 1 commit into
googleapis:mainfrom
quirogas:chore-onboard-library-sqladmin
Draft

feat(google/cloud/sql): onboard google-cloud-sql#18180
quirogas wants to merge 1 commit into
googleapis:mainfrom
quirogas:chore-onboard-library-sqladmin

Conversation

@quirogas

Copy link
Copy Markdown
Contributor

Onboard google-cloud-sql package. Fixes b/537730936, b/537731748

@quirogas
quirogas requested review from a team as code owners August 20, 2026 16:50
@snippet-bot

snippet-bot Bot commented Aug 20, 2026

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 302 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

@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-sql package, which contains Python client libraries for the Cloud SQL Admin API (versions v1 and v1beta4), along with its associated documentation, metadata, and configuration files. The review feedback suggests configuring the library type as GAPIC_COMBO in both librarian.yaml and .repo-metadata.json to correctly handle this multi-version combined library.

Comment thread librarian.yaml
Comment on lines +2008 to +2014
python:
opt_args_by_api:
google/cloud/sql/v1:
- resource-name-alias=backupdr.googleapis.com/Backup:BackupDRBackup
google/cloud/sql/v1beta4:
- resource-name-alias=backupdr.googleapis.com/Backup:BackupDRBackup
default_version: v1

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

Since the google-cloud-sql package contains multiple API versions (v1 and v1beta4), it should be configured as a GAPIC_COMBO library under the python configuration in librarian.yaml to ensure correct handling by the monorepo tooling and documentation generator.

    python:
      library_type: GAPIC_COMBO
      opt_args_by_api:
        google/cloud/sql/v1:
          - resource-name-alias=backupdr.googleapis.com/Backup:BackupDRBackup
        google/cloud/sql/v1beta4:
          - resource-name-alias=backupdr.googleapis.com/Backup:BackupDRBackup
      default_version: v1

"distribution_name": "google-cloud-sql",
"issue_tracker": "https://issuetracker.google.com/issues/new?component=65246\u0026template=1161103",
"language": "python",
"library_type": "GAPIC_AUTO",

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

Update the library_type to GAPIC_COMBO to correctly reflect that this package is a multi-version combined library, matching the configuration in librarian.yaml.

Suggested change
"library_type": "GAPIC_AUTO",
"library_type": "GAPIC_COMBO",

@quirogas
quirogas marked this pull request as draft August 21, 2026 19:33
@quirogas quirogas added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Aug 21, 2026
@quirogas quirogas changed the title feat(google/cloud/sql): add google-cloud-sql feat(google/cloud/sql): onboard google-cloud-sql Aug 21, 2026
@quirogas

Copy link
Copy Markdown
Contributor Author

Do not merge until #18013 has been merged.

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

Labels

do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant