File tree 2 files changed +7
-24
lines changed
packages/google-cloud-datalabeling
2 files changed +7
-24
lines changed Original file line number Diff line number Diff line change 3
3
{
4
4
"git": {
5
5
"name": ".",
6
- "remote": "https://github.com/googleapis/nodejs-datalabeling.git",
7
- "sha": "e6c75f5416814ff65006b62bdbea06dd2c9d270b"
8
- }
9
- },
10
- {
11
- "git": {
12
- "name": "googleapis",
13
- "remote": "https://github.com/googleapis/googleapis.git",
14
- "sha": "6dfd72d028a0d0a43764e060f7b15e004385c3a1",
15
- "internalRef": "310168181"
6
+ "remote": "
[email protected] :googleapis/nodejs-datalabeling.git",
7
+ "sha": "78892f9998651690f6726520d818cf244df4793b"
16
8
}
17
9
},
18
10
{
19
11
"git": {
20
12
"name": "synthtool",
21
13
"remote": "https://github.com/googleapis/synthtool.git",
22
- "sha": "dc9caca650c77b7039e2bbc3339ffb34ae78e5b7 "
14
+ "sha": "303271797a360f8a439203413f13a160f2f5b3b4 "
23
15
}
24
16
}
25
17
],
29
21
"source": "googleapis",
30
22
"apiName": "datalabeling",
31
23
"apiVersion": "v1beta1",
32
- "language": "typescript ",
33
- "generator": "gapic-generator-typescript "
24
+ "language": "nodejs ",
25
+ "generator": "bazel "
34
26
}
35
27
}
36
28
]
Original file line number Diff line number Diff line change 24
24
AUTOSYNTH_MULTIPLE_COMMITS = True
25
25
26
26
# Run the gapic generator
27
- gapic = gcp .GAPICMicrogenerator ()
27
+ gapic = gcp .GAPICBazel ()
28
28
versions = ['v1beta1' ]
29
29
for version in versions :
30
- library = gapic .typescript_library (
31
- 'datalabeling' , version ,
32
- generator_args = {
33
- "grpc-service-config" : f"google/cloud/datalabeling/{ version } /datalabeling_grpc_service_config.json" ,
34
- "package-name" : "@google-cloud/datalabeling" ,
35
- "main-service" : "datalabeling"
36
- },
37
- proto_path = f'/google/cloud/datalabeling/{ version } ' ,
38
- extra_proto_files = ['google/cloud/common_resources.proto' ],
39
- )
30
+ library = gapic .node_library ('datalabeling' , version )
40
31
s .copy (library , excludes = ['README.md' , 'package.json' ])
41
32
42
33
# Copy common templates
You can’t perform that action at this time.
0 commit comments