Skip to content

impl(showcase): update bidi to use request builder - #6292

Merged
suzmue merged 2 commits into
googleapis:mainfrom
suzmue:request-builder
Aug 7, 2026
Merged

suzmue merged 2 commits into
googleapis:mainfrom
suzmue:request-builder

Conversation

@suzmue

@suzmue suzmue commented Aug 5, 2026 •

Copy link
Copy Markdown
Contributor

Update the librarian version to get these changes. The integration was updated to use the new request builder.

For #2318

@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 refactors the streaming APIs Echo::chat and Messaging::connect to use a builder pattern (Chat and Connect builders) instead of directly executing the call with options. The review feedback suggests improving the developer experience by adding and refining doctests for these new builders and client methods to provide clearer, more practical usage examples, in line with the repository's style guide.

Comment thread src/generated/showcase/src/builder.rs Resolved
Comment thread src/generated/showcase/src/builder.rs Resolved
Comment thread src/generated/showcase/src/client.rs Resolved
Comment thread src/generated/showcase/src/client.rs Resolved
@codecov

codecov Bot commented Aug 5, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.25%. Comparing base (c8450ac) to head (a651ca5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6292   +/-   ##
=======================================
  Coverage   96.25%   96.25%           
=======================================
  Files         283      283           
  Lines       72936    72936           
=======================================
+ Hits        70203    70207    +4     
+ Misses       2733     2729    -4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@suzmue

suzmue commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

FYI @alvarowolfx the query_creation_metadata.rs file is added in this PR but is not included in the build.

@suzmue
suzmue marked this pull request as ready for review August 6, 2026 20:26
@suzmue
suzmue requested review from a team as code owners August 6, 2026 20:26
@alvarowolfx

Copy link
Copy Markdown
Contributor

FYI @alvarowolfx the query_creation_metadata.rs file is added in this PR but is not included in the build.

cool, and that's expected. After this PR I'll send one to wire it up. Thanks

@suzmue
suzmue enabled auto-merge (squash) August 6, 2026 20:45
@suzmue
suzmue merged commit 2a8ee0c into googleapis:main Aug 7, 2026
41 checks passed
@suzmue
suzmue deleted the request-builder branch August 7, 2026 19:59
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