Skip to content

feat: update API sources and regenerate - #18986

Merged
zhumin8 merged 2 commits into
mainfrom
feat-update-sources-2026-11-04
Nov 5, 2026
Merged

zhumin8 merged 2 commits into
mainfrom
feat-update-sources-2026-11-04

Conversation

@zhumin8

@zhumin8 zhumin8 commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Update googleapis API sources and regenerate all Python libraries.

Debug Info

System Details

  • Python version: Python 3.13.15
  • Go version: go version go1.26.8 linux/amd64
  • OS: Linux 7.1.6-1rodete1-amd64 x86_64
  • Librarian version: v0.51.0

Commands Executed

  • go run github.com/googleapis/librarian/cmd/librarian@v0.51.0 update sources.googleapis
  • go run github.com/googleapis/librarian/cmd/librarian@v0.51.0 install
  • go run github.com/googleapis/librarian/cmd/librarian@v0.51.0 generate --all
  • git add .
  • git commit -m "feat: update API sources and regenerate"

Included googleapis CLs

google/chat/v1

google/cloud/auditmanager/v1

google/cloud/backupdr/v1

google/cloud/backupdr/v1beta

google/cloud/batch/v1alpha

google/cloud/chronicle/v1

google/cloud/compute/v1

google/cloud/compute/v1beta

google/cloud/dataform/v1

google/cloud/dataform/v1beta1

google/cloud/developerconnect/v1

google/cloud/discoveryengine/v1

google/cloud/memorystore/v1beta

google/cloud/modelarmor/v1

google/cloud/networkmanagement/v1

google/cloud/secretmanager/v1

google/cloud/sql/v1

google/cloud/sql/v1beta4

google/devtools/cloudbuild/v1

google/iam/admin/v1

google/maps/navconnect/v1

google/maps/routeoptimization/v1

google/maps/solar/v1

@zhumin8
zhumin8 requested review from a team as code owners November 4, 2026 15:22
@snippet-bot

snippet-bot Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 229 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 significant updates to several Google Cloud Python client libraries, including inline citations in google-apps-chat, parameter overrides in google-cloud-auditmanager, and comprehensive auto-protection and restore verification APIs in google-cloud-backupdr. The review feedback correctly identifies critical runtime bugs in the autogenerated async and sync sample codes for creating auto-protection policies, where repeated fields are incorrectly accessed directly as attributes instead of being initialized as lists, which would lead to an AttributeError at runtime.

@zhumin8

zhumin8 commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

Heads-up for the reviewer: this PR includes an approved breaking change in Secret Manager v1 (googleapis googleapis/googleapis@e99a085652, fix!: update EnableManagedRotationRequest ... rename oneof credentials to oneof credential). The credentials oneof / CloudSQLSingleUserCredentials nested type in EnableManagedRotationRequest are replaced by a top-level CloudSqlSingleUserCredentials and oneof credential. No CI check flagged it here, so merging as feat: would release it as a minor version of google-cloud-secret-manager (currently 2.31.0, GA). Please decide whether this needs a major bump or a release note.

🤖 Posted by an AI agent on behalf of zhumin.

