File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 1616import synthtool as s
1717from synthtool import gcp
1818
19- gapic = gcp .GAPICGenerator ()
19+ gapic = gcp .GAPICBazel ()
2020common = gcp .CommonTemplates ()
2121
2222# ----------------------------------------------------------------------------
2323# Generate logging GAPIC layer
2424# ----------------------------------------------------------------------------
2525library = gapic .py_library (
26- "logging" ,
27- "v2" ,
28- config_path = "/google/logging/artman_logging.yaml" ,
29- artman_output_name = "logging-v2" ,
26+ service = "logging" ,
27+ version = "v2" ,
28+ bazel_target = "//google/logging/v2:logging-v2-py" ,
3029 include_protos = True ,
3130)
3231
3332# the structure of the logging directory is a bit different, so manually copy the protos
34- s .move (library / "google/cloud/logging_v2/proto/cloud/logging_v2/proto" , "google/cloud/logging_v2/proto" )
35- s .move (library / "google/cloud/logging_v2/proto/*.proto" )
33+ s .move (library / "google/cloud/logging_v2/proto" , "google/cloud/logging_v2/proto" )
3634
3735s .move (library / "google/cloud/logging_v2/gapic" )
3836s .move (library / "tests/unit/gapic/v2" )
You can’t perform that action at this time.
0 commit comments