This repository was archived by the owner on Dec 31, 2023. It is now read-only.
Commit 4077fc8
authored
feat: add support for external key manager (via synth) (#8)
This PR was generated using Autosynth. 🌈
<details><summary>Log from Synthtool</summary>
```
2020-04-09 05:17:46,671 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
On branch autosynth
nothing to commit, working tree clean
2020-04-09 05:17:46,744 synthtool > Ensuring dependencies.
2020-04-09 05:17:46,749 synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
fe703b657a32: Pulling fs layer
f9df1fafd224: Pulling fs layer
a645a4b887f9: Pulling fs layer
57db7fe0b522: Pulling fs layer
21813e587ee0: Pulling fs layer
c1a422e3936c: Pulling fs layer
7896fdb9a0c9: Pulling fs layer
0de4b0ae0d3f: Pulling fs layer
01bd40777c31: Pulling fs layer
56b5bb33902f: Pulling fs layer
1614ad0d8336: Pulling fs layer
1966fa070a3e: Pulling fs layer
bdec75005236: Pulling fs layer
926959728054: Pulling fs layer
6336bbde4243: Pulling fs layer
528525f78682: Pulling fs layer
e563a20cd63b: Pulling fs layer
5c8b90802b46: Pulling fs layer
1779990e45c7: Pulling fs layer
b5fe0cb05c88: Pulling fs layer
09523ca76318: Pulling fs layer
a097eb4cee97: Pulling fs layer
45a97578bd37: Pulling fs layer
1abced54aff8: Pulling fs layer
32448d22ea50: Pulling fs layer
cca4a4de1600: Pulling fs layer
bd1b621d3208: Pulling fs layer
690f3c005fd3: Pulling fs layer
7896fdb9a0c9: Waiting
0de4b0ae0d3f: Waiting
01bd40777c31: Waiting
56b5bb33902f: Waiting
1614ad0d8336: Waiting
1966fa070a3e: Waiting
bdec75005236: Waiting
926959728054: Waiting
57db7fe0b522: Waiting
21813e587ee0: Waiting
c1a422e3936c: Waiting
6336bbde4243: Waiting
528525f78682: Waiting
e563a20cd63b: Waiting
5c8b90802b46: Waiting
1779990e45c7: Waiting
b5fe0cb05c88: Waiting
09523ca76318: Waiting
a097eb4cee97: Waiting
45a97578bd37: Waiting
1abced54aff8: Waiting
32448d22ea50: Waiting
cca4a4de1600: Waiting
bd1b621d3208: Waiting
690f3c005fd3: Waiting
a645a4b887f9: Download complete
f9df1fafd224: Verifying Checksum
f9df1fafd224: Download complete
57db7fe0b522: Verifying Checksum
57db7fe0b522: Download complete
fe703b657a32: Verifying Checksum
fe703b657a32: Download complete
21813e587ee0: Verifying Checksum
21813e587ee0: Download complete
7896fdb9a0c9: Verifying Checksum
7896fdb9a0c9: Download complete
0de4b0ae0d3f: Verifying Checksum
0de4b0ae0d3f: Download complete
56b5bb33902f: Verifying Checksum
56b5bb33902f: Download complete
01bd40777c31: Verifying Checksum
01bd40777c31: Download complete
1966fa070a3e: Verifying Checksum
1966fa070a3e: Download complete
1614ad0d8336: Verifying Checksum
1614ad0d8336: Download complete
926959728054: Verifying Checksum
926959728054: Download complete
c1a422e3936c: Verifying Checksum
c1a422e3936c: Download complete
6336bbde4243: Verifying Checksum
6336bbde4243: Download complete
fe703b657a32: Pull complete
528525f78682: Verifying Checksum
528525f78682: Download complete
e563a20cd63b: Verifying Checksum
e563a20cd63b: Download complete
f9df1fafd224: Pull complete
a645a4b887f9: Pull complete
bdec75005236: Verifying Checksum
bdec75005236: Download complete
57db7fe0b522: Pull complete
5c8b90802b46: Verifying Checksum
5c8b90802b46: Download complete
1779990e45c7: Verifying Checksum
1779990e45c7: Download complete
09523ca76318: Verifying Checksum
09523ca76318: Download complete
45a97578bd37: Verifying Checksum
45a97578bd37: Download complete
1abced54aff8: Verifying Checksum
1abced54aff8: Download complete
32448d22ea50: Verifying Checksum
32448d22ea50: Download complete
21813e587ee0: Pull complete
b5fe0cb05c88: Verifying Checksum
b5fe0cb05c88: Download complete
cca4a4de1600: Download complete
bd1b621d3208: Download complete
690f3c005fd3: Verifying Checksum
690f3c005fd3: Download complete
c1a422e3936c: Pull complete
7896fdb9a0c9: Pull complete
0de4b0ae0d3f: Pull complete
01bd40777c31: Pull complete
56b5bb33902f: Pull complete
a097eb4cee97: Verifying Checksum
a097eb4cee97: Download complete
1614ad0d8336: Pull complete
1966fa070a3e: Pull complete
bdec75005236: Pull complete
926959728054: Pull complete
6336bbde4243: Pull complete
528525f78682: Pull complete
e563a20cd63b: Pull complete
5c8b90802b46: Pull complete
1779990e45c7: Pull complete
b5fe0cb05c88: Pull complete
09523ca76318: Pull complete
a097eb4cee97: Pull complete
45a97578bd37: Pull complete
1abced54aff8: Pull complete
32448d22ea50: Pull complete
cca4a4de1600: Pull complete
bd1b621d3208: Pull complete
690f3c005fd3: Pull complete
Digest: sha256:ef1a5b367dbe1e37cea1c7c814c801a638473e8dd66f87f4a2b8c2a146013673
Status: Downloaded newer image for googleapis/artman:latest
2020-04-09 05:18:30,711 synthtool > Cloning googleapis.
2020-04-09 05:18:31,217 synthtool > Running generator for google/cloud/kms/artman_cloudkms.yaml.
2020-04-09 05:18:57,649 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/kms-v1.
2020-04-09 05:18:57,650 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/kms/v1/service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/kms-v1/google/cloud/kms_v1/proto/service.proto
2020-04-09 05:18:57,650 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/kms/v1/resources.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/kms-v1/google/cloud/kms_v1/proto/resources.proto
2020-04-09 05:18:57,650 synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/kms-v1/google/cloud/kms_v1/proto.
2020-04-09 05:18:57,679 synthtool > Replaced 'from google.iam.v1 import iam_policy_pb2' in google/cloud/kms_v1/gapic/transports/key_management_service_grpc_transport.py.
.coveragerc
.flake8
.github/CONTRIBUTING.md
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/release-please.yml
.gitignore
.kokoro/build.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/continuous.cfg
.kokoro/docs/common.cfg
.kokoro/docs/docs.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/presubmit.cfg
.kokoro/publish-docs.sh
.kokoro/release.sh
.kokoro/release/common.cfg
.kokoro/release/release.cfg
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.rst
LICENSE
MANIFEST.in
docs/_static/custom.css
docs/_templates/layout.html
docs/conf.py.j2
noxfile.py.j2
renovate.json
setup.cfg
Running session blacken
Creating virtual environment (virtualenv) using python3.6 in .nox/blacken
pip install black==19.3b0
black docs google tests noxfile.py setup.py
reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/google/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms.py
reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/docs/conf.py
reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/gapic/key_management_service_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/proto/resources_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/gapic/transports/key_management_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/proto/service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/noxfile.py
reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/gapic/key_management_service_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/proto/resources_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/tests/unit/gapic/v1/test_key_management_service_client_v1.py
reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/proto/service_pb2.py
All done! ✨ 🍰 ✨
16 files reformatted, 5 files left unchanged.
Session blacken was successful.
2020-04-09 05:19:04,531 synthtool > Wrote metadata to synth.metadata.
```
</details>1 parent d55ddd9 commit 4077fc8
File tree
16 files changed
+491
-356
lines changed- .github/ISSUE_TEMPLATE
- google/cloud/kms_v1
- gapic
- proto
- tests/unit/gapic/v1
16 files changed
+491
-356
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
1 | 17 | | |
2 | 18 | | |
3 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
1 | 17 | | |
2 | 18 | | |
3 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
220 | 221 | | |
| 222 | + | |
221 | 223 | | |
222 | 224 | | |
223 | 225 | | |
224 | 226 | | |
225 | 227 | | |
226 | 228 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | 229 | | |
238 | 230 | | |
239 | 231 | | |
| |||
247 | 239 | | |
248 | 240 | | |
249 | 241 | | |
250 | | - | |
251 | 242 | | |
252 | 243 | | |
253 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
1 | 17 | | |
2 | 18 | | |
3 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| 136 | + | |
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
| |||
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| |||
1676 | 1677 | | |
1677 | 1678 | | |
1678 | 1679 | | |
1679 | | - | |
| 1680 | + | |
| 1681 | + | |
1680 | 1682 | | |
1681 | 1683 | | |
1682 | 1684 | | |
| |||
2320 | 2322 | | |
2321 | 2323 | | |
2322 | 2324 | | |
2323 | | - | |
| 2325 | + | |
| 2326 | + | |
2324 | 2327 | | |
2325 | 2328 | | |
2326 | 2329 | | |
| |||
2402 | 2405 | | |
2403 | 2406 | | |
2404 | 2407 | | |
2405 | | - | |
| 2408 | + | |
| 2409 | + | |
2406 | 2410 | | |
2407 | 2411 | | |
2408 | 2412 | | |
| |||
2486 | 2490 | | |
2487 | 2491 | | |
2488 | 2492 | | |
2489 | | - | |
| 2493 | + | |
| 2494 | + | |
2490 | 2495 | | |
2491 | 2496 | | |
2492 | 2497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | 145 | | |
151 | 146 | | |
152 | 147 | | |
| |||
289 | 284 | | |
290 | 285 | | |
291 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
292 | 290 | | |
293 | 291 | | |
294 | 292 | | |
| |||
395 | 393 | | |
396 | 394 | | |
397 | 395 | | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
398 | 401 | | |
399 | 402 | | |
400 | 403 | | |
401 | 404 | | |
402 | 405 | | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
403 | 411 | | |
404 | 412 | | |
405 | 413 | | |
| |||
565 | 573 | | |
566 | 574 | | |
567 | 575 | | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
0 commit comments