diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index b55d18d1a6e..6c31c2ce629 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -10,6 +10,7 @@
"packages/google-cloud-bigquery-analyticshub": "0.1.0",
"packages/google-cloud-bigquery-datapolicies": "0.1.0",
"packages/google-cloud-gkemulticloud": "0.1.2",
+ "packages/google-cloud-language": "5.1.0",
"packages/google-cloud-oslogin": "4.0.2",
"packages/google-cloud-redis": "3.1.3",
"packages/google-cloud-security-publicca": "0.1.1",
diff --git a/packages/google-cloud-language/.github/.OwlBot.yaml b/packages/google-cloud-language/.OwlBot.yaml
similarity index 79%
rename from packages/google-cloud-language/.github/.OwlBot.yaml
rename to packages/google-cloud-language/.OwlBot.yaml
index 047cedc2fd1..b31158ec8a9 100644
--- a/packages/google-cloud-language/.github/.OwlBot.yaml
+++ b/packages/google-cloud-language/.OwlBot.yaml
@@ -11,13 +11,11 @@
# 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.
-docker:
- image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest
deep-remove-regex:
- /owl-bot-staging
deep-copy-regex:
- - source: /google/cloud/language/(.*)/.*-nodejs/(.*)
- dest: /owl-bot-staging/$1/$2
+ - source: /google/cloud/language/(.*)/.*-nodejs
+ dest: /owl-bot-staging/google-cloud-language/$1
diff --git a/packages/google-cloud-language/.mocharc.js b/packages/google-cloud-language/.mocharc.js
index 0b600509bed..cdb7b752160 100644
--- a/packages/google-cloud-language/.mocharc.js
+++ b/packages/google-cloud-language/.mocharc.js
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2022 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/packages/google-cloud-language/.prettierrc.js b/packages/google-cloud-language/.prettierrc.js
index d1b95106f4c..d546a4ad546 100644
--- a/packages/google-cloud-language/.prettierrc.js
+++ b/packages/google-cloud-language/.prettierrc.js
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2022 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/packages/google-cloud-language/.repo-metadata.json b/packages/google-cloud-language/.repo-metadata.json
index d8e23638f96..d3bebc8638c 100644
--- a/packages/google-cloud-language/.repo-metadata.json
+++ b/packages/google-cloud-language/.repo-metadata.json
@@ -11,7 +11,7 @@
"distribution_name": "@google-cloud/language",
"name_pretty": "Natural Language",
"api_id": "language.googleapis.com",
- "repo": "googleapis/nodejs-language",
+ "repo": "googleapis/google-cloud-node",
"api_shortname": "language",
"library_type": "GAPIC_AUTO"
}
diff --git a/packages/google-cloud-language/README.md b/packages/google-cloud-language/README.md
index 02128d65cc3..1795ffbc339 100644
--- a/packages/google-cloud-language/README.md
+++ b/packages/google-cloud-language/README.md
@@ -2,7 +2,7 @@
[//]: # "To regenerate it, use `python -m synthtool`."
-# [Natural Language: Node.js Client](https://github.com/googleapis/nodejs-language)
+# [Natural Language: Node.js Client](https://github.com/googleapis/google-cloud-node)
[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
[![npm version](https://img.shields.io/npm/v/@google-cloud/language.svg)](https://www.npmjs.org/package/@google-cloud/language)
@@ -10,17 +10,15 @@
-[Cloud Natural Language API](https://cloud.google.com/natural-language/docs) provides natural
-language understanding technologies to developers, including sentiment analysis, entity
-analysis, and syntax analysis. This API is part of the larger Cloud Machine Learning API family.
+Google Cloud Natural Language API client for Node.js
A comprehensive list of changes in each version may be found in
-[the CHANGELOG](https://github.com/googleapis/nodejs-language/blob/main/CHANGELOG.md).
+[the CHANGELOG](https://github.com/googleapis/google-cloud-node/blob/main/CHANGELOG.md).
* [Natural Language Node.js Client API Reference][client-docs]
* [Natural Language Documentation][product-docs]
-* [github.com/googleapis/nodejs-language](https://github.com/googleapis/nodejs-language)
+* [github.com/googleapis/google-cloud-node](https://github.com/googleapis/google-cloud-node)
Read more about the client libraries for Cloud APIs, including the older
Google APIs Client Libraries, in [Client Libraries Explained][explained].
@@ -89,13 +87,24 @@ async function quickstart() {
## Samples
-Samples are in the [`samples/`](https://github.com/googleapis/nodejs-language/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
+Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
-| Analyze v1 | [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/analyze.v1.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/analyze.v1.js,samples/README.md) |
-| Quickstart | [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
-| Set Endpoint | [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/setEndpoint.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/setEndpoint.js,samples/README.md) |
+| Language_service.analyze_entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entities.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_entities.js,samples/README.md) |
+| Language_service.analyze_entity_sentiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entity_sentiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_entity_sentiment.js,samples/README.md) |
+| Language_service.analyze_sentiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_sentiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_sentiment.js,samples/README.md) |
+| Language_service.analyze_syntax | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_syntax.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_syntax.js,samples/README.md) |
+| Language_service.annotate_text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.annotate_text.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.annotate_text.js,samples/README.md) |
+| Language_service.classify_text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.classify_text.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.classify_text.js,samples/README.md) |
+| Language_service.analyze_entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entities.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entities.js,samples/README.md) |
+| Language_service.analyze_entity_sentiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entity_sentiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entity_sentiment.js,samples/README.md) |
+| Language_service.analyze_sentiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_sentiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_sentiment.js,samples/README.md) |
+| Language_service.analyze_syntax | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_syntax.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_syntax.js,samples/README.md) |
+| Language_service.annotate_text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.annotate_text.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.annotate_text.js,samples/README.md) |
+| Language_service.classify_text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.classify_text.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.classify_text.js,samples/README.md) |
+| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/quickstart.js,samples/README.md) |
+| Quickstart.test | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/test/quickstart.test.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/test/quickstart.test.js,samples/README.md) |
@@ -145,7 +154,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]
## Contributing
-Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-language/blob/main/CONTRIBUTING.md).
+Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md).
Please note that this `README.md`, the `samples/README.md`,
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
@@ -157,7 +166,7 @@ to its templates in
Apache Version 2.0
-See [LICENSE](https://github.com/googleapis/nodejs-language/blob/main/LICENSE)
+See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
[client-docs]: https://cloud.google.com/nodejs/docs/reference/language/latest
[product-docs]: https://cloud.google.com/natural-language/docs/
diff --git a/packages/google-cloud-language/package.json b/packages/google-cloud-language/package.json
index 8d5f8ebe163..18e11b51ead 100644
--- a/packages/google-cloud-language/package.json
+++ b/packages/google-cloud-language/package.json
@@ -32,8 +32,8 @@
"scripts": {
"docs": "jsdoc -c .jsdoc.js",
"lint": "gts check",
- "samples-test": "cd samples/ && npm link ../ && npm install && npm test && cd ../",
- "system-test": "mocha build/system-test",
+ "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
+ "system-test": "npm run compile && c8 mocha build/system-test",
"test": "c8 mocha build/test",
"fix": "gts fix",
"docs-test": "linkinator docs",
diff --git a/packages/google-cloud-language/samples/README.md b/packages/google-cloud-language/samples/README.md
index 191187d14cc..fb68ff25032 100644
--- a/packages/google-cloud-language/samples/README.md
+++ b/packages/google-cloud-language/samples/README.md
@@ -2,26 +2,35 @@
[//]: # "To regenerate it, use `python -m synthtool`."
-# [Natural Language: Node.js Samples](https://github.com/googleapis/nodejs-language)
+# [Natural Language: Node.js Samples](https://github.com/googleapis/google-cloud-node)
[![Open in Cloud Shell][shell_img]][shell_link]
-[Cloud Natural Language API](https://cloud.google.com/natural-language/docs) provides natural
-language understanding technologies to developers, including sentiment analysis, entity
-analysis, and syntax analysis. This API is part of the larger Cloud Machine Learning API family.
+
## Table of Contents
* [Before you begin](#before-you-begin)
* [Samples](#samples)
- * [Analyze v1](#analyze-v1)
+ * [Language_service.analyze_entities](#language_service.analyze_entities)
+ * [Language_service.analyze_entity_sentiment](#language_service.analyze_entity_sentiment)
+ * [Language_service.analyze_sentiment](#language_service.analyze_sentiment)
+ * [Language_service.analyze_syntax](#language_service.analyze_syntax)
+ * [Language_service.annotate_text](#language_service.annotate_text)
+ * [Language_service.classify_text](#language_service.classify_text)
+ * [Language_service.analyze_entities](#language_service.analyze_entities)
+ * [Language_service.analyze_entity_sentiment](#language_service.analyze_entity_sentiment)
+ * [Language_service.analyze_sentiment](#language_service.analyze_sentiment)
+ * [Language_service.analyze_syntax](#language_service.analyze_syntax)
+ * [Language_service.annotate_text](#language_service.annotate_text)
+ * [Language_service.classify_text](#language_service.classify_text)
* [Quickstart](#quickstart)
- * [Set Endpoint](#set-endpoint)
+ * [Quickstart.test](#quickstart.test)
## Before you begin
Before running the samples, make sure you've followed the steps outlined in
-[Using the client library](https://github.com/googleapis/nodejs-language#using-the-client-library).
+[Using the client library](https://github.com/googleapis/google-cloud-node#using-the-client-library).
`cd samples`
@@ -33,16 +42,203 @@ Before running the samples, make sure you've followed the steps outlined in
-### Analyze v1
+### Language_service.analyze_entities
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entities.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_entities.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-language/samples/generated/v1/language_service.analyze_entities.js`
+
+
+-----
+
+
+
+
+### Language_service.analyze_entity_sentiment
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entity_sentiment.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_entity_sentiment.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-language/samples/generated/v1/language_service.analyze_entity_sentiment.js`
+
+
+-----
+
+
+
+
+### Language_service.analyze_sentiment
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_sentiment.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_sentiment.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-language/samples/generated/v1/language_service.analyze_sentiment.js`
+
+
+-----
+
+
+
+
+### Language_service.analyze_syntax
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_syntax.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_syntax.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-language/samples/generated/v1/language_service.analyze_syntax.js`
+
+
+-----
+
+
+
+
+### Language_service.annotate_text
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.annotate_text.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.annotate_text.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-language/samples/generated/v1/language_service.annotate_text.js`
+
+
+-----
+
+
+
+
+### Language_service.classify_text
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.classify_text.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.classify_text.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-language/samples/generated/v1/language_service.classify_text.js`
+
+
+-----
+
+
+
+
+### Language_service.analyze_entities
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entities.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entities.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entities.js`
+
+
+-----
+
+
+
+
+### Language_service.analyze_entity_sentiment
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entity_sentiment.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entity_sentiment.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entity_sentiment.js`
+
+
+-----
+
+
+
+
+### Language_service.analyze_sentiment
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_sentiment.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_sentiment.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_sentiment.js`
+
+
+-----
+
+
+
+
+### Language_service.analyze_syntax
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_syntax.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_syntax.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_syntax.js`
+
+
+-----
+
+
+
+
+### Language_service.annotate_text
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.annotate_text.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.annotate_text.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-language/samples/generated/v1beta2/language_service.annotate_text.js`
+
+
+-----
+
+
+
+
+### Language_service.classify_text
-View the [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/analyze.v1.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.classify_text.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/analyze.v1.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.classify_text.js,samples/README.md)
__Usage:__
-`node samples/analyze.v1.js`
+`node packages/google-cloud-language/samples/generated/v1beta2/language_service.classify_text.js`
-----
@@ -52,14 +248,14 @@ __Usage:__
### Quickstart
-View the [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/quickstart.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/quickstart.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/quickstart.js,samples/README.md)
__Usage:__
-`node samples/quickstart.js`
+`node packages/google-cloud-language/samples/quickstart.js`
-----
@@ -67,16 +263,16 @@ __Usage:__
-### Set Endpoint
+### Quickstart.test
-View the [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/setEndpoint.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/test/quickstart.test.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/setEndpoint.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/test/quickstart.test.js,samples/README.md)
__Usage:__
-`node samples/setEndpoint.js`
+`node packages/google-cloud-language/samples/test/quickstart.test.js`
@@ -84,5 +280,5 @@ __Usage:__
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
-[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/README.md
+[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=samples/README.md
[product-docs]: https://cloud.google.com/natural-language/docs/
diff --git a/packages/google-cloud-language/src/index.ts b/packages/google-cloud-language/src/index.ts
index 2c3a55d420a..d41f5db2732 100644
--- a/packages/google-cloud-language/src/index.ts
+++ b/packages/google-cloud-language/src/index.ts
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2022 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/release-please-config.json b/release-please-config.json
index 38d86ff6180..6e44f27d6f2 100644
--- a/release-please-config.json
+++ b/release-please-config.json
@@ -10,6 +10,7 @@
"packages/google-cloud-bigquery-analyticshub": {},
"packages/google-cloud-bigquery-datapolicies": {},
"packages/google-cloud-gkemulticloud": {},
+ "packages/google-cloud-language": {},
"packages/google-cloud-oslogin": {},
"packages/google-cloud-redis": {},
"packages/google-cloud-security-publicca": {},