chore: update gapic-generator-cloud to 0.52.0 - #36532
Open
suztomo wants to merge 2 commits into
Open
Conversation
suztomo
marked this pull request as ready for review
September 4, 2026 21:05
torreypayne
approved these changes
Sep 4, 2026
aandreassa
approved these changes
Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Updates
gapic-generator-cloudto0.52.0inlibrarian.yamland regenerates libraries withlibrarian generate -all.The prefix of this pull request is
chore:because this update only improves YARD documentation formatting and internal tooling without introducing any breaking or user-facing changes to the client library interfaces.Analysis of Code Diffs by Recent
gapic-generator-rubyPull RequestsAll generated code diffs in this PR originate from improvements in
gapic-generator-rubymerged in the past week (< 1 week) and released ingapic-generator/gapic-generator-cloud0.52.0 (#1343):1. Preserving Braces in Code Blocks & Inline Spans (#1337)
fix(generator): escape multi-line braces and backtick unknown doc tags in yard formattingFormattingUtils.format_doc_linesdid not track Markdown fenced code blocks (```) or multiline inline code spans (...` `). When braces appeared inside code snippets or JSON examples, the generator incorrectly escaped them as `{...}`. In PR Test code examples in the BigQuery guide #1337, `format_doc_lines` now maintains block state (`in_fence` and `in_code_span`) and preserves braces untouched inside code blocks and inline spans.google-apps-chat-v1: Restores unescaped braces in Markdown fenced code blocks (e.g.user.name = "users/{user}"andemoji.custom_emoji.uid = "{uid}"instead ofusers/\{user}).google-cloud-ai_platform-v1: In inline code spans, braces in resource name templates are preserved without escapes (e.g.projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}).google-cloud-dataqna-v1alpha: Inannotated_string.rbandauto_suggestion_service.rb, code examples now render{DIMENSION, 4, 12}and{type: TEXT, ...}without unnecessary backslash escapes.google-cloud-bigquery-analytics_hub-v1,google-cloud-pubsub-v1,google-cloud-chronicle-v1,google-cloud-network_services-v1,google-cloud-oracle_database-v1,google-iam-v1beta,google-maps-route_optimization-v1, andgoogle-shopping-merchant-accounts-v1*.2. Escaping Multiline Braces in Prose (#1337)
{...}in prose as link or tag directives. When literal braces span across lines (such as multiline JSON examples or number ranges), YARD fails to parse them, causing build warnings and doc errors. PR Test code examples in the BigQuery guide #1337 addedescape_prose_braces, escaping unescaped{outside backtick spans as\{.google-apps-chat-v1/proto_docs/google/apps/card/v1/card.rb: Escapes multiline range syntaxChoose from \{100, 200, 300, 400, 500, 600, 700}.google-cloud-agent_registry-v1/proto_docs/google/cloud/agentregistry/v1/agent.rb&mcp_server.rb: Escapes multiline JSON examples in prose:\{"framework": ...}and\{"principal": ...}.google-cloud-ai_platform-v1/proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb: Escapes multiline parameter examplee.g. \{"rouge_type": "rougeL"}.google-cloud-cloud_security_compliance-v1/proto_docs/.../deployment.rb: Escapes multiline JSON\{"key": ...}.3. Sanitizing Unknown Doc Tags (#1337)
@in proto comments (e.g.@allor@mentions) were interpreted by YARD as doc tag directives, producing@unknown tagwarnings. PR Test code examples in the BigQuery guide #1337 introducedsanitize_prose_tagsto wrap any tag not recognized by YARD in backticks (e.g.`@all`).google-apps-chat-v1/proto_docs/google/chat/v1/space.rb: Sanitizes@all->`@all`.google-apps-chat-v1/proto_docs/google/chat/v1/space_notification_setting.rb: Sanitizes@mentions->`@mentions`.4. Other Generator Features in 0.52.0 (#1340, #1342)
google-cloud-automl-v1.ruby-cloud-renamed-fromparameter, which unblocks onboarding renamed wrapper gems (google-cloud-run-clientandgoogle-iam-client).Verification
librarian install: Successfully installedgapic-generator-cloud0.52.0 and dependencies.librarian generate -all: Ran cleanly across all configured gems.google-apps-chat-v1,google-cloud-dialogflow-v2,google-cloud-oracle_database-v1,google-cloud-bigtable-v2):toys ci --test)toys ci --rubocop)toys ci --yard)