Skip to content

Commit 6a3d0d1

Browse files
build: update copyright year to 2022 (#527)
* 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 <[email protected]>
1 parent 434d65d commit 6a3d0d1

33 files changed

+44
-17
lines changed

packages/google-cloud-kms/.jsdoc.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@ module.exports = {
4040
includePattern: '\\.js$'
4141
},
4242
templates: {
43-
copyright: 'Copyright 2021 Google LLC',
43+
copyright: 'Copyright 2022 Google LLC',
4444
includeDate: false,
4545
sourceFiles: false,
4646
systemName: '@google-cloud/kms',

packages/google-cloud-kms/samples/generated/v1/key_management_service.asymmetric_decrypt.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name, ciphertext) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.asymmetric_sign.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.create_crypto_key.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent, cryptoKeyId, cryptoKey) {
@@ -37,7 +38,7 @@ function main(parent, cryptoKeyId, cryptoKey) {
3738
* If set to true, the request will create a CryptoKey google.cloud.kms.v1.CryptoKey without any
3839
* CryptoKeyVersions google.cloud.kms.v1.CryptoKeyVersion. You must manually call
3940
* CreateCryptoKeyVersion google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion or
40-
* ImportCryptoKeyVersion google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion
41+
* ImportCryptoKeyVersion google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion
4142
* before you can use this CryptoKey google.cloud.kms.v1.CryptoKey.
4243
*/
4344
// const skipInitialVersionCreation = true

packages/google-cloud-kms/samples/generated/v1/key_management_service.create_crypto_key_version.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent, cryptoKeyVersion) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.create_import_job.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent, importJobId, importJob) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.create_key_ring.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent, keyRingId, keyRing) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.decrypt.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name, ciphertext) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.destroy_crypto_key_version.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.encrypt.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name, plaintext) {
@@ -20,7 +21,7 @@ function main(name, plaintext) {
2021
* TODO(developer): Uncomment these variables before running the sample.
2122
*/
2223
/**
23-
* Required. The resource name of the CryptoKey google.cloud.kms.v1.CryptoKey or CryptoKeyVersion google.cloud.kms.v1.CryptoKeyVersion
24+
* Required. The resource name of the CryptoKey google.cloud.kms.v1.CryptoKey or CryptoKeyVersion google.cloud.kms.v1.CryptoKeyVersion
2425
* to use for encryption.
2526
* If a CryptoKey google.cloud.kms.v1.CryptoKey is specified, the server will use its
2627
* primary version google.cloud.kms.v1.CryptoKey.primary.

packages/google-cloud-kms/samples/generated/v1/key_management_service.generate_random_bytes.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main() {
@@ -43,7 +44,8 @@ function main() {
4344

4445
async function callGenerateRandomBytes() {
4546
// Construct request
46-
const request = {};
47+
const request = {
48+
};
4749

4850
// Run request
4951
const response = await kmsClient.generateRandomBytes(request);

packages/google-cloud-kms/samples/generated/v1/key_management_service.get_crypto_key.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.get_crypto_key_version.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.get_import_job.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.get_key_ring.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.get_public_key.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.import_crypto_key_version.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent, algorithm, importJob) {
@@ -36,7 +37,7 @@ function main(parent, algorithm, importJob) {
3637
* ImportCryptoKeyVersionRequest.parent google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent, have been previously created via
3738
* ImportCryptoKeyVersion , and be in
3839
* DESTROYED google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED or
39-
* IMPORT_FAILED google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED
40+
* IMPORT_FAILED google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED
4041
* state. The key material and algorithm must match the previous
4142
* CryptoKeyVersion google.cloud.kms.v1.CryptoKeyVersion exactly if the CryptoKeyVersion google.cloud.kms.v1.CryptoKeyVersion has ever contained
4243
* key material.
@@ -56,7 +57,7 @@ function main(parent, algorithm, importJob) {
5657
// const importJob = 'abc123'
5758
/**
5859
* Wrapped key material produced with
59-
* RSA_OAEP_3072_SHA1_AES_256 google.cloud.kms.v1.ImportJob.ImportMethod.RSA_OAEP_3072_SHA1_AES_256
60+
* RSA_OAEP_3072_SHA1_AES_256 google.cloud.kms.v1.ImportJob.ImportMethod.RSA_OAEP_3072_SHA1_AES_256
6061
* or
6162
* RSA_OAEP_4096_SHA1_AES_256 google.cloud.kms.v1.ImportJob.ImportMethod.RSA_OAEP_4096_SHA1_AES_256.
6263
* This field contains the concatenation of two wrapped keys:

packages/google-cloud-kms/samples/generated/v1/key_management_service.list_crypto_key_versions.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent) {
@@ -71,7 +72,7 @@ function main(parent) {
7172
// Run request
7273
const iterable = await kmsClient.listCryptoKeyVersionsAsync(request);
7374
for await (const response of iterable) {
74-
console.log(response);
75+
console.log(response);
7576
}
7677
}
7778

packages/google-cloud-kms/samples/generated/v1/key_management_service.list_crypto_keys.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent) {
@@ -70,7 +71,7 @@ function main(parent) {
7071
// Run request
7172
const iterable = await kmsClient.listCryptoKeysAsync(request);
7273
for await (const response of iterable) {
73-
console.log(response);
74+
console.log(response);
7475
}
7576
}
7677

packages/google-cloud-kms/samples/generated/v1/key_management_service.list_import_jobs.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent) {
@@ -66,7 +67,7 @@ function main(parent) {
6667
// Run request
6768
const iterable = await kmsClient.listImportJobsAsync(request);
6869
for await (const response of iterable) {
69-
console.log(response);
70+
console.log(response);
7071
}
7172
}
7273

packages/google-cloud-kms/samples/generated/v1/key_management_service.list_key_rings.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent) {
@@ -66,7 +67,7 @@ function main(parent) {
6667
// Run request
6768
const iterable = await kmsClient.listKeyRingsAsync(request);
6869
for await (const response of iterable) {
69-
console.log(response);
70+
console.log(response);
7071
}
7172
}
7273

packages/google-cloud-kms/samples/generated/v1/key_management_service.mac_sign.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name, data) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.mac_verify.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name, data, mac) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.restore_crypto_key_version.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.update_crypto_key.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(cryptoKey, updateMask) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.update_crypto_key_primary_version.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name, cryptoKeyVersionId) {

packages/google-cloud-kms/samples/generated/v1/key_management_service.update_crypto_key_version.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(cryptoKeyVersion, updateMask) {

packages/google-cloud-kms/src/v1/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-kms/src/v1/key_management_service_client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-kms/system-test/fixtures/sample/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-kms/system-test/fixtures/sample/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-kms/system-test/install.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-kms/test/gapic_key_management_service_v1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)