ohmayr pushed a commit that referenced this pull request Nov 4, 2026
@parthea parthea added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Nov 4, 2026
@parthea parthea removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Nov 5, 2026
"""

class CloudSQLSingleUserCredentials(proto.Message):

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.

This is an approved breaking change. This will be a non-major version bump. As per b/576206031, the rpc enable_managed_rotation, and EnableManagedRotationRequest could not be used from client libraries.

@zhumin8
zhumin8 merged commit 8c0f333 into main Nov 5, 2026
91 checks passed
@zhumin8
zhumin8 deleted the feat-update-sources-2026-11-04 branch November 5, 2026 16:28
zhumin8 pushed a commit that referenced this pull request Nov 5, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>gapic-generator: 1.44.2</summary>

##
[1.44.2](gapic-generator-v1.44.1...gapic-generator-v1.44.2)
(2026-11-05)


### Bug Fixes

* **gapic-generator:** default client_options.api_endpoint to transport
host for OpenTelemetry spans
([#18869](#18869))
([10cdc90](10cdc90))
</details>

<details><summary>gcp-sphinx-docfx-yaml: 3.4.1</summary>

##
[3.4.1](gcp-sphinx-docfx-yaml-v3.4.0...gcp-sphinx-docfx-yaml-v3.4.1)
(2026-11-05)


### Documentation

* fix typos
([#18979](#18979))
([5c8baeb](5c8baeb))
</details>

<details><summary>google-api-core: 2.44.0</summary>

##
[2.44.0](google-api-core-v2.43.2...google-api-core-v2.44.0)
(2026-11-05)


### Features

* **google-api-core:** extend ErrorInfo dict accessors, centralize
status code extraction, and update StructuredLogFormatter
([#18884](#18884))
([0c3fa2b](0c3fa2b))


### Bug Fixes

* **gapic-generator:** default client_options.api_endpoint to transport
host for OpenTelemetry spans
([#18869](#18869))
([10cdc90](10cdc90))
* **google-api-core:** make RetryError picklable and copyable
([#18947](#18947))
([5ffc395](5ffc395))
</details>

<details><summary>google-apps-chat: 0.10.9</summary>

##
[0.10.9](google-apps-chat-v0.10.8...google-apps-chat-v0.10.9)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-auditmanager: 0.3.4</summary>

##
[0.3.4](google-cloud-auditmanager-v0.3.3...google-cloud-auditmanager-v0.3.4)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-backupdr: 0.10.4</summary>

##
[0.10.4](google-cloud-backupdr-v0.10.3...google-cloud-backupdr-v0.10.4)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-batch: 0.22.5</summary>

##
[0.22.5](google-cloud-batch-v0.22.4...google-cloud-batch-v0.22.5)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-build: 3.43.0</summary>

##
[3.43.0](google-cloud-build-v3.42.0...google-cloud-build-v3.43.0)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-ces: 0.7.3</summary>

##
[0.7.3](google-cloud-ces-v0.7.2...google-cloud-ces-v0.7.3)
(2026-11-05)


### Features

* **ces:** regenerate v1beta with resource alias
([#18975](#18975))
([be426ad](be426ad)),
refs
[#18888](#18888)
</details>

<details><summary>google-cloud-compute: 1.57.0</summary>

##
[1.57.0](google-cloud-compute-v1.56.0...google-cloud-compute-v1.57.0)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-compute-v1beta: 0.12.10</summary>

##
[0.12.10](google-cloud-compute-v1beta-v0.12.9...google-cloud-compute-v1beta-v0.12.10)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-dataform: 0.11.5</summary>

##
[0.11.5](google-cloud-dataform-v0.11.4...google-cloud-dataform-v0.11.5)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-developerconnect: 0.6.2</summary>

##
[0.6.2](google-cloud-developerconnect-v0.6.1...google-cloud-developerconnect-v0.6.2)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-discoveryengine: 0.20.6</summary>

##
[0.20.6](google-cloud-discoveryengine-v0.20.5...google-cloud-discoveryengine-v0.20.6)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-iam: 2.27.0</summary>

##
[2.27.0](google-cloud-iam-v2.26.0...google-cloud-iam-v2.27.0)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-memorystore: 0.5.8</summary>

##
[0.5.8](google-cloud-memorystore-v0.5.7...google-cloud-memorystore-v0.5.8)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-modelarmor: 0.7.5</summary>

##
[0.7.5](google-cloud-modelarmor-v0.7.4...google-cloud-modelarmor-v0.7.5)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-network-management: 1.39.0</summary>

##
[1.39.0](google-cloud-network-management-v1.38.0...google-cloud-network-management-v1.39.0)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-saasplatform-saasservicemgmt:
0.7.3</summary>

##
[0.7.3](google-cloud-saasplatform-saasservicemgmt-v0.7.2...google-cloud-saasplatform-saasservicemgmt-v0.7.3)
(2026-11-05)


### Features

* **google/cloud/saasplatform/saasservicemgmt/v1:** add
google-cloud-saasplatform-saasservicemgmt
([#18998](#18998))
([a952b6b](a952b6b))
</details>

<details><summary>google-cloud-secret-manager: 2.32.0</summary>

##
[2.32.0](google-cloud-secret-manager-v2.31.0...google-cloud-secret-manager-v2.32.0)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-cloud-sql: 0.1.4</summary>

##
[0.1.4](google-cloud-sql-v0.1.3...google-cloud-sql-v0.1.4)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-maps-navconnect: 0.2.3</summary>

##
[0.2.3](google-maps-navconnect-v0.2.2...google-maps-navconnect-v0.2.3)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-maps-routeoptimization: 0.5.2</summary>

##
[0.5.2](google-maps-routeoptimization-v0.5.1...google-maps-routeoptimization-v0.5.2)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

<details><summary>google-maps-solar: 0.6.3</summary>

##
[0.6.3](google-maps-solar-v0.6.2...google-maps-solar-v0.6.3)
(2026-11-05)


### Features

* update API sources and regenerate
([#18986](#18986))
([8c0f333](8c0f333))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 11, 2026
Merchant API v1beta (`google/shopping/merchant/*/v1beta`) is
discontinued: the service has rejected all v1beta calls since
2026-06-01. This PR stops generating v1beta and removes the
`google.shopping.merchant_<api>_v1beta` modules from the 13
`google-shopping-merchant-*` packages, so the v1beta protos can later be
removed from googleapis. v1 (and reports v1alpha) are unchanged.

Packages: accounts, conversions, datasources, inventories,
issueresolution, lfp, notifications, ordertracking, products,
promotions, quota, reports, reviews.

## Changes

Hand-edited:
- `librarian.yaml`: removed the 13
`google/shopping/merchant/<api>/v1beta` API paths and their
`opt_args_by_api` v1beta entries; set `google-shopping-merchant-reviews`
`default_version` from `v1beta` to `v1`.
- `release-please-bulk-config.json`: removed the 26 v1beta `extra-files`
entries (`merchant_<api>_v1beta/gapic_version.py` and
`snippet_metadata_google.shopping.merchant.<api>.v1beta.json`).
Librarian only adds these entries; it never removes them.
- Deleted `google/shopping/merchant_<api>_v1beta/` and
`docs/merchant_<api>_v1beta/` in each package. `librarian generate` only
cleans versions still listed in `librarian.yaml`, so it does not remove
these on its own.

Generated (`librarian generate <lib>` for each of the 13, then
`librarian tidy`):
- Removed v1beta `samples/generated_samples/*` (including the snippet
metadata JSON) and `tests/unit/gapic/merchant_<api>_v1beta/`.
- `docs/index.rst` in each package: dropped the v1beta API reference.
- reviews: `google/shopping/merchant_reviews/__init__.py` now aliases
v1, and `.repo-metadata.json` has `default_version: v1`.

## Breaking change

- The `google.shopping.merchant_<api>_v1beta` modules are removed from
all 13 packages. Users must migrate to
`google.shopping.merchant_<api>_v1` (or the unversioned alias, which
already pointed to v1 for 12 of the packages).
- `google-shopping-merchant-reviews`: the unversioned
`google.shopping.merchant_reviews` alias moves from v1beta to v1. It no
longer exports `MerchantReviewsServiceClient`,
`MerchantReviewsServiceAsyncClient`, `MerchantReview`,
`MerchantReviewAttributes`, `MerchantReviewStatus` or the
`Get/List/Insert/DeleteMerchantReview*` messages, because
MerchantReviewsService exists only in v1beta. ProductReviewsService is
still available through v1.
- `google-shopping-merchant-accounts`: AccountTaxService has no v1
equivalent.
- All v1beta calls have failed on the server since 2026-06-01, so no
working code path is removed.

## Verification

- `librarian generate` succeeded for all 13 libraries, and `librarian
tidy` passed. Running generate and tidy again produces no diff.
- No `v1beta` references are left in the 13 packages (apart from
CHANGELOG history and an upstream proto comment in products v1), in
`librarian.yaml`, or in `release-please-bulk-config.json`.
- Fresh venv, installing `google-shopping-type` and the 13 packages from
this branch: every `google.shopping.merchant_<api>` and
`google.shopping.merchant_<api>_v1` imports, and every
`google.shopping.merchant_<api>_v1beta` raises `ModuleNotFoundError`.
- Unit tests pass: accounts (4235 passed), reports (302), reviews (222),
conversions (272).

## Versioning (to confirm with the Python team)

This PR uses `feat(merchantapi)!:`. Release-please assigns a squashed
commit to every package whose files it touches (see #18986). With `!`,
as in the single-package precedent #18165, each 1.x package gets a major
bump; reviews (0.x, `bump-minor-pre-major`) gets a minor bump. With
plain `feat:`, the 1.x packages get minor bumps and reviews gets a patch
bump (`bump-patch-for-minor-pre-major`). We're confirming the commit
type with the Python team before marking this ready.

| Package | Current | With `feat!:` | With `feat:` |
| --- | --- | --- | --- |
| google-shopping-merchant-accounts | 1.7.0 | 2.0.0 | 1.8.0 |
| google-shopping-merchant-conversions | 1.5.0 | 2.0.0 | 1.6.0 |
| google-shopping-merchant-datasources | 1.6.0 | 2.0.0 | 1.7.0 |
| google-shopping-merchant-inventories | 1.7.0 | 2.0.0 | 1.8.0 |
| google-shopping-merchant-issueresolution | 1.5.0 | 2.0.0 | 1.6.0 |
| google-shopping-merchant-lfp | 1.5.0 | 2.0.0 | 1.6.0 |
| google-shopping-merchant-notifications | 1.5.0 | 2.0.0 | 1.6.0 |
| google-shopping-merchant-ordertracking | 1.5.0 | 2.0.0 | 1.6.0 |
| google-shopping-merchant-products | 1.9.0 | 2.0.0 | 1.10.0 |
| google-shopping-merchant-promotions | 1.5.0 | 2.0.0 | 1.6.0 |
| google-shopping-merchant-quota | 1.7.0 | 2.0.0 | 1.8.0 |
| google-shopping-merchant-reports | 1.6.0 | 2.0.0 | 1.7.0 |
| google-shopping-merchant-reviews | 0.6.2 | 0.7.0 | 0.6.3 |

## Debug Info

- Python version: Python 3.13.15
- Go version: go version go1.26.8 linux/amd64
- OS: Linux x86_64
- Librarian version: v0.51.0

Internal tracking: b/581491469 (parent b/580887933)

🤖 _Opened by an AI agent on behalf of zhumin._
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.

3 participants