From 9120e12daf9f7f339d88c33164715a3cd7b4f897 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Tue, 21 Apr 2020 16:48:36 -0700 Subject: [PATCH] chore: Migrate python-kms synth.py from artman to bazel (#10) --- packages/google-cloud-kms/synth.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/google-cloud-kms/synth.py b/packages/google-cloud-kms/synth.py index 07fd456b37d5..cfdf648ef13d 100644 --- a/packages/google-cloud-kms/synth.py +++ b/packages/google-cloud-kms/synth.py @@ -22,7 +22,7 @@ client_library_version = "0.1.0" -gapic = gcp.GAPICGenerator() +gapic = gcp.GAPICBazel() common = gcp.CommonTemplates() version = "v1" @@ -30,10 +30,9 @@ # Generate kms GAPIC layer # ---------------------------------------------------------------------------- library = gapic.py_library( - "kms", - version, - config_path="artman_cloudkms.yaml", - artman_output_name="kms-v1", + service="kms", + version=version, + bazel_target="//google/cloud/kms/v1:kms-v1-py", include_protos=True, )