Skip to content

Commit

Permalink
chore: switch to Bazel for client generation (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
tswast authored Oct 28, 2020
1 parent 78c0bc4 commit bec4a9a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/google-cloud-bigquery-reservation/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,17 @@
import synthtool.gcp as gcp
from synthtool.languages import python

gapic = gcp.GAPICMicrogenerator()
gapic = gcp.GAPICBazel()
common = gcp.CommonTemplates()

# ----------------------------------------------------------------------------
# Generate access approval GAPIC layer
# ----------------------------------------------------------------------------
library = gapic.py_library("bigquery/reservation", "v1")
library = gapic.py_library(
service="bigquery/reservation",
version="v1",
bazel_target=f"//google/cloud/bigquery/reservation/v1:bigquery-reservation-v1-py"
)

s.move(library, excludes=["nox.py", "setup.py", "README.rst", "docs/index.rst"])

Expand Down

0 comments on commit bec4a9a

Please sign in to comment.