From 6e824aeeafa5aa6d26c7476c3a3aa6174eb9368d Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Mon, 15 Jun 2026 06:52:27 +0000 Subject: [PATCH] chore: migrate google-cloud-translate to librarian --- librarian.yaml | 5 ++- packages/google-cloud-translate/.OwlBot.yaml | 21 ------------- .../.repo-metadata.json | 31 +++++++++---------- 3 files changed, 19 insertions(+), 38 deletions(-) delete mode 100644 packages/google-cloud-translate/.OwlBot.yaml diff --git a/librarian.yaml b/librarian.yaml index 7765058b5626..5d2bfc12a538 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -1489,7 +1489,10 @@ libraries: - path: google/cloud/translate/v3 - path: google/cloud/translate/v3beta1 copyright_year: "2026" - skip_generate: true + keep: + - src/v2/index.ts + - src/index.ts + - test/index.ts nodejs: default_version: v3 dependencies: diff --git a/packages/google-cloud-translate/.OwlBot.yaml b/packages/google-cloud-translate/.OwlBot.yaml deleted file mode 100644 index cb6d6ae2f806..000000000000 --- a/packages/google-cloud-translate/.OwlBot.yaml +++ /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. - -deep-remove-regex: - - /owl-bot-staging -deep-copy-regex: - - source: /google/cloud/translate/google-cloud-translate-nodejs - dest: /owl-bot-staging/google-cloud-translate -begin-after-commit-hash: f43939eac6a0bb5998c1fa0f79063194e699230e -api-name: translate diff --git a/packages/google-cloud-translate/.repo-metadata.json b/packages/google-cloud-translate/.repo-metadata.json index 331a181f16c3..a1b50e80d489 100644 --- a/packages/google-cloud-translate/.repo-metadata.json +++ b/packages/google-cloud-translate/.repo-metadata.json @@ -1,17 +1,16 @@ { - "distribution_name": "@google-cloud/translate", - "release_level": "stable", - "product_documentation": "https://cloud.google.com/translate/docs/", - "repo": "googleapis/google-cloud-node", - "default_version": "v3", - "language": "nodejs", - "requires_billing": true, - "issue_tracker": "https://issuetracker.google.com/savedsearches/559749", - "client_documentation": "https://cloud.google.com/nodejs/docs/reference/translate/latest", - "name": "translate", - "name_pretty": "Cloud Translation", - "api_id": "translate.googleapis.com", - "codeowner_team": "@googleapis/ml-apis", - "api_shortname": "translate", - "library_type": "GAPIC_AUTO" -} + "api_description": "Integrates text translation into your website or application.", + "api_id": "translate.googleapis.com", + "api_shortname": "translate", + "client_documentation": "https://cloud.google.com/nodejs/docs/reference/translate/latest", + "default_version": "v3", + "distribution_name": "@google-cloud/translate", + "issue_tracker": "https://issuetracker.google.com/savedsearches/559749", + "language": "nodejs", + "library_type": "GAPIC_AUTO", + "name": "translate", + "name_pretty": "Cloud Translation", + "product_documentation": "https://cloud.google.com/translate/docs", + "release_level": "stable", + "repo": "googleapis/google-cloud-node" +} \ No newline at end of file