File tree 2 files changed +9
-25
lines changed
packages/google-cloud-recaptchaenterprise
2 files changed +9
-25
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-recaptcha-enterprise.git",
7
- "sha": "fd52ed9ae9cc159c2b3915fcfc4a11ae1462ac4b"
8
- }
9
- },
10
- {
11
- "git": {
12
- "name": "googleapis",
13
- "remote": "https://github.com/googleapis/googleapis.git",
14
- "sha": "c1ba5ba3f24307ca5a6df350d0137c29d69983d5",
15
- "internalRef": "316715576"
6
+ "remote": "
[email protected] :googleapis/nodejs-recaptcha-enterprise.git",
7
+ "sha": "dbccd2e444d5d808ad6981acf3ad6936106e9649"
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": "recaptchaenterprise",
31
23
"apiVersion": "v1beta1",
32
- "language": "typescript ",
33
- "generator": "gapic-generator-typescript "
24
+ "language": "nodejs ",
25
+ "generator": "bazel "
34
26
}
35
27
},
36
28
{
37
29
"client": {
38
30
"source": "googleapis",
39
31
"apiName": "recaptchaenterprise",
40
32
"apiVersion": "v1",
41
- "language": "typescript ",
42
- "generator": "gapic-generator-typescript "
33
+ "language": "nodejs ",
34
+ "generator": "bazel "
43
35
}
44
36
}
45
37
]
Original file line number Diff line number Diff line change 24
24
25
25
26
26
# run the gapic generator
27
- gapic = gcp .GAPICMicrogenerator ()
27
+ gapic = gcp .GAPICBazel ()
28
28
versions = ['v1beta1' , 'v1' ]
29
29
for version in versions :
30
- library = gapic .typescript_library (
31
- 'recaptchaenterprise' , version ,
32
- generator_args = {
33
- "grpc-service-config" : f"google/cloud/recaptchaenterprise/{ version } /recaptchaenterprise_grpc_service_config.json" ,
34
- "package-name" : f"@google-cloud/recaptcha-enterprise" ,
35
- },
36
- proto_path = f'/google/cloud/recaptchaenterprise/{ version } ' ,
37
- extra_proto_files = ['google/cloud/common_resources.proto' ]
38
- )
30
+ library = gapic .node_library ('recaptchaenterprise' , version )
39
31
s .copy (library , excludes = ['package.json' ])
40
32
41
33
# Copy common templates
You can’t perform that action at this time.
0 commit comments