From a68ceed51122cc4aa555c136756760a9b414f3df Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 30 Jul 2026 02:23:58 +0000 Subject: [PATCH 1/3] chore: add google-cloud-asset to librarian.yaml --- librarian.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/librarian.yaml b/librarian.yaml index 4c5af7ef3a70..b252701a245a 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. language: ruby +version: v1.0.2-0.20260730005412-f52568e7df46 sources: googleapis: commit: 6145fa8cc2b137bf4c0ed114e2e39c1157ea9722 @@ -25,3 +26,15 @@ tools: protoc: version: "33.2" sha256: b24b53f87c151bfd48b112fe4c3a6e6574e5198874f38036aff41df3456b8caf +libraries: + - name: google-cloud-asset + version: 1.10.0 + apis: + - path: google/cloud/asset/v1 + ruby: + ruby_cloud_opts: + ruby-cloud-env-prefix: ASSET + ruby-cloud-migration-version: "1.0" + ruby: + wrapper_of: + - v1:0.29 From 842777d2547795395cfa843b5f5c9157e7195138 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 30 Jul 2026 02:24:00 +0000 Subject: [PATCH 2/3] chore: removing OwlBot-related files --- google-cloud-asset/.OwlBot.yaml | 3 --- google-cloud-asset/.owlbot-manifest.json | 31 ------------------------ 2 files changed, 34 deletions(-) delete mode 100644 google-cloud-asset/.OwlBot.yaml delete mode 100644 google-cloud-asset/.owlbot-manifest.json diff --git a/google-cloud-asset/.OwlBot.yaml b/google-cloud-asset/.OwlBot.yaml deleted file mode 100644 index d1373d7fe40a..000000000000 --- a/google-cloud-asset/.OwlBot.yaml +++ /dev/null @@ -1,3 +0,0 @@ -deep-copy-regex: - - source: /google/cloud/asset/[^/]+-ruby/(.*) - dest: /owl-bot-staging/google-cloud-asset/$1 diff --git a/google-cloud-asset/.owlbot-manifest.json b/google-cloud-asset/.owlbot-manifest.json deleted file mode 100644 index 3301617a53c8..000000000000 --- a/google-cloud-asset/.owlbot-manifest.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "generated": [ - ".gitignore", - ".repo-metadata.json", - ".rubocop.yml", - ".toys.rb", - ".yardopts", - "AUTHENTICATION.md", - "CHANGELOG.md", - "Gemfile", - "LICENSE.md", - "README.md", - "Rakefile", - "google-cloud-asset.gemspec", - "lib/google-cloud-asset.rb", - "lib/google/cloud/asset.rb", - "lib/google/cloud/asset/version.rb", - "test/google/cloud/asset/client_test.rb", - "test/google/cloud/asset/version_test.rb", - "test/helper.rb" - ], - "static": [ - ".OwlBot.yaml", - "MIGRATING.md", - "samples/Gemfile", - "samples/Rakefile", - "samples/acceptance/helper.rb", - "samples/acceptance/quickstart_test.rb", - "samples/quickstart.rb" - ] -} From b57fa64a270a01011cff1a91c6fc1fd2656951b4 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 30 Jul 2026 02:24:04 +0000 Subject: [PATCH 3/3] chore: regenerate the onboarded library using librarian --- google-cloud-asset/.toys.rb | 2 +- google-cloud-asset/README.md | 6 +----- google-cloud-asset/Rakefile | 2 +- google-cloud-asset/google-cloud-asset.gemspec | 4 ++-- google-cloud-asset/lib/google-cloud-asset.rb | 2 +- google-cloud-asset/lib/google/cloud/asset.rb | 2 +- google-cloud-asset/test/google/cloud/asset/client_test.rb | 2 +- google-cloud-asset/test/google/cloud/asset/version_test.rb | 2 +- google-cloud-asset/test/helper.rb | 2 +- 9 files changed, 10 insertions(+), 14 deletions(-) diff --git a/google-cloud-asset/.toys.rb b/google-cloud-asset/.toys.rb index 23434bdd5d5b..177e22456e8a 100644 --- a/google-cloud-asset/.toys.rb +++ b/google-cloud-asset/.toys.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2024 Google LLC +# Copyright 2026 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google-cloud-asset/README.md b/google-cloud-asset/README.md index 7618185acbbf..7fc60e268ccc 100644 --- a/google-cloud-asset/README.md +++ b/google-cloud-asset/README.md @@ -1,8 +1,7 @@ # Ruby Client for the Cloud Asset API -API Client library for the Cloud Asset API +The Cloud Asset API manages the history and inventory of Google Cloud resources. -A metadata inventory service that allows you to view, monitor, and analyze all your GCP and Anthos assets across projects and services. Actual client classes for the various versions of this API are defined in _versioned_ client gems, with names of the form `google-cloud-asset-v*`. @@ -18,9 +17,6 @@ themselves can be found in the client library documentation for the versioned client gems: [google-cloud-asset-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest). -See also the [Product Documentation](https://cloud.google.com/asset-inventory/) -for more usage information. - ## Quick Start ``` diff --git a/google-cloud-asset/Rakefile b/google-cloud-asset/Rakefile index 067abbe090d1..2b48026db844 100644 --- a/google-cloud-asset/Rakefile +++ b/google-cloud-asset/Rakefile @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2020 Google LLC +# Copyright 2026 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google-cloud-asset/google-cloud-asset.gemspec b/google-cloud-asset/google-cloud-asset.gemspec index 8c12269b67b3..9dd3d9f31a89 100644 --- a/google-cloud-asset/google-cloud-asset.gemspec +++ b/google-cloud-asset/google-cloud-asset.gemspec @@ -9,8 +9,8 @@ Gem::Specification.new do |gem| gem.authors = ["Google LLC"] gem.email = "googleapis-packages@google.com" - 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." gem.homepage = "https://github.com/googleapis/google-cloud-ruby" gem.license = "Apache-2.0" diff --git a/google-cloud-asset/lib/google-cloud-asset.rb b/google-cloud-asset/lib/google-cloud-asset.rb index b78d3bc5a858..fbae6bd4309d 100644 --- a/google-cloud-asset/lib/google-cloud-asset.rb +++ b/google-cloud-asset/lib/google-cloud-asset.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2020 Google LLC +# Copyright 2026 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google-cloud-asset/lib/google/cloud/asset.rb b/google-cloud-asset/lib/google/cloud/asset.rb index 42286de0d511..6df0ead9490c 100644 --- a/google-cloud-asset/lib/google/cloud/asset.rb +++ b/google-cloud-asset/lib/google/cloud/asset.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2020 Google LLC +# Copyright 2026 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google-cloud-asset/test/google/cloud/asset/client_test.rb b/google-cloud-asset/test/google/cloud/asset/client_test.rb index 00582a6d693e..a401066434a5 100644 --- a/google-cloud-asset/test/google/cloud/asset/client_test.rb +++ b/google-cloud-asset/test/google/cloud/asset/client_test.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2020 Google LLC +# Copyright 2026 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google-cloud-asset/test/google/cloud/asset/version_test.rb b/google-cloud-asset/test/google/cloud/asset/version_test.rb index 8ef267878f13..3f0fb19fdc45 100644 --- a/google-cloud-asset/test/google/cloud/asset/version_test.rb +++ b/google-cloud-asset/test/google/cloud/asset/version_test.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2020 Google LLC +# Copyright 2026 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google-cloud-asset/test/helper.rb b/google-cloud-asset/test/helper.rb index 224004ae7c6f..672b337030e7 100644 --- a/google-cloud-asset/test/helper.rb +++ b/google-cloud-asset/test/helper.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2020 Google LLC +# Copyright 2026 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.