Skip to content

Commit

Permalink
build: update copyright year to 2022 (#346)
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>
Co-authored-by: sofisl <55454395+sofisl@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 20, 2022
1 parent 7248532 commit bc65933
Show file tree
Hide file tree
Showing 29 changed files with 66 additions and 84 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-recaptchaenterprise/.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/recaptcha-enterprise',
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 Down Expand Up @@ -44,8 +45,7 @@ function main(name) {
// const hashedAccountId = 'Buffer.from('string')'

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceClient} =
require('@google-cloud/recaptcha-enterprise').v1;
const {RecaptchaEnterpriseServiceClient} = require('@google-cloud/recaptcha-enterprise').v1;

// Instantiates a client
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceClient();
Expand All @@ -57,9 +57,7 @@ function main(name) {
};

// Run request
const response = await recaptchaenterpriseClient.annotateAssessment(
request
);
const response = await recaptchaenterpriseClient.annotateAssessment(request);
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, assessment) {
Expand All @@ -30,8 +31,7 @@ function main(parent, assessment) {
// const assessment = {}

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceClient} =
require('@google-cloud/recaptcha-enterprise').v1;
const {RecaptchaEnterpriseServiceClient} = require('@google-cloud/recaptcha-enterprise').v1;

// Instantiates a client
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceClient();
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, key) {
Expand All @@ -30,8 +31,7 @@ function main(parent, key) {
// const key = {}

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceClient} =
require('@google-cloud/recaptcha-enterprise').v1;
const {RecaptchaEnterpriseServiceClient} = require('@google-cloud/recaptcha-enterprise').v1;

// Instantiates a client
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceClient();
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 @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceClient} =
require('@google-cloud/recaptcha-enterprise').v1;
const {RecaptchaEnterpriseServiceClient} = require('@google-cloud/recaptcha-enterprise').v1;

// Instantiates a client
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceClient();
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 @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceClient} =
require('@google-cloud/recaptcha-enterprise').v1;
const {RecaptchaEnterpriseServiceClient} = require('@google-cloud/recaptcha-enterprise').v1;

// Instantiates a client
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceClient();
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 @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceClient} =
require('@google-cloud/recaptcha-enterprise').v1;
const {RecaptchaEnterpriseServiceClient} = require('@google-cloud/recaptcha-enterprise').v1;

// Instantiates a client
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceClient();
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 All @@ -36,8 +37,7 @@ function main(parent) {
// const pageToken = 'abc123'

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceClient} =
require('@google-cloud/recaptcha-enterprise').v1;
const {RecaptchaEnterpriseServiceClient} = require('@google-cloud/recaptcha-enterprise').v1;

