Skip to content

Commit

Permalink
build: update copyright year to 2022 (#69)
Browse files Browse the repository at this point in the history
* chore(deps): upgrade gapic-generator-java to 2.4.1

PiperOrigin-RevId: 422607515

Source-Link: googleapis/googleapis@ba2ffd6

Source-Link: googleapis/googleapis-gen@73ba4ad
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 <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 20, 2022
1 parent d7f887a commit ea83848
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 27 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-essentialcontacts/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -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();
Expand All @@ -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);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent, contact) {
Expand All @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -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();
Expand All @@ -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);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(contact) {
Expand All @@ -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();
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-essentialcontacts/src/v1/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit ea83848

Please sign in to comment.