Skip to content

Conversation

@noahdietz
Copy link
Contributor

Populates the api_version field on a per-service basis to the generated gapic_metadata.json using the value from the service-level annotation google.api.api_version already parsed for use in the X-Goog-Api-Version/$apiVersion system parameter (as of #1074).

Showcase-based tests already have google.api.api_version set on service Echo, so the baselines are appropriately updated to account for inclusion of apiVersion in the gapic_metadata.json output.

It's presence in gapic_metadata.json will allow parsers to correlate service client to API version. It is not in use by any API yet. Only the unit tests needed updating.

Internal bug http://b/452365074.

@noahdietz noahdietz requested a review from a team as a code owner November 5, 2025 19:33
@noahdietz noahdietz added the automerge Merge the pull request once unit tests and other checks pass. label Nov 5, 2025
@noahdietz noahdietz removed the automerge Merge the pull request once unit tests and other checks pass. label Nov 5, 2025
@viacheslav-rostovtsev viacheslav-rostovtsev merged commit c06ea88 into googleapis:main Nov 6, 2025
5 checks passed
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