Skip to content

feat: update API sources and regenerate - #18889

Merged
sofisl merged 1 commit into
mainfrom
feat-update-sources-2026-10-28
Oct 28, 2026
Merged

sofisl merged 1 commit into
mainfrom
feat-update-sources-2026-10-28

Conversation

@sofisl

@sofisl sofisl commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Update googleapis API sources and regenerate all Python libraries (excluding google-cloud-ces per #18888 and google-cloud-chronicle per #18890).

Debug Info

System Details

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

Commands Executed

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

Included googleapis CLs

google/chat/v1

google/cloud/ces/v1beta

google/cloud/chronicle/v1

google/cloud/documentai/v1beta3

google/cloud/geminidataanalytics/v1

google/cloud/geminidataanalytics/v1alpha

google/cloud/geminidataanalytics/v1beta

google/cloud/memorystore/v1

google/cloud/memorystore/v1beta

google/cloud/modelarmor/v1

google/cloud/oracledatabase/v1

google/cloud/redis/cluster/v1

google/cloud/redis/cluster/v1beta1

google/cloud/sql/v1

google/cloud/sql/v1beta4

google/cloud/video/transcoder/v1

google/shopping/merchant/quota/v1

@sofisl
sofisl requested review from a team as code owners October 28, 2026 20:03
@snippet-bot

snippet-bot Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 24 region tags.
You are about to delete 12 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 several updates across Google Cloud Python client libraries, including the addition of the ReplaceMessageCards API to google-apps-chat, the new SearchService to google-cloud-chronicle (replacing DataA2AService from geminidataanalytics), and new grounding settings to google-cloud-documentai. Two critical bugs were identified in the generated REST transports for both google-apps-chat and google-cloud-chronicle where debug logging attempts to serialize the raw HTTP response object instead of the parsed proto-plus message instance, which will lead to runtime exceptions when debug logging is enabled.

Comment on lines +8976 to +8978
response_payload = message.ReplaceMessageCardsResponse.to_json(
response
)

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

In the REST transport response logging block, the code attempts to serialize the HTTP response object (response) using the proto-plus message's to_json method instead of the parsed proto-plus message instance (resp). This will raise an exception at runtime when debug logging is enabled, causing the payload to always be logged as None. It should be updated to serialize resp instead.

Suggested change
response_payload = message.ReplaceMessageCardsResponse.to_json(
response
)
response_payload = message.ReplaceMessageCardsResponse.to_json(
resp
)

Comment on lines 568 to 570
response_payload = gcc_search.ListSearchedResultsResponse.to_json(
response
)

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

In the REST transport response logging block, the code attempts to serialize the HTTP response object (response) using the proto-plus message's to_json method instead of the parsed proto-plus message instance (resp). This will raise an exception at runtime when debug logging is enabled, causing the payload to always be logged as None. It should be updated to serialize resp instead.

Suggested change
response_payload = gcc_search.ListSearchedResultsResponse.to_json(
response
)
response_payload = gcc_search.ListSearchedResultsResponse.to_json(
resp
)

@sofisl
sofisl force-pushed the feat-update-sources-2026-10-28 branch from 3157710 to 750aba6 Compare October 28, 2026 20:13
@sofisl
sofisl enabled auto-merge (squash) October 28, 2026 21:15
@sofisl
sofisl merged commit 8705243 into main Oct 28, 2026
54 checks passed
@sofisl
sofisl deleted the feat-update-sources-2026-10-28 branch October 28, 2026 21:23
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