From ff570cc0773de949ea5fb7ed180c0d9ac6cab13b Mon Sep 17 00:00:00 2001 From: Sophia Yang <171981480+yangyzs@users.noreply.github.com> Date: Thu, 23 Jul 2026 09:31:51 -0400 Subject: [PATCH 1/2] chore: update librarian to v0.29.1 Librarian version upgrade and the `generate --all` command: ``` $ go run github.com/googleapis/librarian/cmd/librarian@v0.29.1 generate --all ``` This didn't generate any diff. TAG=agy CONV=28009f37-9dbd-4b87-903e-1c19bf2b811e --- librarian.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librarian.yaml b/librarian.yaml index 2e577a2901a4..c14ce5a05a16 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. language: java -version: v0.28.0 +version: v0.29.1 repo: googleapis/google-cloud-java sources: googleapis: From 3811dcf79a95f547d915292c4519f3905237f4e7 Mon Sep 17 00:00:00 2001 From: Sophia Yang <171981480+yangyzs@users.noreply.github.com> Date: Thu, 23 Jul 2026 14:18:59 -0400 Subject: [PATCH 2/2] chore: modernize post-processing for java-storage Remove legacy owlbot.py script and migrate configuration to librarian.yaml for the storage library. For https://github.com/googleapis/librarian/issues/6931 --- java-storage/README.md | 14 ++++++-------- java-storage/owlbot.py | 41 ----------------------------------------- 2 files changed, 6 insertions(+), 49 deletions(-) delete mode 100644 java-storage/owlbot.py diff --git a/java-storage/README.md b/java-storage/README.md index 765b9e9ac930..2db3d911b8e0 100644 --- a/java-storage/README.md +++ b/java-storage/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.78.0 + 26.83.0 pom import @@ -36,7 +36,6 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: google-cloud-storage-control - ``` If you are using Maven without the BOM, add this to your dependencies: @@ -46,14 +45,13 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-storage - 2.64.0 + 2.70.0 com.google.cloud google-cloud-storage-control - 2.64.0 + 2.70.0 - ``` If you are using Gradle 5.x or later, add this to your dependencies: @@ -63,6 +61,7 @@ implementation platform('com.google.cloud:libraries-bom:26.83.0') implementation 'com.google.cloud:google-cloud-storage' ``` + If you are using Gradle without BOM, add this to your dependencies: ```Groovy @@ -88,7 +87,7 @@ The client application making API calls must be granted [authorization scopes][a ### Prerequisites You will need a [Google Cloud Platform Console][developer-console] project with the Cloud Storage [API enabled][enable-api]. - +You will need to [enable billing][enable-billing] to use Google Cloud Storage. [Follow these instructions][create-project] to get your project set up. You will also need to set up the local development environment by [installing the Google Cloud Command Line Interface][cloud-cli] and running the following commands in command line: `gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`. @@ -446,7 +445,6 @@ the individual GitHub repository `github.com/GoogleAPIs/java-SERVICENAME` and on [google-cloud-java][g-c-j]. ## Versioning - This library follows [Semantic Versioning](http://semver.org/), but does update [Storage interface](src/main/java/com.google.cloud.storage/Storage.java) to introduce new methods which can break your implementations if you implement this interface for testing purposes. @@ -486,7 +484,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [contributing]: https://github.com/googleapis/google-cloud-java/blob/main/CONTRIBUTING.md [code-of-conduct]: https://github.com/googleapis/google-cloud-java/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct [license]: https://github.com/googleapis/google-cloud-java/blob/main/LICENSE - +[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing [enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=storage.googleapis.com [libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png diff --git a/java-storage/owlbot.py b/java-storage/owlbot.py deleted file mode 100644 index b912766a8f43..000000000000 --- a/java-storage/owlbot.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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. -# You may obtain a copy of the License at -# -# https://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. - -import synthtool as s -from synthtool.languages import java - -'This script is used to synthesize generated parts of this library.' -import os - -for library in s.get_staging_dirs(): - # put any special-case replacements here - if os.path.exists('owl-bot-staging/v2/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/gapic_metadata.json'): - os.remove('owl-bot-staging/v2/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/gapic_metadata.json') - s.move(library) -s.remove_staging_dirs() -java.common_templates( - monorepo=True, - excludes=[ - ".github/*", - ".kokoro/*", - "samples/*", - "CODE_OF_CONDUCT.md", - "CONTRIBUTING.md", - "LICENSE", - "SECURITY.md", - "java.header", - "license-checks.xml", - "renovate.json", - ".gitignore" -])