diff --git a/.flake8 b/.flake8 index 2e438749..87f6e408 100644 --- a/.flake8 +++ b/.flake8 @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2020 Google LLC +# Copyright 2023 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/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 98994f47..17c21d96 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:2d816f26f728ac8b24248741e7d4c461c09764ef9f7be3684d557c9632e46dbd -# created: 2023-06-28T17:03:33.371210701Z + digest: sha256:f8ca7655fa8a449cadcabcbce4054f593dcbae7aeeab34aa3fcc8b5cf7a93c9e +# created: 2023-07-21T02:12:46.49799314Z diff --git a/.github/auto-label.yaml b/.github/auto-label.yaml index 41bff0b5..b2016d11 100644 --- a/.github/auto-label.yaml +++ b/.github/auto-label.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 Google LLC +# Copyright 2023 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/.kokoro/build.sh b/.kokoro/build.sh index d763124a..95a84724 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google LLC +# Copyright 2023 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/.kokoro/docker/docs/Dockerfile b/.kokoro/docker/docs/Dockerfile index f8137d0a..8e39a2cc 100644 --- a/.kokoro/docker/docs/Dockerfile +++ b/.kokoro/docker/docs/Dockerfile @@ -1,4 +1,4 @@ -# Copyright 2020 Google LLC +# Copyright 2023 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/.kokoro/populate-secrets.sh b/.kokoro/populate-secrets.sh index f5251425..6f397214 100755 --- a/.kokoro/populate-secrets.sh +++ b/.kokoro/populate-secrets.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2020 Google LLC. +# Copyright 2023 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/.kokoro/publish-docs.sh b/.kokoro/publish-docs.sh index 1c4d6237..9eafe0be 100755 --- a/.kokoro/publish-docs.sh +++ b/.kokoro/publish-docs.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2020 Google LLC +# Copyright 2023 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/.kokoro/release.sh b/.kokoro/release.sh index fd094127..3388bc3f 100755 --- a/.kokoro/release.sh +++ b/.kokoro/release.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2020 Google LLC +# Copyright 2023 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/.kokoro/requirements.txt b/.kokoro/requirements.txt index c7929db6..b563eb28 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -113,26 +113,30 @@ commonmark==0.9.1 \ --hash=sha256:452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60 \ --hash=sha256:da2f38c92590f83de410ba1a3cbceafbc74fee9def35f9251ba9a971d6d66fd9 # via rich -cryptography==41.0.0 \ - --hash=sha256:0ddaee209d1cf1f180f1efa338a68c4621154de0afaef92b89486f5f96047c55 \ - --hash=sha256:14754bcdae909d66ff24b7b5f166d69340ccc6cb15731670435efd5719294895 \ - --hash=sha256:344c6de9f8bda3c425b3a41b319522ba3208551b70c2ae00099c205f0d9fd3be \ - --hash=sha256:34d405ea69a8b34566ba3dfb0521379b210ea5d560fafedf9f800a9a94a41928 \ - --hash=sha256:3680248309d340fda9611498a5319b0193a8dbdb73586a1acf8109d06f25b92d \ - --hash=sha256:3c5ef25d060c80d6d9f7f9892e1d41bb1c79b78ce74805b8cb4aa373cb7d5ec8 \ - --hash=sha256:4ab14d567f7bbe7f1cdff1c53d5324ed4d3fc8bd17c481b395db224fb405c237 \ - --hash=sha256:5c1f7293c31ebc72163a9a0df246f890d65f66b4a40d9ec80081969ba8c78cc9 \ - --hash=sha256:6b71f64beeea341c9b4f963b48ee3b62d62d57ba93eb120e1196b31dc1025e78 \ - --hash=sha256:7d92f0248d38faa411d17f4107fc0bce0c42cae0b0ba5415505df72d751bf62d \ - --hash=sha256:8362565b3835ceacf4dc8f3b56471a2289cf51ac80946f9087e66dc283a810e0 \ - --hash=sha256:84a165379cb9d411d58ed739e4af3396e544eac190805a54ba2e0322feb55c46 \ - --hash=sha256:88ff107f211ea696455ea8d911389f6d2b276aabf3231bf72c8853d22db755c5 \ - --hash=sha256:9f65e842cb02550fac96536edb1d17f24c0a338fd84eaf582be25926e993dde4 \ - --hash=sha256:a4fc68d1c5b951cfb72dfd54702afdbbf0fb7acdc9b7dc4301bbf2225a27714d \ - --hash=sha256:b7f2f5c525a642cecad24ee8670443ba27ac1fab81bba4cc24c7b6b41f2d0c75 \ - --hash=sha256:b846d59a8d5a9ba87e2c3d757ca019fa576793e8758174d3868aecb88d6fc8eb \ - --hash=sha256:bf8fc66012ca857d62f6a347007e166ed59c0bc150cefa49f28376ebe7d992a2 \ - --hash=sha256:f5d0bf9b252f30a31664b6f64432b4730bb7038339bd18b1fafe129cfc2be9be +cryptography==41.0.2 \ + --hash=sha256:01f1d9e537f9a15b037d5d9ee442b8c22e3ae11ce65ea1f3316a41c78756b711 \ + --hash=sha256:079347de771f9282fbfe0e0236c716686950c19dee1b76240ab09ce1624d76d7 \ + --hash=sha256:182be4171f9332b6741ee818ec27daff9fb00349f706629f5cbf417bd50e66fd \ + --hash=sha256:192255f539d7a89f2102d07d7375b1e0a81f7478925b3bc2e0549ebf739dae0e \ + --hash=sha256:2a034bf7d9ca894720f2ec1d8b7b5832d7e363571828037f9e0c4f18c1b58a58 \ + --hash=sha256:342f3767e25876751e14f8459ad85e77e660537ca0a066e10e75df9c9e9099f0 \ + --hash=sha256:439c3cc4c0d42fa999b83ded80a9a1fb54d53c58d6e59234cfe97f241e6c781d \ + --hash=sha256:49c3222bb8f8e800aead2e376cbef687bc9e3cb9b58b29a261210456a7783d83 \ + --hash=sha256:674b669d5daa64206c38e507808aae49904c988fa0a71c935e7006a3e1e83831 \ + --hash=sha256:7a9a3bced53b7f09da251685224d6a260c3cb291768f54954e28f03ef14e3766 \ + --hash=sha256:7af244b012711a26196450d34f483357e42aeddb04128885d95a69bd8b14b69b \ + --hash=sha256:7d230bf856164de164ecb615ccc14c7fc6de6906ddd5b491f3af90d3514c925c \ + --hash=sha256:84609ade00a6ec59a89729e87a503c6e36af98ddcd566d5f3be52e29ba993182 \ + --hash=sha256:9a6673c1828db6270b76b22cc696f40cde9043eb90373da5c2f8f2158957f42f \ + --hash=sha256:9b6d717393dbae53d4e52684ef4f022444fc1cce3c48c38cb74fca29e1f08eaa \ + --hash=sha256:9c3fe6534d59d071ee82081ca3d71eed3210f76ebd0361798c74abc2bcf347d4 \ + --hash=sha256:a719399b99377b218dac6cf547b6ec54e6ef20207b6165126a280b0ce97e0d2a \ + --hash=sha256:b332cba64d99a70c1e0836902720887fb4529ea49ea7f5462cf6640e095e11d2 \ + --hash=sha256:d124682c7a23c9764e54ca9ab5b308b14b18eba02722b8659fb238546de83a76 \ + --hash=sha256:d73f419a56d74fef257955f51b18d046f3506270a5fd2ac5febbfa259d6c0fa5 \ + --hash=sha256:f0dc40e6f7aa37af01aba07277d3d64d5a03dc66d682097541ec4da03cc140ee \ + --hash=sha256:f14ad275364c8b4e525d018f6716537ae7b6d369c094805cae45300847e0894f \ + --hash=sha256:f772610fe364372de33d76edcd313636a25684edb94cee53fd790195f5989d14 # via # gcp-releasetool # secretstorage @@ -392,9 +396,9 @@ pycparser==2.21 \ --hash=sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9 \ --hash=sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206 # via cffi -pygments==2.13.0 \ - --hash=sha256:56a8508ae95f98e2b9bdf93a6be5ae3f7d8af858b43e02c5a2ff083726be40c1 \ - --hash=sha256:f643f331ab57ba3c9d89212ee4a2dabc6e94f117cf4eefde99a0574720d14c42 +pygments==2.15.0 \ + --hash=sha256:77a3299119af881904cd5ecd1ac6a66214b6e9bed1f2db16993b54adede64094 \ + --hash=sha256:f7e36cffc4c517fbc252861b9a6e4644ca0e5abadf9a113c72d1358ad09b9500 # via # readme-renderer # rich diff --git a/.kokoro/test-samples-against-head.sh b/.kokoro/test-samples-against-head.sh index ba3a707b..63ac41df 100755 --- a/.kokoro/test-samples-against-head.sh +++ b/.kokoro/test-samples-against-head.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2020 Google LLC +# Copyright 2023 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/.kokoro/test-samples-impl.sh b/.kokoro/test-samples-impl.sh index 2c6500ca..5a0f5fab 100755 --- a/.kokoro/test-samples-impl.sh +++ b/.kokoro/test-samples-impl.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2021 Google LLC +# Copyright 2023 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/.kokoro/test-samples.sh b/.kokoro/test-samples.sh index 11c042d3..50b35a48 100755 --- a/.kokoro/test-samples.sh +++ b/.kokoro/test-samples.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2020 Google LLC +# Copyright 2023 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/.kokoro/trampoline.sh b/.kokoro/trampoline.sh index f39236e9..d85b1f26 100755 --- a/.kokoro/trampoline.sh +++ b/.kokoro/trampoline.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2017 Google Inc. +# Copyright 2023 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/.kokoro/trampoline_v2.sh b/.kokoro/trampoline_v2.sh index 4af6cdc2..59a7cf3a 100755 --- a/.kokoro/trampoline_v2.sh +++ b/.kokoro/trampoline_v2.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2020 Google LLC +# Copyright 2023 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/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5405cc8f..9e3898fd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,4 @@ -# Copyright 2021 Google LLC +# Copyright 2023 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/.release-please-manifest.json b/.release-please-manifest.json index 7723ed4f..89652a35 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.18.0" + ".": "2.19.0" } diff --git a/.trampolinerc b/.trampolinerc index 0eee72ab..a7dfeb42 100644 --- a/.trampolinerc +++ b/.trampolinerc @@ -1,4 +1,4 @@ -# Copyright 2020 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -12,8 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Template for .trampolinerc - # Add required env vars here. required_envvars+=( ) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57c8a530..35649909 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ [1]: https://pypi.org/project/google-cloud-kms/#history +## [2.19.0](https://github.com/googleapis/python-kms/compare/v2.18.0...v2.19.0) (2023-07-21) + + +### Features + +* Add interoperable symmetric encryption system ([#403](https://github.com/googleapis/python-kms/issues/403)) ([39ad43d](https://github.com/googleapis/python-kms/commit/39ad43dcfbc09265087ea8b7b55117b3d2b1b99c)) + ## [2.18.0](https://github.com/googleapis/python-kms/compare/v2.17.0...v2.18.0) (2023-07-04) diff --git a/MANIFEST.in b/MANIFEST.in index e783f4c6..e0a66705 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2020 Google LLC +# Copyright 2023 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/README.rst b/README.rst index 65b78346..e96ae336 100644 --- a/README.rst +++ b/README.rst @@ -36,21 +36,24 @@ In order to use this library, you first need to go through the following steps: Installation ~~~~~~~~~~~~ -Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to -create isolated Python environments. The basic problem it addresses is one of -dependencies and versions, and indirectly permissions. +Install this library in a virtual environment using `venv`_. `venv`_ is a tool that +creates isolated Python environments. These isolated environments can have separate +versions of Python packages, which allows you to isolate one project's dependencies +from the dependencies of other projects. -With `virtualenv`_, it's possible to install this library without needing system +With `venv`_, it's possible to install this library without needing system install permissions, and without clashing with the installed system dependencies. -.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/ +.. _`venv`: https://docs.python.org/3/library/venv.html Code samples and snippets ~~~~~~~~~~~~~~~~~~~~~~~~~ -Code samples and snippets live in the `samples/` folder. +Code samples and snippets live in the `samples/`_ folder. + +.. _samples/: https://github.com/googleapis/python-kms/tree/main/samples Supported Python Versions @@ -77,10 +80,9 @@ Mac/Linux .. code-block:: console - pip install virtualenv - virtualenv + python3 -m venv source /bin/activate - /bin/pip install google-cloud-kms + pip install google-cloud-kms Windows @@ -88,10 +90,9 @@ Windows .. code-block:: console - pip install virtualenv - virtualenv - \Scripts\activate - \Scripts\pip.exe install google-cloud-kms + py -m venv + .\\Scripts\activate + pip install google-cloud-kms Next Steps ~~~~~~~~~~ diff --git a/docs/conf.py b/docs/conf.py index 41519f87..0a708c0e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2021 Google LLC +# Copyright 2023 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/google/cloud/kms/__init__.py b/google/cloud/kms/__init__.py index 7f924f16..db476025 100644 --- a/google/cloud/kms/__init__.py +++ b/google/cloud/kms/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms/gapic_version.py b/google/cloud/kms/gapic_version.py index f09943f6..0f1a446f 100644 --- a/google/cloud/kms/gapic_version.py +++ b/google/cloud/kms/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "2.18.0" # {x-release-please-version} +__version__ = "2.19.0" # {x-release-please-version} diff --git a/google/cloud/kms_v1/__init__.py b/google/cloud/kms_v1/__init__.py index 6a34ef72..c9d8d679 100644 --- a/google/cloud/kms_v1/__init__.py +++ b/google/cloud/kms_v1/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/gapic_version.py b/google/cloud/kms_v1/gapic_version.py index f09943f6..0f1a446f 100644 --- a/google/cloud/kms_v1/gapic_version.py +++ b/google/cloud/kms_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "2.18.0" # {x-release-please-version} +__version__ = "2.19.0" # {x-release-please-version} diff --git a/google/cloud/kms_v1/services/__init__.py b/google/cloud/kms_v1/services/__init__.py index e8e1c384..89a37dc9 100644 --- a/google/cloud/kms_v1/services/__init__.py +++ b/google/cloud/kms_v1/services/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/ekm_service/__init__.py b/google/cloud/kms_v1/services/ekm_service/__init__.py index 31c5038a..0deda15d 100644 --- a/google/cloud/kms_v1/services/ekm_service/__init__.py +++ b/google/cloud/kms_v1/services/ekm_service/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/ekm_service/async_client.py b/google/cloud/kms_v1/services/ekm_service/async_client.py index 9b7883fe..2f229685 100644 --- a/google/cloud/kms_v1/services/ekm_service/async_client.py +++ b/google/cloud/kms_v1/services/ekm_service/async_client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/ekm_service/client.py b/google/cloud/kms_v1/services/ekm_service/client.py index 5298274a..0fa9df2b 100644 --- a/google/cloud/kms_v1/services/ekm_service/client.py +++ b/google/cloud/kms_v1/services/ekm_service/client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/ekm_service/pagers.py b/google/cloud/kms_v1/services/ekm_service/pagers.py index ba4e9860..9e4bef3e 100644 --- a/google/cloud/kms_v1/services/ekm_service/pagers.py +++ b/google/cloud/kms_v1/services/ekm_service/pagers.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/ekm_service/transports/__init__.py b/google/cloud/kms_v1/services/ekm_service/transports/__init__.py index 16af7366..68f4e3cb 100644 --- a/google/cloud/kms_v1/services/ekm_service/transports/__init__.py +++ b/google/cloud/kms_v1/services/ekm_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/ekm_service/transports/base.py b/google/cloud/kms_v1/services/ekm_service/transports/base.py index 8e049bc4..5896be0d 100644 --- a/google/cloud/kms_v1/services/ekm_service/transports/base.py +++ b/google/cloud/kms_v1/services/ekm_service/transports/base.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/ekm_service/transports/grpc.py b/google/cloud/kms_v1/services/ekm_service/transports/grpc.py index 54d9e06b..ab907abf 100644 --- a/google/cloud/kms_v1/services/ekm_service/transports/grpc.py +++ b/google/cloud/kms_v1/services/ekm_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/ekm_service/transports/grpc_asyncio.py b/google/cloud/kms_v1/services/ekm_service/transports/grpc_asyncio.py index 18b794fa..19555bd4 100644 --- a/google/cloud/kms_v1/services/ekm_service/transports/grpc_asyncio.py +++ b/google/cloud/kms_v1/services/ekm_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/ekm_service/transports/rest.py b/google/cloud/kms_v1/services/ekm_service/transports/rest.py index 9f8897c4..adcb7c4f 100644 --- a/google/cloud/kms_v1/services/ekm_service/transports/rest.py +++ b/google/cloud/kms_v1/services/ekm_service/transports/rest.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/key_management_service/__init__.py b/google/cloud/kms_v1/services/key_management_service/__init__.py index 06a8a147..22a8bd81 100644 --- a/google/cloud/kms_v1/services/key_management_service/__init__.py +++ b/google/cloud/kms_v1/services/key_management_service/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/key_management_service/async_client.py b/google/cloud/kms_v1/services/key_management_service/async_client.py index cd0208d2..7ea523e1 100644 --- a/google/cloud/kms_v1/services/key_management_service/async_client.py +++ b/google/cloud/kms_v1/services/key_management_service/async_client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/key_management_service/client.py b/google/cloud/kms_v1/services/key_management_service/client.py index 4963c1bb..f97f6bae 100644 --- a/google/cloud/kms_v1/services/key_management_service/client.py +++ b/google/cloud/kms_v1/services/key_management_service/client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/key_management_service/pagers.py b/google/cloud/kms_v1/services/key_management_service/pagers.py index abc9c563..a4912c1d 100644 --- a/google/cloud/kms_v1/services/key_management_service/pagers.py +++ b/google/cloud/kms_v1/services/key_management_service/pagers.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/key_management_service/transports/__init__.py b/google/cloud/kms_v1/services/key_management_service/transports/__init__.py index c4d5f2f9..5e027fa1 100644 --- a/google/cloud/kms_v1/services/key_management_service/transports/__init__.py +++ b/google/cloud/kms_v1/services/key_management_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/key_management_service/transports/base.py b/google/cloud/kms_v1/services/key_management_service/transports/base.py index 36954f6b..4bd0cd77 100644 --- a/google/cloud/kms_v1/services/key_management_service/transports/base.py +++ b/google/cloud/kms_v1/services/key_management_service/transports/base.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/key_management_service/transports/grpc.py b/google/cloud/kms_v1/services/key_management_service/transports/grpc.py index 8889532e..604de302 100644 --- a/google/cloud/kms_v1/services/key_management_service/transports/grpc.py +++ b/google/cloud/kms_v1/services/key_management_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/key_management_service/transports/grpc_asyncio.py b/google/cloud/kms_v1/services/key_management_service/transports/grpc_asyncio.py index a8630ad1..d3399556 100644 --- a/google/cloud/kms_v1/services/key_management_service/transports/grpc_asyncio.py +++ b/google/cloud/kms_v1/services/key_management_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/services/key_management_service/transports/rest.py b/google/cloud/kms_v1/services/key_management_service/transports/rest.py index f7ce1bf1..98227520 100644 --- a/google/cloud/kms_v1/services/key_management_service/transports/rest.py +++ b/google/cloud/kms_v1/services/key_management_service/transports/rest.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/types/__init__.py b/google/cloud/kms_v1/types/__init__.py index 3bd05dd6..f391c4a4 100644 --- a/google/cloud/kms_v1/types/__init__.py +++ b/google/cloud/kms_v1/types/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/types/ekm_service.py b/google/cloud/kms_v1/types/ekm_service.py index 99af57de..672a000f 100644 --- a/google/cloud/kms_v1/types/ekm_service.py +++ b/google/cloud/kms_v1/types/ekm_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/google/cloud/kms_v1/types/resources.py b/google/cloud/kms_v1/types/resources.py index c004af43..ea27c191 100644 --- a/google/cloud/kms_v1/types/resources.py +++ b/google/cloud/kms_v1/types/resources.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -602,6 +602,16 @@ class CryptoKeyVersionAlgorithm(proto.Enum): AES_256_GCM (19): AES-GCM (Galois Counter Mode) using 256-bit keys. + AES_128_CBC (42): + AES-CBC (Cipher Block Chaining Mode) using + 128-bit keys. + AES_256_CBC (43): + AES-CBC (Cipher Block Chaining Mode) using + 256-bit keys. + AES_128_CTR (44): + AES-CTR (Counter Mode) using 128-bit keys. + AES_256_CTR (45): + AES-CTR (Counter Mode) using 256-bit keys. RSA_SIGN_PSS_2048_SHA256 (2): RSASSA-PSS 2048 bit key with a SHA256 digest. RSA_SIGN_PSS_3072_SHA256 (3): @@ -672,6 +682,10 @@ class CryptoKeyVersionAlgorithm(proto.Enum): GOOGLE_SYMMETRIC_ENCRYPTION = 1 AES_128_GCM = 41 AES_256_GCM = 19 + AES_128_CBC = 42 + AES_256_CBC = 43 + AES_128_CTR = 44 + AES_256_CTR = 45 RSA_SIGN_PSS_2048_SHA256 = 2 RSA_SIGN_PSS_3072_SHA256 = 3 RSA_SIGN_PSS_4096_SHA256 = 4 diff --git a/google/cloud/kms_v1/types/service.py b/google/cloud/kms_v1/types/service.py index 670e88a8..85ab4064 100644 --- a/google/cloud/kms_v1/types/service.py +++ b/google/cloud/kms_v1/types/service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/noxfile.py b/noxfile.py index 7d411fea..3773a35f 100644 --- a/noxfile.py +++ b/noxfile.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2018 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -400,6 +400,7 @@ def prerelease_deps(session): "python", "-c", "import google.protobuf; print(google.protobuf.__version__)" ) session.run("python", "-c", "import grpc; print(grpc.__version__)") + session.run("python", "-c", "import google.auth; print(google.auth.__version__)") session.run("py.test", "tests/unit") diff --git a/samples/generated_samples/cloudkms_v1_generated_ekm_service_create_ekm_connection_async.py b/samples/generated_samples/cloudkms_v1_generated_ekm_service_create_ekm_connection_async.py index 66f98a52..384eb570 100644 --- a/samples/generated_samples/cloudkms_v1_generated_ekm_service_create_ekm_connection_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_ekm_service_create_ekm_connection_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_ekm_service_create_ekm_connection_sync.py b/samples/generated_samples/cloudkms_v1_generated_ekm_service_create_ekm_connection_sync.py index 1b3c4ebc..f6ce047d 100644 --- a/samples/generated_samples/cloudkms_v1_generated_ekm_service_create_ekm_connection_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_ekm_service_create_ekm_connection_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_config_async.py b/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_config_async.py index 50ce6b41..e9a04c7a 100644 --- a/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_config_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_config_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_config_sync.py b/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_config_sync.py index e90ecab8..ce4be3c5 100644 --- a/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_config_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_config_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_connection_async.py b/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_connection_async.py index 3b57e8c1..23d5b7ee 100644 --- a/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_connection_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_connection_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_connection_sync.py b/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_connection_sync.py index a96e4eb2..4856b6ca 100644 --- a/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_connection_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_ekm_service_get_ekm_connection_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_ekm_service_list_ekm_connections_async.py b/samples/generated_samples/cloudkms_v1_generated_ekm_service_list_ekm_connections_async.py index 37511ab8..1f3de383 100644 --- a/samples/generated_samples/cloudkms_v1_generated_ekm_service_list_ekm_connections_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_ekm_service_list_ekm_connections_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_ekm_service_list_ekm_connections_sync.py b/samples/generated_samples/cloudkms_v1_generated_ekm_service_list_ekm_connections_sync.py index 2f8ceae5..745e8eb1 100644 --- a/samples/generated_samples/cloudkms_v1_generated_ekm_service_list_ekm_connections_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_ekm_service_list_ekm_connections_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_config_async.py b/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_config_async.py index 2284e517..9064b040 100644 --- a/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_config_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_config_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_config_sync.py b/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_config_sync.py index 2a54c051..c5f083a4 100644 --- a/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_config_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_config_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_connection_async.py b/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_connection_async.py index af1abfe2..203ea664 100644 --- a/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_connection_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_connection_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_connection_sync.py b/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_connection_sync.py index 441f5d5c..78930e86 100644 --- a/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_connection_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_ekm_service_update_ekm_connection_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_ekm_service_verify_connectivity_async.py b/samples/generated_samples/cloudkms_v1_generated_ekm_service_verify_connectivity_async.py index cc5e0817..e9cc6440 100644 --- a/samples/generated_samples/cloudkms_v1_generated_ekm_service_verify_connectivity_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_ekm_service_verify_connectivity_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_ekm_service_verify_connectivity_sync.py b/samples/generated_samples/cloudkms_v1_generated_ekm_service_verify_connectivity_sync.py index 139e27d2..17333d5a 100644 --- a/samples/generated_samples/cloudkms_v1_generated_ekm_service_verify_connectivity_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_ekm_service_verify_connectivity_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_decrypt_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_decrypt_async.py index 34936669..02a804e1 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_decrypt_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_decrypt_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_decrypt_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_decrypt_sync.py index 58251fcc..818ea573 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_decrypt_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_decrypt_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_sign_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_sign_async.py index 731be22f..7d59f355 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_sign_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_sign_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_sign_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_sign_sync.py index d0c0e502..8e63621a 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_sign_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_asymmetric_sign_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_async.py index 47bef800..dca51c04 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_sync.py index cd2baea3..08f78180 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_version_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_version_async.py index af8e49af..8d1cee9e 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_version_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_version_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_version_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_version_sync.py index ddf469ed..546ee960 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_version_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_crypto_key_version_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_import_job_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_import_job_async.py index 9254b72e..40706158 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_import_job_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_import_job_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_import_job_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_import_job_sync.py index c3fdc39c..b2ebe722 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_import_job_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_import_job_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_key_ring_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_key_ring_async.py index 6d8813c2..da1718f7 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_key_ring_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_key_ring_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_key_ring_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_key_ring_sync.py index 518a159e..1289dddc 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_key_ring_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_create_key_ring_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_decrypt_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_decrypt_async.py index 1661aff2..17ead82c 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_decrypt_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_decrypt_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_decrypt_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_decrypt_sync.py index ca99e368..40dec793 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_decrypt_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_decrypt_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_destroy_crypto_key_version_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_destroy_crypto_key_version_async.py index ca954d3e..63aaf548 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_destroy_crypto_key_version_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_destroy_crypto_key_version_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_destroy_crypto_key_version_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_destroy_crypto_key_version_sync.py index f6e95915..cf3d85cc 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_destroy_crypto_key_version_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_destroy_crypto_key_version_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_encrypt_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_encrypt_async.py index c231742c..56c991f7 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_encrypt_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_encrypt_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_encrypt_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_encrypt_sync.py index 46a3cbfc..5547eaf2 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_encrypt_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_encrypt_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_generate_random_bytes_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_generate_random_bytes_async.py index 65dce1c9..2b9a2ab9 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_generate_random_bytes_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_generate_random_bytes_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_generate_random_bytes_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_generate_random_bytes_sync.py index 64c2be05..d123f210 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_generate_random_bytes_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_generate_random_bytes_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_async.py index 10415fec..ab9e9717 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_sync.py index 0a94bec3..77fc19af 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_version_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_version_async.py index 37ee5709..695dc272 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_version_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_version_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_version_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_version_sync.py index 4b527554..820b645f 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_version_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_crypto_key_version_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_import_job_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_import_job_async.py index 7f5a203f..9021fa81 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_import_job_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_import_job_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_import_job_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_import_job_sync.py index 24bc7eb9..e557a301 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_import_job_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_import_job_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_key_ring_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_key_ring_async.py index 3972b10a..6c379748 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_key_ring_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_key_ring_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_key_ring_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_key_ring_sync.py index 16a340ad..2987c2b3 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_key_ring_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_key_ring_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_public_key_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_public_key_async.py index 7bb829df..bbe4034f 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_public_key_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_public_key_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_public_key_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_public_key_sync.py index e2bf4794..f7240022 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_public_key_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_get_public_key_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_import_crypto_key_version_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_import_crypto_key_version_async.py index e3a9dcbc..569c02a6 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_import_crypto_key_version_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_import_crypto_key_version_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_import_crypto_key_version_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_import_crypto_key_version_sync.py index 0bd882f8..29722c71 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_import_crypto_key_version_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_import_crypto_key_version_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_key_versions_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_key_versions_async.py index 6daff3a0..f7330dfb 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_key_versions_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_key_versions_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_key_versions_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_key_versions_sync.py index ee7763a9..b24258d6 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_key_versions_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_key_versions_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_keys_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_keys_async.py index dff15265..9b505818 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_keys_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_keys_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_keys_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_keys_sync.py index 4f9b57a0..1fa82e1e 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_keys_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_crypto_keys_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_import_jobs_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_import_jobs_async.py index 2c56ecfa..b4c3c206 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_import_jobs_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_import_jobs_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_import_jobs_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_import_jobs_sync.py index 14fe3cb0..59a40244 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_import_jobs_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_import_jobs_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_key_rings_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_key_rings_async.py index c82f8dbe..97670f3c 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_key_rings_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_key_rings_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_key_rings_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_key_rings_sync.py index 50b3ab82..5fc693b6 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_key_rings_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_list_key_rings_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_sign_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_sign_async.py index 2ca43c3c..4101085d 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_sign_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_sign_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_sign_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_sign_sync.py index 2298b828..6e6a6dfd 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_sign_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_sign_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_verify_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_verify_async.py index 46a502fb..16bcb296 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_verify_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_verify_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_verify_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_verify_sync.py index 24057b70..7c242012 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_verify_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_mac_verify_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_decrypt_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_decrypt_async.py index e8536589..116063bf 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_decrypt_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_decrypt_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_decrypt_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_decrypt_sync.py index 1518c8c4..603f5a50 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_decrypt_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_decrypt_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_encrypt_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_encrypt_async.py index b8859670..d89d3990 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_encrypt_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_encrypt_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_encrypt_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_encrypt_sync.py index 8b5f36be..b709dbce 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_encrypt_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_raw_encrypt_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_restore_crypto_key_version_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_restore_crypto_key_version_async.py index c39902e0..1d5fe434 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_restore_crypto_key_version_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_restore_crypto_key_version_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_restore_crypto_key_version_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_restore_crypto_key_version_sync.py index 62ecbfec..6bc5822c 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_restore_crypto_key_version_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_restore_crypto_key_version_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_async.py index 67a3fc23..c01bc705 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_primary_version_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_primary_version_async.py index 0b5a4d19..f7270d62 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_primary_version_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_primary_version_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_primary_version_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_primary_version_sync.py index 36f9c09d..0193d20f 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_primary_version_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_primary_version_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_sync.py index b880c0bc..c0e31cfb 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_version_async.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_version_async.py index bf73c2f2..416621d6 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_version_async.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_version_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_version_sync.py b/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_version_sync.py index 838325ea..af7676d7 100644 --- a/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_version_sync.py +++ b/samples/generated_samples/cloudkms_v1_generated_key_management_service_update_crypto_key_version_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/samples/generated_samples/snippet_metadata_google.cloud.kms.v1.json b/samples/generated_samples/snippet_metadata_google.cloud.kms.v1.json index e20eef20..209f7bb4 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.kms.v1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.kms.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-kms", - "version": "2.18.0" + "version": "2.19.0" }, "snippets": [ { diff --git a/scripts/decrypt-secrets.sh b/scripts/decrypt-secrets.sh index 21f6d2a2..0018b421 100755 --- a/scripts/decrypt-secrets.sh +++ b/scripts/decrypt-secrets.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2015 Google Inc. All rights reserved. +# Copyright 2023 Google LLC All rights reserved. # # 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/scripts/fixup_kms_v1_keywords.py b/scripts/fixup_kms_v1_keywords.py index b72bbc25..cc376d48 100644 --- a/scripts/fixup_kms_v1_keywords.py +++ b/scripts/fixup_kms_v1_keywords.py @@ -1,6 +1,6 @@ #! /usr/bin/env python3 # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/scripts/readme-gen/readme_gen.py b/scripts/readme-gen/readme_gen.py index 91b59676..1acc1198 100644 --- a/scripts/readme-gen/readme_gen.py +++ b/scripts/readme-gen/readme_gen.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2016 Google Inc +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -33,17 +33,17 @@ autoescape=True, ) -README_TMPL = jinja_env.get_template('README.tmpl.rst') +README_TMPL = jinja_env.get_template("README.tmpl.rst") def get_help(file): - return subprocess.check_output(['python', file, '--help']).decode() + return subprocess.check_output(["python", file, "--help"]).decode() def main(): parser = argparse.ArgumentParser() - parser.add_argument('source') - parser.add_argument('--destination', default='README.rst') + parser.add_argument("source") + parser.add_argument("--destination", default="README.rst") args = parser.parse_args() @@ -51,9 +51,9 @@ def main(): root = os.path.dirname(source) destination = os.path.join(root, args.destination) - jinja_env.globals['get_help'] = get_help + jinja_env.globals["get_help"] = get_help - with io.open(source, 'r') as f: + with io.open(source, "r") as f: config = yaml.load(f) # This allows get_help to execute in the right directory. @@ -61,9 +61,9 @@ def main(): output = README_TMPL.render(config) - with io.open(destination, 'w') as f: + with io.open(destination, "w") as f: f.write(output) -if __name__ == '__main__': +if __name__ == "__main__": main() diff --git a/setup.cfg b/setup.cfg index c3a2b39f..05235008 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2020 Google LLC +# Copyright 2023 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/setup.py b/setup.py index 426c22cb..0380ce63 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/tests/__init__.py b/tests/__init__.py index e8e1c384..89a37dc9 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/tests/unit/__init__.py b/tests/unit/__init__.py index e8e1c384..89a37dc9 100644 --- a/tests/unit/__init__.py +++ b/tests/unit/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/tests/unit/gapic/__init__.py b/tests/unit/gapic/__init__.py index e8e1c384..89a37dc9 100644 --- a/tests/unit/gapic/__init__.py +++ b/tests/unit/gapic/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/tests/unit/gapic/kms_v1/__init__.py b/tests/unit/gapic/kms_v1/__init__.py index e8e1c384..89a37dc9 100644 --- a/tests/unit/gapic/kms_v1/__init__.py +++ b/tests/unit/gapic/kms_v1/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/tests/unit/gapic/kms_v1/test_ekm_service.py b/tests/unit/gapic/kms_v1/test_ekm_service.py index 31b45701..5785b86f 100644 --- a/tests/unit/gapic/kms_v1/test_ekm_service.py +++ b/tests/unit/gapic/kms_v1/test_ekm_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 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/tests/unit/gapic/kms_v1/test_key_management_service.py b/tests/unit/gapic/kms_v1/test_key_management_service.py index 676bc7b3..c1adba77 100644 --- a/tests/unit/gapic/kms_v1/test_key_management_service.py +++ b/tests/unit/gapic/kms_v1/test_key_management_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.