GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: add api_version breadcrumb to client docs by noahdietz · Pull Request #4018 · googleapis/sdk-platform-java

This repository was archived by the owner on Oct 29, 2026. It is now read-only.

Conversation

@noahdietz

@noahdietz noahdietz commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

Adds simple breadcrumb comment to client class commentary including the google.api.api_version value that this client was generated based on and sends in its requests, as per AIP-4236. This breadcrumb will allow client users to reference the API version used by the client in other API artifacts e.g. product documentation.

Fixes internal tracking bug http://b/467138606, child of http://b/467065424.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@noahdietz
fix: add api_version breadcrumb to client docs
fd4cfca
@product-auto-label product-auto-label Bot added the size: s Pull request size is small. label Dec 11, 2025
@gemini-code-assist

gemini-code-assist Bot commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @noahdietz, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a significant enhancement to the generated client documentation by embedding the google.api.api_version directly into the client class commentary. This "breadcrumb" comment provides immediate visibility into the API version a client was generated against and uses in its requests, thereby improving traceability and alignment with AIP-4236 for better product documentation and user understanding.

Highlights

  • API Version Breadcrumb: Adds the google.api.api_version as a breadcrumb comment directly into the client class documentation.
  • AIP-4236 Compliance: Implements this documentation enhancement in accordance with the guidelines of AIP-4236.
  • Improved Referencing: Enables client users to easily reference the specific API version used by the client in other product documentation or artifacts.
  • Internal Bug Fix: Addresses and fixes internal tracking bugs http://b/467138606 and http://b/467065424.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gemini-code-assist[bot]
gemini-code-assist Bot reviewed Dec 11, 2025
View reviewed changes

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

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 adds an API version breadcrumb to the generated client documentation, as specified by AIP-4236. The implementation correctly appends the version information to the service description. However, I've identified a couple of areas for improvement to ensure full compliance with the AIP and to handle edge cases gracefully. My feedback includes a suggestion to correctly format the breadcrumb when the API short name is missing, and another to ensure the breadcrumb is always included when an API version is present, regardless of whether a service description exists.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .../main/java/com/google/api/generator/gapic/composer/comment/ServiceClientCommentComposer.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .../main/java/com/google/api/generator/gapic/composer/comment/ServiceClientCommentComposer.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

noahdietz added 6 commits December 11, 2025 20:05
@noahdietz
move api_version breadcrumb out of description condition
8f134cf
@noahdietz
use name() access
e4de193
@noahdietz
fix format
5f6f92c
@noahdietz
swich to addComment, adjust goldens
486ef81
@noahdietz
switch to addParagraph, update goldens
98acc7a
@noahdietz
fix golden line wrapping
05f24a2
@noahdietz
noahdietz marked this pull request as ready for review December 11, 2025 21:46
@noahdietz
noahdietz requested review from blakeli0 and lqiu96 December 11, 2025 21:47
blakeli0
blakeli0 approved these changes Dec 11, 2025
View reviewed changes

@blakeli0 blakeli0 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Noah!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@noahdietz
noahdietz removed the request for review from lqiu96 December 11, 2025 22:18
@noahdietz

noahdietz commented Dec 11, 2025

Copy link
Copy Markdown
Contributor Author

Thanks Noah!

You're welcome, thanks for the quick review!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@noahdietz

noahdietz commented Dec 11, 2025

Copy link
Copy Markdown
Contributor Author

@blakeli0 I assume I can ignore the two failing presubmits?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@blakeli0

blakeli0 commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

@blakeli0 I assume I can ignore the two failing presubmits?

Yes, those are fine. FYI, we are in the middle of testing RCs, we'll merge this PR once the testing are done.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@noahdietz

noahdietz commented Dec 11, 2025

Copy link
Copy Markdown
Contributor Author

Yes, those are fine. FYI, we are in the middle of testing RCs, we'll merge this PR once the testing are done.

Ok great thanks for letting me know! I do have the power to push the button it seems so I wasn't sure if I should do it myself or not. I will leave it to you!