// Instantiates a client
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceClient();
Expand All @@ -51,7 +51,7 @@ function main(parent) {
// Run request
const iterable = await recaptchaenterpriseClient.listKeysAsync(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) {
Expand Down Expand Up @@ -41,8 +42,7 @@ function main(parent) {
// const pageToken = 'abc123'

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceClient} =
require('@google-cloud/recaptcha-enterprise').v1;
const {RecaptchaEnterpriseServiceClient} = require('@google-cloud/recaptcha-enterprise').v1;

// Instantiates a client
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceClient();
Expand All @@ -54,12 +54,9 @@ function main(parent) {
};

// Run request
const iterable =
await recaptchaenterpriseClient.listRelatedAccountGroupMembershipsAsync(
request
);
const iterable = await recaptchaenterpriseClient.listRelatedAccountGroupMembershipsAsync(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) {
Expand Down Expand Up @@ -41,8 +42,7 @@ function main(parent) {
// const pageToken = 'abc123'

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceClient} =
require('@google-cloud/recaptcha-enterprise').v1;
const {RecaptchaEnterpriseServiceClient} = require('@google-cloud/recaptcha-enterprise').v1;

// Instantiates a client
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceClient();
Expand All @@ -54,10 +54,9 @@ function main(parent) {
};

// Run request
const iterable =
await recaptchaenterpriseClient.listRelatedAccountGroupsAsync(request);
const iterable = await recaptchaenterpriseClient.listRelatedAccountGroupsAsync(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(name) {
Expand All @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceClient} =
require('@google-cloud/recaptcha-enterprise').v1;
const {RecaptchaEnterpriseServiceClient} = require('@google-cloud/recaptcha-enterprise').v1;

// Instantiates a client
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceClient();
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 @@ -48,8 +49,7 @@ function main(parent) {
// const pageToken = 'abc123'

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceClient} =
require('@google-cloud/recaptcha-enterprise').v1;
const {RecaptchaEnterpriseServiceClient} = require('@google-cloud/recaptcha-enterprise').v1;

// Instantiates a client
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceClient();
Expand All @@ -61,12 +61,9 @@ function main(parent) {
};

// Run request
const iterable =
await recaptchaenterpriseClient.searchRelatedAccountGroupMembershipsAsync(
request
);
const iterable = await recaptchaenterpriseClient.searchRelatedAccountGroupMembershipsAsync(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(key) {
Expand All @@ -30,8 +31,7 @@ function main(key) {
// const updateMask = {}

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceClient} =
require('@google-cloud/recaptcha-enterprise').v1;
const {RecaptchaEnterpriseServiceClient} = require('@google-cloud/recaptcha-enterprise').v1;

// Instantiates a client
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceClient();
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, annotation) {
Expand All @@ -30,12 +31,10 @@ function main(name, annotation) {
// const annotation = {}

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceV1Beta1Client} =
require('@google-cloud/recaptcha-enterprise').v1beta1;
const {RecaptchaEnterpriseServiceV1Beta1Client} = require('@google-cloud/recaptcha-enterprise').v1beta1;

// Instantiates a client
const recaptchaenterpriseClient =
new RecaptchaEnterpriseServiceV1Beta1Client();
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceV1Beta1Client();

async function callAnnotateAssessment() {
// Construct request
Expand All @@ -45,9 +44,7 @@ function main(name, annotation) {
};

// Run request
const response = await recaptchaenterpriseClient.annotateAssessment(
request
);
const response = await recaptchaenterpriseClient.annotateAssessment(request);
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, assessment) {
Expand All @@ -30,12 +31,10 @@ function main(parent, assessment) {
// const assessment = {}

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceV1Beta1Client} =
require('@google-cloud/recaptcha-enterprise').v1beta1;
const {RecaptchaEnterpriseServiceV1Beta1Client} = require('@google-cloud/recaptcha-enterprise').v1beta1;

// Instantiates a client
const recaptchaenterpriseClient =
new RecaptchaEnterpriseServiceV1Beta1Client();
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceV1Beta1Client();

async function callCreateAssessment() {
// Construct request
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, key) {
Expand All @@ -30,12 +31,10 @@ function main(parent, key) {
// const key = {}

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceV1Beta1Client} =
require('@google-cloud/recaptcha-enterprise').v1beta1;
const {RecaptchaEnterpriseServiceV1Beta1Client} = require('@google-cloud/recaptcha-enterprise').v1beta1;

// Instantiates a client
const recaptchaenterpriseClient =
new RecaptchaEnterpriseServiceV1Beta1Client();
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceV1Beta1Client();

async function callCreateKey() {
// Construct request
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 @@ -26,12 +27,10 @@ function main(name) {
// const name = 'abc123'

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceV1Beta1Client} =
require('@google-cloud/recaptcha-enterprise').v1beta1;
const {RecaptchaEnterpriseServiceV1Beta1Client} = require('@google-cloud/recaptcha-enterprise').v1beta1;

// Instantiates a client
const recaptchaenterpriseClient =
new RecaptchaEnterpriseServiceV1Beta1Client();
const recaptchaenterpriseClient = new RecaptchaEnterpriseServiceV1Beta1Client();

async function callDeleteKey() {
// Construct request
Expand Down
Loading

0 comments on commit bc65933

Please sign in to comment.