Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions librarian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1517,6 +1517,7 @@ libraries:
- path: google/cloud/translate/v3
- path: google/cloud/translate/v3beta1
copyright_year: "2026"
skip_generate: true
nodejs:
default_version: v3
dependencies:
Expand Down
21 changes: 21 additions & 0 deletions packages/google-cloud-translate/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 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
31 changes: 16 additions & 15 deletions packages/google-cloud-translate/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"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"
}
"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"
}
5 changes: 3 additions & 2 deletions packages/google-cloud-translate/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
// ** https://github.com/googleapis/synthtool **
// ** All changes to this file may be overwritten. **

import * as v2 from './v2';
import * as v3 from './v3';
import * as v3beta1 from './v3beta1';

const TranslationServiceClient = v3.TranslationServiceClient;
type TranslationServiceClient = v3.TranslationServiceClient;

export {v3, v3beta1, TranslationServiceClient};
export default {v3, v3beta1, TranslationServiceClient};
export {v2, v3, v3beta1, TranslationServiceClient};
export default {v2, v3, v3beta1, TranslationServiceClient};
import * as protos from '../protos/protos';
export {protos};
Loading
Loading