Cheers.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@blakeli0
blakeli0 merged commit a2b2179 into googleapis:main Dec 12, 2025
@release-please release-please Bot mentioned this pull request Dec 12, 2025
chore(main): release 2.65.0 #4020
Closed
@release-please release-please Bot mentioned this pull request Jan 12, 2026
chore(main): release 2.65.0 #4058
Merged
diegomarquezp pushed a commit that referenced this pull request Jan 13, 2026
@release-please
chore(main): release 2.65.0 (#4058)
972f87a
🤖 I have created a release *beep* *boop*
---


<details><summary>2.65.0</summary>

##
[2.65.0](v2.64.2...v2.65.0)
(2026-01-12)


### Features

* add org.json:json to third-party-dependencies pom
([#4047](#4047))
([ffa432e](ffa432e)),
closes
[#4046](#4046)
* remove dependency management of graal-sdk
([#4033](#4033))
([ad05c34](ad05c34))


### Bug Fixes

* add api_version breadcrumb to client docs
([#4018](#4018))
([a2b2179](a2b2179))
* Create a single S2AChannelCredentials per application
([#3989](#3989))
([3758b43](3758b43))
* provide API to share the same background executor for channel po…
([#4030](#4030))
([178182c](178182c))


### Dependencies

* update dependencies.txt for grpc-gcp to 1.9.0
([#4025](#4025))
([b68791d](b68791d))
* update google api dependencies
([#3917](#3917))
([480cf13](480cf13))
* update google.http-client.version to 2.0.3
([#4054](#4054))
([b9a8c89](b9a8c89))


### Documentation

* Fix retry guide link in javadocs
([#4029](#4029))
([b43f77c](b43f77c))
</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>
diegomarquezp pushed a commit that referenced this pull request Jan 21, 2026
@release-please @diegomarquezp
chore(main): release 2.65.0 (#4058)
5218acb
🤖 I have created a release *beep* *boop*
---


<details><summary>2.65.0</summary>

##
[2.65.0](v2.64.2...v2.65.0)
(2026-01-12)


### Features

* add org.json:json to third-party-dependencies pom
([#4047](#4047))
([ffa432e](ffa432e)),
closes
[#4046](#4046)
* remove dependency management of graal-sdk
([#4033](#4033))
([ad05c34](ad05c34))


### Bug Fixes

* add api_version breadcrumb to client docs
([#4018](#4018))
([a2b2179](a2b2179))
* Create a single S2AChannelCredentials per application
([#3989](#3989))
([3758b43](3758b43))
* provide API to share the same background executor for channel po…
([#4030](#4030))
([178182c](178182c))


### Dependencies

* update dependencies.txt for grpc-gcp to 1.9.0
([#4025](#4025))
([b68791d](b68791d))
* update google api dependencies
([#3917](#3917))
([480cf13](480cf13))
* update google.http-client.version to 2.0.3
([#4054](#4054))
([b9a8c89](b9a8c89))


### Documentation

* Fix retry guide link in javadocs
([#4029](#4029))
([b43f77c](b43f77c))
</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>
lqiu96 pushed a commit that referenced this pull request Feb 12, 2026
@noahdietz @lqiu96
fix: add api_version breadcrumb to client docs (#4018)
a7c66b6
Adds simple breadcrumb comment to client class commentary including the
`google.api.api_version` value that this client was generated based on
and sends in its requests, as per AIP-4236. This breadcrumb will allow
client users to reference the API version used by the client in other
API artifacts e.g. product documentation.

Fixes internal tracking bug http://b/467138606, child of
http://b/467065424.
lqiu96 pushed a commit that referenced this pull request Feb 12, 2026
@release-please @lqiu96
chore(main): release 2.65.0 (#4058)
b4704f8
🤖 I have created a release *beep* *boop*
---


<details><summary>2.65.0</summary>

##
[2.65.0](v2.64.2...v2.65.0)
(2026-01-12)


### Features

* add org.json:json to third-party-dependencies pom
([#4047](#4047))
([ffa432e](ffa432e)),
closes
[#4046](#4046)
* remove dependency management of graal-sdk
([#4033](#4033))
([ad05c34](ad05c34))


### Bug Fixes

* add api_version breadcrumb to client docs
([#4018](#4018))
([a2b2179](a2b2179))
* Create a single S2AChannelCredentials per application
([#3989](#3989))
([3758b43](3758b43))
* provide API to share the same background executor for channel po…
([#4030](#4030))
([178182c](178182c))


### Dependencies

* update dependencies.txt for grpc-gcp to 1.9.0
([#4025](#4025))
([b68791d](b68791d))
* update google api dependencies
([#3917](#3917))
([480cf13](480cf13))
* update google.http-client.version to 2.0.3
([#4054](#4054))
([b9a8c89](b9a8c89))


### Documentation

* Fix retry guide link in javadocs
([#4029](#4029))
([b43f77c](b43f77c))
</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>
chingor13 pushed a commit to googleapis/google-cloud-java that referenced this pull request Mar 24, 2026
@release-please
chore(main): release 2.65.0 (#4058)
0d09c8a
🤖 I have created a release *beep* *boop*
---


<details><summary>2.65.0</summary>

##
[2.65.0](googleapis/sdk-platform-java@v2.64.2...v2.65.0)
(2026-01-12)


### Features

* add org.json:json to third-party-dependencies pom
([#4047](googleapis/sdk-platform-java#4047))
([5898abd](googleapis/sdk-platform-java@5898abd)),
closes
[#4046](googleapis/sdk-platform-java#4046)
* remove dependency management of graal-sdk
([#4033](googleapis/sdk-platform-java#4033))
([09ec2a3](googleapis/sdk-platform-java@09ec2a3))


### Bug Fixes

* add api_version breadcrumb to client docs
([#4018](googleapis/sdk-platform-java#4018))
([0573232](googleapis/sdk-platform-java@0573232))
* Create a single S2AChannelCredentials per application
([#3989](googleapis/sdk-platform-java#3989))
([6a24164](googleapis/sdk-platform-java@6a24164))
* provide API to share the same background executor for channel po…
([#4030](googleapis/sdk-platform-java#4030))
([051f76a](googleapis/sdk-platform-java@051f76a))


### Dependencies

* update dependencies.txt for grpc-gcp to 1.9.0
([#4025](googleapis/sdk-platform-java#4025))
([2376f6c](googleapis/sdk-platform-java@2376f6c))
* update google api dependencies
([#3917](googleapis/sdk-platform-java#3917))
([bf94a0a](googleapis/sdk-platform-java@bf94a0a))
* update google.http-client.version to 2.0.3
([#4054](googleapis/sdk-platform-java#4054))
([343a8ef](googleapis/sdk-platform-java@343a8ef))


### Documentation

* Fix retry guide link in javadocs
([#4029](googleapis/sdk-platform-java#4029))
([4bb3ccc](googleapis/sdk-platform-java@4bb3ccc))
</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>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
@blakeli0 blakeli0 blakeli0 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size: s Pull request size is small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@noahdietz @blakeli0
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.