From 5a8917af4af7992cad63f4ebc9b280fa978aabc1 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 2 Sep 2026 16:14:43 +0000 Subject: [PATCH 1/2] update config --- librarian.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/librarian.yaml b/librarian.yaml index d2cc3ce5c4c8..e8bde286bac2 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -2061,10 +2061,11 @@ libraries: ruby-cloud-service-override: WorkflowsServiceV2Beta=WorkflowsService - name: google-cloud-location version: 1.5.1 + apis: + - path: google/cloud/location keep: - README.md - .repo-metadata.json - skip_generate: true - name: google-cloud-location_finder version: 1.0.1 apis: From 998c1ce392263906a4f3a0413695213edd441e22 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 2 Sep 2026 16:15:03 +0000 Subject: [PATCH 2/2] regen google-cloud-location --- google-cloud-location/.OwlBot.yaml | 3 -- google-cloud-location/.owlbot-manifest.json | 47 ------------------- google-cloud-location/.owlbot.rb | 21 --------- google-cloud-location/.toys.rb | 2 +- google-cloud-location/.yardopts | 2 +- google-cloud-location/Rakefile | 2 +- .../google-cloud-location.gemspec | 4 +- .../lib/google-cloud-location.rb | 2 +- .../lib/google/cloud/location.rb | 2 +- .../lib/google/cloud/location/locations.rb | 2 +- .../google/cloud/location/locations/client.rb | 2 +- .../cloud/location/locations/credentials.rb | 2 +- .../google/cloud/location/locations/rest.rb | 2 +- .../cloud/location/locations/rest/client.rb | 2 +- .../location/locations/rest/service_stub.rb | 2 +- .../cloud/location/locations_services_pb.rb | 2 +- .../lib/google/cloud/location/rest.rb | 2 +- google-cloud-location/proto_docs/README.md | 2 +- .../proto_docs/google/api/client.rb | 2 +- .../proto_docs/google/api/launch_stage.rb | 2 +- .../proto_docs/google/api/resource.rb | 2 +- .../google/cloud/location/locations.rb | 2 +- .../proto_docs/google/protobuf/any.rb | 2 +- .../proto_docs/google/protobuf/duration.rb | 2 +- google-cloud-location/snippets/Gemfile | 2 +- .../snippets/locations/get_location.rb | 6 +-- .../snippets/locations/list_locations.rb | 6 +-- .../cloud/location/locations_rest_test.rb | 2 +- .../google/cloud/location/locations_test.rb | 2 +- google-cloud-location/test/helper.rb | 2 +- 30 files changed, 32 insertions(+), 103 deletions(-) delete mode 100644 google-cloud-location/.OwlBot.yaml delete mode 100644 google-cloud-location/.owlbot-manifest.json delete mode 100644 google-cloud-location/.owlbot.rb mode change 100755 => 100644 google-cloud-location/snippets/Gemfile mode change 100755 => 100644 google-cloud-location/snippets/locations/get_location.rb mode change 100755 => 100644 google-cloud-location/snippets/locations/list_locations.rb diff --git a/google-cloud-location/.OwlBot.yaml b/google-cloud-location/.OwlBot.yaml deleted file mode 100644 index 9fae0899671a..000000000000 --- a/google-cloud-location/.OwlBot.yaml +++ /dev/null @@ -1,3 +0,0 @@ -deep-copy-regex: - - source: /google/cloud/location/[^/]+-ruby/(.*) - dest: /owl-bot-staging/google-cloud-location/$1 diff --git a/google-cloud-location/.owlbot-manifest.json b/google-cloud-location/.owlbot-manifest.json deleted file mode 100644 index 15c75167c966..000000000000 --- a/google-cloud-location/.owlbot-manifest.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "generated": [ - ".gitignore", - ".repo-metadata.json", - ".rubocop.yml", - ".toys.rb", - ".yardopts", - "AUTHENTICATION.md", - "CHANGELOG.md", - "Gemfile", - "LICENSE.md", - "README.md", - "Rakefile", - "gapic_metadata.json", - "google-cloud-location.gemspec", - "lib/google-cloud-location.rb", - "lib/google/cloud/location.rb", - "lib/google/cloud/location/locations.rb", - "lib/google/cloud/location/locations/client.rb", - "lib/google/cloud/location/locations/credentials.rb", - "lib/google/cloud/location/locations/rest.rb", - "lib/google/cloud/location/locations/rest/client.rb", - "lib/google/cloud/location/locations/rest/service_stub.rb", - "lib/google/cloud/location/locations_pb.rb", - "lib/google/cloud/location/locations_services_pb.rb", - "lib/google/cloud/location/rest.rb", - "lib/google/cloud/location/version.rb", - "proto_docs/README.md", - "proto_docs/google/api/client.rb", - "proto_docs/google/api/launch_stage.rb", - "proto_docs/google/api/resource.rb", - "proto_docs/google/cloud/location/locations.rb", - "proto_docs/google/protobuf/any.rb", - "proto_docs/google/protobuf/duration.rb", - "snippets/Gemfile", - "snippets/locations/get_location.rb", - "snippets/locations/list_locations.rb", - "snippets/snippet_metadata_google.cloud.location.json", - "test/google/cloud/location/locations_rest_test.rb", - "test/google/cloud/location/locations_test.rb", - "test/helper.rb" - ], - "static": [ - ".OwlBot.yaml", - ".owlbot.rb" - ] -} diff --git a/google-cloud-location/.owlbot.rb b/google-cloud-location/.owlbot.rb deleted file mode 100644 index 69587457428a..000000000000 --- a/google-cloud-location/.owlbot.rb +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2021 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Custom readme because this isn't an end-user client. -OwlBot.prevent_overwrite_of_existing "README.md" - -# We've customized a few fields in repo-metadata. -OwlBot.prevent_overwrite_of_existing ".repo-metadata.json" - -OwlBot.move_files diff --git a/google-cloud-location/.toys.rb b/google-cloud-location/.toys.rb index 23434bdd5d5b..177e22456e8a 100644 --- a/google-cloud-location/.toys.rb +++ b/google-cloud-location/.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-location/.yardopts b/google-cloud-location/.yardopts index 1fcef5130b6a..af341ceafe97 100644 --- a/google-cloud-location/.yardopts +++ b/google-cloud-location/.yardopts @@ -1,5 +1,5 @@ --no-private ---title="Locations API" +--title="Cloud Metadata API" --exclude _pb\.rb$ --markup markdown --markup-provider redcarpet diff --git a/google-cloud-location/Rakefile b/google-cloud-location/Rakefile index 692593daaba4..445520cbc016 100644 --- a/google-cloud-location/Rakefile +++ b/google-cloud-location/Rakefile @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2021 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-location/google-cloud-location.gemspec b/google-cloud-location/google-cloud-location.gemspec index d0472194bcaa..d1010b0e3676 100644 --- a/google-cloud-location/google-cloud-location.gemspec +++ b/google-cloud-location/google-cloud-location.gemspec @@ -9,8 +9,8 @@ Gem::Specification.new do |gem| gem.authors = ["Google LLC"] gem.email = "googleapis-packages@google.com" - gem.description = "An add-on interface used by some Google API clients to provide location management calls." - gem.summary = "API Client library for the Locations API" + gem.description = "This API provides static metadata about Google Cloud Platform. Currently, it only provides basic information about Google Cloud locations, such as zones, regions, and countries." + gem.summary = "This API provides static metadata about Google Cloud Platform. Currently, it only provides basic information about Google Cloud locations, such as zones, regions, and countries." gem.homepage = "https://github.com/googleapis/google-cloud-ruby" gem.license = "Apache-2.0" diff --git a/google-cloud-location/lib/google-cloud-location.rb b/google-cloud-location/lib/google-cloud-location.rb index 81af7d83b642..604cbbbc917a 100644 --- a/google-cloud-location/lib/google-cloud-location.rb +++ b/google-cloud-location/lib/google-cloud-location.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2021 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-location/lib/google/cloud/location.rb b/google-cloud-location/lib/google/cloud/location.rb index e64ceff4ecf6..8af6715a197d 100644 --- a/google-cloud-location/lib/google/cloud/location.rb +++ b/google-cloud-location/lib/google/cloud/location.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2021 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-location/lib/google/cloud/location/locations.rb b/google-cloud-location/lib/google/cloud/location/locations.rb index 9d01ecef4601..f5bec73fd038 100644 --- a/google-cloud-location/lib/google/cloud/location/locations.rb +++ b/google-cloud-location/lib/google/cloud/location/locations.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2021 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-location/lib/google/cloud/location/locations/client.rb b/google-cloud-location/lib/google/cloud/location/locations/client.rb index 64c8f837d0fc..03f969ecd3f2 100644 --- a/google-cloud-location/lib/google/cloud/location/locations/client.rb +++ b/google-cloud-location/lib/google/cloud/location/locations/client.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2021 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-location/lib/google/cloud/location/locations/credentials.rb b/google-cloud-location/lib/google/cloud/location/locations/credentials.rb index aa95a389494b..a77b6059b140 100644 --- a/google-cloud-location/lib/google/cloud/location/locations/credentials.rb +++ b/google-cloud-location/lib/google/cloud/location/locations/credentials.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2021 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-location/lib/google/cloud/location/locations/rest.rb b/google-cloud-location/lib/google/cloud/location/locations/rest.rb index 2db760610086..26cf98eb35e5 100644 --- a/google-cloud-location/lib/google/cloud/location/locations/rest.rb +++ b/google-cloud-location/lib/google/cloud/location/locations/rest.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2023 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-location/lib/google/cloud/location/locations/rest/client.rb b/google-cloud-location/lib/google/cloud/location/locations/rest/client.rb index 9ee92e00b47b..c98103165fcd 100644 --- a/google-cloud-location/lib/google/cloud/location/locations/rest/client.rb +++ b/google-cloud-location/lib/google/cloud/location/locations/rest/client.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2023 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-location/lib/google/cloud/location/locations/rest/service_stub.rb b/google-cloud-location/lib/google/cloud/location/locations/rest/service_stub.rb index b79d4bb3c0dd..fbba491cf6ec 100644 --- a/google-cloud-location/lib/google/cloud/location/locations/rest/service_stub.rb +++ b/google-cloud-location/lib/google/cloud/location/locations/rest/service_stub.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2023 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-location/lib/google/cloud/location/locations_services_pb.rb b/google-cloud-location/lib/google/cloud/location/locations_services_pb.rb index 37a98424fd28..51c108a6968d 100644 --- a/google-cloud-location/lib/google/cloud/location/locations_services_pb.rb +++ b/google-cloud-location/lib/google/cloud/location/locations_services_pb.rb @@ -1,7 +1,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # Source: google/cloud/location/locations.proto for package 'google.cloud.location' # Original file comments: -# Copyright 2020 Google LLC +# Copyright 2025 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-location/lib/google/cloud/location/rest.rb b/google-cloud-location/lib/google/cloud/location/rest.rb index 83377b9bdc97..7ad62ccadc04 100644 --- a/google-cloud-location/lib/google/cloud/location/rest.rb +++ b/google-cloud-location/lib/google/cloud/location/rest.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2023 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-location/proto_docs/README.md b/google-cloud-location/proto_docs/README.md index 85ce889d45a0..c6fd39f145b5 100644 --- a/google-cloud-location/proto_docs/README.md +++ b/google-cloud-location/proto_docs/README.md @@ -1,4 +1,4 @@ -# Locations Protocol Buffer Documentation +# Cloud Metadata Protocol Buffer Documentation These files are for the YARD documentation of the generated protobuf files. They are not intended to be required or loaded at runtime. diff --git a/google-cloud-location/proto_docs/google/api/client.rb b/google-cloud-location/proto_docs/google/api/client.rb index e62ceba4577a..3ab0b096d445 100644 --- a/google-cloud-location/proto_docs/google/api/client.rb +++ b/google-cloud-location/proto_docs/google/api/client.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2022 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-location/proto_docs/google/api/launch_stage.rb b/google-cloud-location/proto_docs/google/api/launch_stage.rb index ce75038366ae..9392a413fb1b 100644 --- a/google-cloud-location/proto_docs/google/api/launch_stage.rb +++ b/google-cloud-location/proto_docs/google/api/launch_stage.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2022 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-location/proto_docs/google/api/resource.rb b/google-cloud-location/proto_docs/google/api/resource.rb index 85d0a8f50bba..25dec4847ac1 100644 --- a/google-cloud-location/proto_docs/google/api/resource.rb +++ b/google-cloud-location/proto_docs/google/api/resource.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2021 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-location/proto_docs/google/cloud/location/locations.rb b/google-cloud-location/proto_docs/google/cloud/location/locations.rb index d83ab6412bc5..ed3a0fc08ad3 100644 --- a/google-cloud-location/proto_docs/google/cloud/location/locations.rb +++ b/google-cloud-location/proto_docs/google/cloud/location/locations.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2021 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-location/proto_docs/google/protobuf/any.rb b/google-cloud-location/proto_docs/google/protobuf/any.rb index 4fde75cec2aa..58691995f02e 100644 --- a/google-cloud-location/proto_docs/google/protobuf/any.rb +++ b/google-cloud-location/proto_docs/google/protobuf/any.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2021 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-location/proto_docs/google/protobuf/duration.rb b/google-cloud-location/proto_docs/google/protobuf/duration.rb index ca97d06a00ef..ea59f1f91daf 100644 --- a/google-cloud-location/proto_docs/google/protobuf/duration.rb +++ b/google-cloud-location/proto_docs/google/protobuf/duration.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2022 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-location/snippets/Gemfile b/google-cloud-location/snippets/Gemfile old mode 100755 new mode 100644 index 5845795bfc2d..588c49338836 --- a/google-cloud-location/snippets/Gemfile +++ b/google-cloud-location/snippets/Gemfile @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2021 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-location/snippets/locations/get_location.rb b/google-cloud-location/snippets/locations/get_location.rb old mode 100755 new mode 100644 index 9558678fd936..4e71155d8dbf --- a/google-cloud-location/snippets/locations/get_location.rb +++ b/google-cloud-location/snippets/locations/get_location.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2021 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. @@ -16,7 +16,7 @@ # Auto-generated by gapic-generator-ruby. DO NOT EDIT! -# [START location_v0_generated_Locations_GetLocation_sync] +# [START cloud_v0_generated_Locations_GetLocation_sync] require "google/cloud/location" ## @@ -44,4 +44,4 @@ def get_location # The returned object is of type Google::Cloud::Location::Location. p result end -# [END location_v0_generated_Locations_GetLocation_sync] +# [END cloud_v0_generated_Locations_GetLocation_sync] diff --git a/google-cloud-location/snippets/locations/list_locations.rb b/google-cloud-location/snippets/locations/list_locations.rb old mode 100755 new mode 100644 index fec2c16da968..26eaa544e9af --- a/google-cloud-location/snippets/locations/list_locations.rb +++ b/google-cloud-location/snippets/locations/list_locations.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2021 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. @@ -16,7 +16,7 @@ # Auto-generated by gapic-generator-ruby. DO NOT EDIT! -# [START location_v0_generated_Locations_ListLocations_sync] +# [START cloud_v0_generated_Locations_ListLocations_sync] require "google/cloud/location" ## @@ -48,4 +48,4 @@ def list_locations p item end end -# [END location_v0_generated_Locations_ListLocations_sync] +# [END cloud_v0_generated_Locations_ListLocations_sync] diff --git a/google-cloud-location/test/google/cloud/location/locations_rest_test.rb b/google-cloud-location/test/google/cloud/location/locations_rest_test.rb index 18540bdb2d81..1344cc780e6b 100644 --- a/google-cloud-location/test/google/cloud/location/locations_rest_test.rb +++ b/google-cloud-location/test/google/cloud/location/locations_rest_test.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2023 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-location/test/google/cloud/location/locations_test.rb b/google-cloud-location/test/google/cloud/location/locations_test.rb index c60d98625c6b..1ebf2e676961 100644 --- a/google-cloud-location/test/google/cloud/location/locations_test.rb +++ b/google-cloud-location/test/google/cloud/location/locations_test.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2021 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-location/test/helper.rb b/google-cloud-location/test/helper.rb index 9ead73a4e10a..4fb6756ac7e2 100644 --- a/google-cloud-location/test/helper.rb +++ b/google-cloud-location/test/helper.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2021 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.