From 23efbeedc06536a32e80507c915fcd691a9cb474 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 26 Jan 2022 20:02:15 +0000 Subject: [PATCH] chore: update v2.12.0 gapic-generator-typescript (#645) - [ ] Regenerate this pull request now. Committer: @summer-ji-eng PiperOrigin-RevId: 424244721 Source-Link: https://github.com/googleapis/googleapis/commit/4b6b01f507ebc3df95fdf8e1d76b0ae0ae33e52c Source-Link: https://github.com/googleapis/googleapis-gen/commit/8ac83fba606d008c7e8a42e7d55b6596ec4be35f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGFjODNmYmE2MDZkMDA4YzdlOGE0MmU3ZDU1YjY1OTZlYzRiZTM1ZiJ9 --- packages/google-cloud-language/.jsdoc.js | 4 ++-- packages/google-cloud-language/linkinator.config.json | 10 ++++++++-- .../generated/v1/language_service.analyze_entities.js | 1 + .../v1/language_service.analyze_entity_sentiment.js | 1 + .../generated/v1/language_service.analyze_sentiment.js | 1 + .../generated/v1/language_service.analyze_syntax.js | 1 + .../generated/v1/language_service.annotate_text.js | 1 + .../generated/v1/language_service.classify_text.js | 1 + .../v1beta2/language_service.analyze_entities.js | 1 + .../language_service.analyze_entity_sentiment.js | 1 + .../v1beta2/language_service.analyze_sentiment.js | 1 + .../v1beta2/language_service.analyze_syntax.js | 1 + .../v1beta2/language_service.annotate_text.js | 1 + .../v1beta2/language_service.classify_text.js | 1 + packages/google-cloud-language/src/v1/index.ts | 2 +- .../src/v1/language_service_client.ts | 2 +- packages/google-cloud-language/src/v1beta2/index.ts | 2 +- .../src/v1beta2/language_service_client.ts | 2 +- .../system-test/fixtures/sample/src/index.js | 2 +- .../system-test/fixtures/sample/src/index.ts | 2 +- packages/google-cloud-language/system-test/install.ts | 2 +- .../test/gapic_language_service_v1.ts | 2 +- .../test/gapic_language_service_v1beta2.ts | 2 +- 23 files changed, 31 insertions(+), 13 deletions(-) diff --git a/packages/google-cloud-language/.jsdoc.js b/packages/google-cloud-language/.jsdoc.js index 1bf22dc4420..7961113291c 100644 --- a/packages/google-cloud-language/.jsdoc.js +++ b/packages/google-cloud-language/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2021 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. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2021 Google LLC', + copyright: 'Copyright 2022 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/language', diff --git a/packages/google-cloud-language/linkinator.config.json b/packages/google-cloud-language/linkinator.config.json index 0121dfa684f..befd23c8633 100644 --- a/packages/google-cloud-language/linkinator.config.json +++ b/packages/google-cloud-language/linkinator.config.json @@ -3,8 +3,14 @@ "skip": [ "https://codecov.io/gh/googleapis/", "www.googleapis.com", - "img.shields.io" + "img.shields.io", + "https://console.cloud.google.com/cloudshell", + "https://support.google.com" ], "silent": true, - "concurrency": 5 + "concurrency": 5, + "retry": true, + "retryErrors": true, + "retryErrorsCount": 5, + "retryErrorsJitter": 3000 } diff --git a/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entities.js b/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entities.js index d74f55fa4d5..d85d12658d8 100644 --- a/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entities.js +++ b/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entities.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(document) { diff --git a/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entity_sentiment.js b/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entity_sentiment.js index b78fbfc9d6b..1cbd18cbc2a 100644 --- a/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entity_sentiment.js +++ b/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entity_sentiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(document) { diff --git a/packages/google-cloud-language/samples/generated/v1/language_service.analyze_sentiment.js b/packages/google-cloud-language/samples/generated/v1/language_service.analyze_sentiment.js index 440cec2398d..9127675f5ab 100644 --- a/packages/google-cloud-language/samples/generated/v1/language_service.analyze_sentiment.js +++ b/packages/google-cloud-language/samples/generated/v1/language_service.analyze_sentiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(document) { diff --git a/packages/google-cloud-language/samples/generated/v1/language_service.analyze_syntax.js b/packages/google-cloud-language/samples/generated/v1/language_service.analyze_syntax.js index 402a250e40e..a76c068b718 100644 --- a/packages/google-cloud-language/samples/generated/v1/language_service.analyze_syntax.js +++ b/packages/google-cloud-language/samples/generated/v1/language_service.analyze_syntax.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(document) { diff --git a/packages/google-cloud-language/samples/generated/v1/language_service.annotate_text.js b/packages/google-cloud-language/samples/generated/v1/language_service.annotate_text.js index 9b2be51bfc4..f5205a407e5 100644 --- a/packages/google-cloud-language/samples/generated/v1/language_service.annotate_text.js +++ b/packages/google-cloud-language/samples/generated/v1/language_service.annotate_text.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(document, features) { diff --git a/packages/google-cloud-language/samples/generated/v1/language_service.classify_text.js b/packages/google-cloud-language/samples/generated/v1/language_service.classify_text.js index b20fb03a568..9d8ca8830f2 100644 --- a/packages/google-cloud-language/samples/generated/v1/language_service.classify_text.js +++ b/packages/google-cloud-language/samples/generated/v1/language_service.classify_text.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(document) { diff --git a/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entities.js b/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entities.js index 358fb868823..455a7810e7e 100644 --- a/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entities.js +++ b/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entities.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(document) { diff --git a/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entity_sentiment.js b/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entity_sentiment.js index 0061d977863..41aa78c26d2 100644 --- a/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entity_sentiment.js +++ b/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entity_sentiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(document) { diff --git a/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_sentiment.js b/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_sentiment.js index b27b7eaccae..8c705a72ca1 100644 --- a/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_sentiment.js +++ b/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_sentiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(document) { diff --git a/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_syntax.js b/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_syntax.js index a8a770776ae..1ec5203cfa7 100644 --- a/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_syntax.js +++ b/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_syntax.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(document) { diff --git a/packages/google-cloud-language/samples/generated/v1beta2/language_service.annotate_text.js b/packages/google-cloud-language/samples/generated/v1beta2/language_service.annotate_text.js index 61ffb0a1248..5636e3d7c9d 100644 --- a/packages/google-cloud-language/samples/generated/v1beta2/language_service.annotate_text.js +++ b/packages/google-cloud-language/samples/generated/v1beta2/language_service.annotate_text.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(document, features) { diff --git a/packages/google-cloud-language/samples/generated/v1beta2/language_service.classify_text.js b/packages/google-cloud-language/samples/generated/v1beta2/language_service.classify_text.js index e4c448c04a8..340c968e1a6 100644 --- a/packages/google-cloud-language/samples/generated/v1beta2/language_service.classify_text.js +++ b/packages/google-cloud-language/samples/generated/v1beta2/language_service.classify_text.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(document) { diff --git a/packages/google-cloud-language/src/v1/index.ts b/packages/google-cloud-language/src/v1/index.ts index 6880d48ddc6..7e077a202c6 100644 --- a/packages/google-cloud-language/src/v1/index.ts +++ b/packages/google-cloud-language/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2021 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/src/v1/language_service_client.ts b/packages/google-cloud-language/src/v1/language_service_client.ts index 7e1e65c44b3..3c22706c714 100644 --- a/packages/google-cloud-language/src/v1/language_service_client.ts +++ b/packages/google-cloud-language/src/v1/language_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2021 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/src/v1beta2/index.ts b/packages/google-cloud-language/src/v1beta2/index.ts index 6880d48ddc6..7e077a202c6 100644 --- a/packages/google-cloud-language/src/v1beta2/index.ts +++ b/packages/google-cloud-language/src/v1beta2/index.ts @@ -1,4 +1,4 @@ -// Copyright 2021 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/src/v1beta2/language_service_client.ts b/packages/google-cloud-language/src/v1beta2/language_service_client.ts index b64ddee179d..74dd5238e89 100644 --- a/packages/google-cloud-language/src/v1beta2/language_service_client.ts +++ b/packages/google-cloud-language/src/v1beta2/language_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2021 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/system-test/fixtures/sample/src/index.js b/packages/google-cloud-language/system-test/fixtures/sample/src/index.js index ce5d6334438..e43e3ad5c54 100644 --- a/packages/google-cloud-language/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-language/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2021 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/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-language/system-test/fixtures/sample/src/index.ts index dcde00bc256..67dcd47c266 100644 --- a/packages/google-cloud-language/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-language/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2021 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/system-test/install.ts b/packages/google-cloud-language/system-test/install.ts index d2d61c0396f..6dd1eaadafa 100644 --- a/packages/google-cloud-language/system-test/install.ts +++ b/packages/google-cloud-language/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2021 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/test/gapic_language_service_v1.ts b/packages/google-cloud-language/test/gapic_language_service_v1.ts index 67dc6b26acc..4ecac6a76b8 100644 --- a/packages/google-cloud-language/test/gapic_language_service_v1.ts +++ b/packages/google-cloud-language/test/gapic_language_service_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2021 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/test/gapic_language_service_v1beta2.ts b/packages/google-cloud-language/test/gapic_language_service_v1beta2.ts index 01594d26a87..6549f017d0a 100644 --- a/packages/google-cloud-language/test/gapic_language_service_v1beta2.ts +++ b/packages/google-cloud-language/test/gapic_language_service_v1beta2.ts @@ -1,4 +1,4 @@ -// Copyright 2021 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.