Skip to content

chore: update googleapis commitish to c5dcac8 - #13968

Open
cloud-java-bot wants to merge 2 commits into
mainfrom
update-librarian-googleapis-main
Open

chore: update googleapis commitish to c5dcac8#13968
cloud-java-bot wants to merge 2 commits into
mainfrom
update-librarian-googleapis-main

Conversation

@cloud-java-bot

Copy link
Copy Markdown
Collaborator

Updated googleapis commitish in librarian.yaml to googleapis/googleapis@c5dcac8

💡 Note: If this PR is still open when the daily update workflow runs next, it will be closed and replaced with a new PR containing the latest updates.

@cloud-java-bot
cloud-java-bot requested review from a team as code owners July 31, 2026 05:31
@snippet-bot

snippet-bot Bot commented Jul 31, 2026

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 7 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 a new SearchMessages method to the Google Chat API, including the necessary protocol buffer definitions, client library updates, and documentation. I have identified an issue in the generated sample code where the ApiFuture return type was incorrectly specified, which would lead to compilation errors for users. The suggested fix has been provided in the review comments.

Comment on lines +3257 to +3258
* ApiFuture<SearchMessageResult> future =
* chatServiceClient.searchMessagesPagedCallable().futureCall(request);

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 generic type for ApiFuture in this sample code is incorrect. The searchMessagesPagedCallable().futureCall() method returns an ApiFuture<SearchMessagesPagedResponse>, not ApiFuture<SearchMessageResult>. This will cause a compilation error for users who copy this example.

Suggested change
* ApiFuture<SearchMessageResult> future =
* chatServiceClient.searchMessagesPagedCallable().futureCall(request);
* ApiFuture<SearchMessagesPagedResponse> future =
* chatServiceClient.searchMessagesPagedCallable().futureCall(request);

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.

1 participant