From 9d7c06adc0d0d9aaecc2971c3cbc55a8b6159f92 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Tue, 21 Apr 2020 14:20:08 -0700 Subject: [PATCH] chore: Migrate python-monitoring synth.py from artman to bazel (#14) --- packages/google-cloud-monitoring/synth.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/google-cloud-monitoring/synth.py b/packages/google-cloud-monitoring/synth.py index 87dd6c76594b..0b86825e7987 100644 --- a/packages/google-cloud-monitoring/synth.py +++ b/packages/google-cloud-monitoring/synth.py @@ -20,17 +20,16 @@ logging.basicConfig(level=logging.DEBUG) -gapic = gcp.GAPICGenerator() +gapic = gcp.GAPICBazel() common = gcp.CommonTemplates() # ---------------------------------------------------------------------------- # Generate monitoring GAPIC layer # ---------------------------------------------------------------------------- v3_library = gapic.py_library( - "monitoring", - "v3", - config_path="/google/monitoring/artman_monitoring.yaml", - artman_output_name="monitoring-v3", + service="monitoring", + version="v3", + bazel_target="//google/monitoring/v3:monitoring-v3-py", include_protos=True, )