Skip to content

Commit

Permalink
chore: Migrate python-monitoring synth.py from artman to bazel (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
vam-google authored Apr 21, 2020
1 parent 9b7137a commit 9d7c06a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/google-cloud-monitoring/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit 9d7c06a

Please sign in to comment.