chore: demonstrate librarian generate google-cloud-asset (main client) - #35034
Draft
suztomo wants to merge 3 commits into
Draft
chore: demonstrate librarian generate google-cloud-asset (main client)#35034suztomo wants to merge 3 commits into
suztomo wants to merge 3 commits into
Conversation
suztomo
force-pushed
the
demo-generate-asset
branch
from
July 29, 2026 01:52
ffbb338 to
5818675
Compare
suztomo
force-pushed
the
demo-generate-asset
branch
from
July 29, 2026 02:03
5818675 to
42c624f
Compare
suztomo
commented
Jul 29, 2026
| gem.description = "A metadata inventory service that allows you to view, monitor, and analyze all your GCP and Anthos assets across projects and services." | ||
| gem.summary = "API Client library for the Cloud Asset API" | ||
| gem.description = "The Cloud Asset API manages the history and inventory of Google Cloud resources." | ||
| gem.summary = "The Cloud Asset API manages the history and inventory of Google Cloud resources." |
Member
Author
There was a problem hiding this comment.
Should this be the same as the description???
Member
Author
There was a problem hiding this comment.
It's common to have both fields having the same value. There are 54 client gems in google-cloud-ruby where gem.description and gem.summary have identical values. Here are examples:
| Gem Name | gem.description and gem.summary Value |
Code Reference (with SHA) |
|---|---|---|
google-cloud-managed_kafka |
"Manage Apache Kafka clusters and resources." |
google-cloud-managed_kafka.gemspec#L12-L13 |
google-cloud-connectors |
"Enables users to create and manage connections to Google Cloud services and third-party business applications using the Connectors interface." |
google-cloud-connectors.gemspec#L12-L13 |
google-cloud-resource_manager |
"Creates, reads, and updates metadata for Google Cloud Platform resource containers." |
google-cloud-resource_manager.gemspec#L12-L13 |
google-cloud-license_manager |
"License Manager is a tool to manage and track third-party licenses on Google Cloud." |
google-cloud-license_manager.gemspec#L12-L13 |
google-cloud-oracle_database |
"The Oracle Database@Google Cloud API provides a set of APIs to manage Oracle database services, such as Exadata and Autonomous Databases." |
google-cloud-oracle_database.gemspec#L12-L13 |
google-cloud-workstations |
"Allows administrators to create managed developer environments in the cloud." |
google-cloud-workstations.gemspec#L12-L13 |
google-cloud-support |
"Manages Google Cloud technical support cases for Customer Care support offerings." |
google-cloud-support.gemspec#L12-L13 |
suztomo
force-pushed
the
demo-generate-asset
branch
2 times, most recently
from
July 29, 2026 14:56
0e614c7 to
d057163
Compare
suztomo
force-pushed
the
demo-generate-asset
branch
from
July 29, 2026 15:52
d057163 to
f69058b
Compare
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.
Demonstrate code generation for the Ruby main client wrapper gem
google-cloud-assetvia/tmp/librarian generate google-cloud-asset.Commits:
chore: add google-cloud-asset to librarian.yamlgoogle-cloud-assetinlibrarian.yamlwithwrapper_of: [v1:0.29].chore: removing OwlBot-related files.OwlBot.yamland.owlbot-manifest.json.chore: regenerate the onboarded library using librarianlibrarian generate google-cloud-asset(built from latestupstream/mainof Librarian &upstream/mainof google-cloud-ruby).Findings
Removal of OwlBot-related files:
.OwlBot.yamland.owlbot-manifest.jsondeleted as OwlBot postprocessor is superseded by Librarian.Successful Wrapper Client Generation:
librarian generate google-cloud-assetpassedruby.wrapper_of: [v1:0.29]directly togapic-generator-cloudas--ruby_cloud_opt=ruby-cloud-wrapper-of=v1:0.29.lib/google/cloud/asset.rb,lib/google-cloud-asset.rb,README.md,google-cloud-asset.gemspec,Rakefile,.toys.rb, and test files.Gemspec
descriptionandsummaryUpdates:gem.descriptionandgem.summaryingoogle-cloud-asset.gemspecare updated to"The Cloud Asset API manages the history and inventory of Google Cloud resources."(extracted directly from service configdescription).Copyright Header Years:
.toys.rb,Rakefile,lib/google-cloud-asset.rb,lib/google/cloud/asset.rb, and test files update copyright years to the current year (2026).Product Documentation Link in README:
README.mdomitted the"See also the Product Documentation..."section becauseruby-cloud-product-urloption was omitted inlibrarian.yaml(can be configured underruby_cloud_optsif desired).