From ea83848364570ac07f5f13d2622c02bd602aba0a Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 20 Jan 2022 00:38:19 -0800 Subject: [PATCH] build: update copyright year to 2022 (#69) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): upgrade gapic-generator-java to 2.4.1 PiperOrigin-RevId: 422607515 Source-Link: https://github.com/googleapis/googleapis/commit/ba2ffd6fe6642e28b4fed2ffae217b4c5f084034 Source-Link: https://github.com/googleapis/googleapis-gen/commit/73ba4add239a619da567ffbd4e5730fdd6de04d3 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzNiYTRhZGQyMzlhNjE5ZGE1NjdmZmJkNGU1NzMwZmRkNmRlMDRkMyJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- packages/google-cloud-essentialcontacts/.jsdoc.js | 4 ++-- .../v1/essential_contacts_service.compute_contacts.js | 10 ++++------ .../v1/essential_contacts_service.create_contact.js | 4 ++-- .../v1/essential_contacts_service.delete_contact.js | 4 ++-- .../v1/essential_contacts_service.get_contact.js | 4 ++-- .../v1/essential_contacts_service.list_contacts.js | 6 +++--- .../v1/essential_contacts_service.send_test_message.js | 4 ++-- .../v1/essential_contacts_service.update_contact.js | 4 ++-- .../src/v1/essential_contacts_service_client.ts | 2 +- .../google-cloud-essentialcontacts/src/v1/index.ts | 2 +- .../system-test/fixtures/sample/src/index.js | 2 +- .../system-test/fixtures/sample/src/index.ts | 2 +- .../system-test/install.ts | 2 +- .../test/gapic_essential_contacts_service_v1.ts | 2 +- 14 files changed, 25 insertions(+), 27 deletions(-) diff --git a/packages/google-cloud-essentialcontacts/.jsdoc.js b/packages/google-cloud-essentialcontacts/.jsdoc.js index 51b2f2434a0..9f31d0e9add 100644 --- a/packages/google-cloud-essentialcontacts/.jsdoc.js +++ b/packages/google-cloud-essentialcontacts/.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/essential-contacts', diff --git a/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.compute_contacts.js b/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.compute_contacts.js index 0d0eb508d80..48916975467 100644 --- a/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.compute_contacts.js +++ b/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.compute_contacts.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -47,8 +48,7 @@ function main(parent) { // const pageToken = 'abc123' // Imports the Essentialcontacts library - const {EssentialContactsServiceClient} = - require('@google-cloud/essential-contacts').v1; + const {EssentialContactsServiceClient} = require('@google-cloud/essential-contacts').v1; // Instantiates a client const essentialcontactsClient = new EssentialContactsServiceClient(); @@ -60,11 +60,9 @@ function main(parent) { }; // Run request - const iterable = await essentialcontactsClient.computeContactsAsync( - request - ); + const iterable = await essentialcontactsClient.computeContactsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.create_contact.js b/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.create_contact.js index c1e18d7b689..3ad8c2201d4 100644 --- a/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.create_contact.js +++ b/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.create_contact.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, contact) { @@ -32,8 +33,7 @@ function main(parent, contact) { // const contact = {} // Imports the Essentialcontacts library - const {EssentialContactsServiceClient} = - require('@google-cloud/essential-contacts').v1; + const {EssentialContactsServiceClient} = require('@google-cloud/essential-contacts').v1; // Instantiates a client const essentialcontactsClient = new EssentialContactsServiceClient(); diff --git a/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.delete_contact.js b/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.delete_contact.js index 1b6240271be..371b2901f20 100644 --- a/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.delete_contact.js +++ b/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.delete_contact.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -28,8 +29,7 @@ function main(name) { // const name = 'abc123' // Imports the Essentialcontacts library - const {EssentialContactsServiceClient} = - require('@google-cloud/essential-contacts').v1; + const {EssentialContactsServiceClient} = require('@google-cloud/essential-contacts').v1; // Instantiates a client const essentialcontactsClient = new EssentialContactsServiceClient(); diff --git a/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.get_contact.js b/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.get_contact.js index 93ee0d77283..4119ffd1612 100644 --- a/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.get_contact.js +++ b/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.get_contact.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -28,8 +29,7 @@ function main(name) { // const name = 'abc123' // Imports the Essentialcontacts library - const {EssentialContactsServiceClient} = - require('@google-cloud/essential-contacts').v1; + const {EssentialContactsServiceClient} = require('@google-cloud/essential-contacts').v1; // Instantiates a client const essentialcontactsClient = new EssentialContactsServiceClient(); diff --git a/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.list_contacts.js b/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.list_contacts.js index ac811a83cdf..8e4afe70c1f 100644 --- a/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.list_contacts.js +++ b/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.list_contacts.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -41,8 +42,7 @@ function main(parent) { // const pageToken = 'abc123' // Imports the Essentialcontacts library - const {EssentialContactsServiceClient} = - require('@google-cloud/essential-contacts').v1; + const {EssentialContactsServiceClient} = require('@google-cloud/essential-contacts').v1; // Instantiates a client const essentialcontactsClient = new EssentialContactsServiceClient(); @@ -56,7 +56,7 @@ function main(parent) { // Run request const iterable = await essentialcontactsClient.listContactsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.send_test_message.js b/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.send_test_message.js index 01703532992..e13e4d475d3 100644 --- a/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.send_test_message.js +++ b/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.send_test_message.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(contacts, resource, notificationCategory) { @@ -41,8 +42,7 @@ function main(contacts, resource, notificationCategory) { // const notificationCategory = {} // Imports the Essentialcontacts library - const {EssentialContactsServiceClient} = - require('@google-cloud/essential-contacts').v1; + const {EssentialContactsServiceClient} = require('@google-cloud/essential-contacts').v1; // Instantiates a client const essentialcontactsClient = new EssentialContactsServiceClient(); diff --git a/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.update_contact.js b/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.update_contact.js index 9983c9b10cc..30d98a84700 100644 --- a/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.update_contact.js +++ b/packages/google-cloud-essentialcontacts/samples/generated/v1/essential_contacts_service.update_contact.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(contact) { @@ -32,8 +33,7 @@ function main(contact) { // const updateMask = {} // Imports the Essentialcontacts library - const {EssentialContactsServiceClient} = - require('@google-cloud/essential-contacts').v1; + const {EssentialContactsServiceClient} = require('@google-cloud/essential-contacts').v1; // Instantiates a client const essentialcontactsClient = new EssentialContactsServiceClient(); diff --git a/packages/google-cloud-essentialcontacts/src/v1/essential_contacts_service_client.ts b/packages/google-cloud-essentialcontacts/src/v1/essential_contacts_service_client.ts index f7f46a04998..0049f5b338a 100644 --- a/packages/google-cloud-essentialcontacts/src/v1/essential_contacts_service_client.ts +++ b/packages/google-cloud-essentialcontacts/src/v1/essential_contacts_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-essentialcontacts/src/v1/index.ts b/packages/google-cloud-essentialcontacts/src/v1/index.ts index 38dd766c250..8eb516f56c2 100644 --- a/packages/google-cloud-essentialcontacts/src/v1/index.ts +++ b/packages/google-cloud-essentialcontacts/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-essentialcontacts/system-test/fixtures/sample/src/index.js b/packages/google-cloud-essentialcontacts/system-test/fixtures/sample/src/index.js index 0ddd63c155f..97c68b1fef9 100644 --- a/packages/google-cloud-essentialcontacts/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-essentialcontacts/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-essentialcontacts/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-essentialcontacts/system-test/fixtures/sample/src/index.ts index 06957029538..5d710cf6a8a 100644 --- a/packages/google-cloud-essentialcontacts/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-essentialcontacts/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-essentialcontacts/system-test/install.ts b/packages/google-cloud-essentialcontacts/system-test/install.ts index d2d61c0396f..6dd1eaadafa 100644 --- a/packages/google-cloud-essentialcontacts/system-test/install.ts +++ b/packages/google-cloud-essentialcontacts/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-essentialcontacts/test/gapic_essential_contacts_service_v1.ts b/packages/google-cloud-essentialcontacts/test/gapic_essential_contacts_service_v1.ts index 56f1e8ead53..8a6313324ee 100644 --- a/packages/google-cloud-essentialcontacts/test/gapic_essential_contacts_service_v1.ts +++ b/packages/google-cloud-essentialcontacts/test/gapic_essential_contacts_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.