Skip to content

Commit 25fe6a4

Browse files
chore: generate GAPIC metadata JSON file (#603)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/9777e4fc-493b-4824-939e-2bf12cea9581/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 345596855 Source-Link: googleapis/googleapis@d189e87
1 parent 322a188 commit 25fe6a4

File tree

3 files changed

+217
-3
lines changed

3 files changed

+217
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
{
2+
"schema": "1.0",
3+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
4+
"language": "typescript",
5+
"protoPackage": "google.cloud.translation.v3",
6+
"libraryPackage": "@google-cloud/translate",
7+
"services": {
8+
"TranslationService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "TranslationServiceClient",
12+
"rpcs": {
13+
"TranslateText": {
14+
"methods": [
15+
"translateText"
16+
]
17+
},
18+
"DetectLanguage": {
19+
"methods": [
20+
"detectLanguage"
21+
]
22+
},
23+
"GetSupportedLanguages": {
24+
"methods": [
25+
"getSupportedLanguages"
26+
]
27+
},
28+
"GetGlossary": {
29+
"methods": [
30+
"getGlossary"
31+
]
32+
},
33+
"BatchTranslateText": {
34+
"methods": [
35+
"batchTranslateText"
36+
]
37+
},
38+
"CreateGlossary": {
39+
"methods": [
40+
"createGlossary"
41+
]
42+
},
43+
"DeleteGlossary": {
44+
"methods": [
45+
"deleteGlossary"
46+
]
47+
},
48+
"ListGlossaries": {
49+
"methods": [
50+
"listGlossaries",
51+
"listGlossariesStream",
52+
"listGlossariesAsync"
53+
]
54+
}
55+
}
56+
},
57+
"grpc-fallback": {
58+
"libraryClient": "TranslationServiceClient",
59+
"rpcs": {
60+
"TranslateText": {
61+
"methods": [
62+
"translateText"
63+
]
64+
},
65+
"DetectLanguage": {
66+
"methods": [
67+
"detectLanguage"
68+
]
69+
},
70+
"GetSupportedLanguages": {
71+
"methods": [
72+
"getSupportedLanguages"
73+
]
74+
},
75+
"GetGlossary": {
76+
"methods": [
77+
"getGlossary"
78+
]
79+
},
80+
"BatchTranslateText": {
81+
"methods": [
82+
"batchTranslateText"
83+
]
84+
},
85+
"CreateGlossary": {
86+
"methods": [
87+
"createGlossary"
88+
]
89+
},
90+
"DeleteGlossary": {
91+
"methods": [
92+
"deleteGlossary"
93+
]
94+
},
95+
"ListGlossaries": {
96+
"methods": [
97+
"listGlossaries",
98+
"listGlossariesStream",
99+
"listGlossariesAsync"
100+
]
101+
}
102+
}
103+
}
104+
}
105+
}
106+
}
107+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
{
2+
"schema": "1.0",
3+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
4+
"language": "typescript",
5+
"protoPackage": "google.cloud.translation.v3beta1",
6+
"libraryPackage": "@google-cloud/translate",
7+
"services": {
8+
"TranslationService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "TranslationServiceClient",
12+
"rpcs": {
13+
"TranslateText": {
14+
"methods": [
15+
"translateText"
16+
]
17+
},
18+
"DetectLanguage": {
19+
"methods": [
20+
"detectLanguage"
21+
]
22+
},
23+
"GetSupportedLanguages": {
24+
"methods": [
25+
"getSupportedLanguages"
26+
]
27+
},
28+
"GetGlossary": {
29+
"methods": [
30+
"getGlossary"
31+
]
32+
},
33+
"BatchTranslateText": {
34+
"methods": [
35+
"batchTranslateText"
36+
]
37+
},
38+
"CreateGlossary": {
39+
"methods": [
40+
"createGlossary"
41+
]
42+
},
43+
"DeleteGlossary": {
44+
"methods": [
45+
"deleteGlossary"
46+
]
47+
},
48+
"ListGlossaries": {
49+
"methods": [
50+
"listGlossaries",
51+
"listGlossariesStream",
52+
"listGlossariesAsync"
53+
]
54+
}
55+
}
56+
},
57+
"grpc-fallback": {
58+
"libraryClient": "TranslationServiceClient",
59+
"rpcs": {
60+
"TranslateText": {
61+
"methods": [
62+
"translateText"
63+
]
64+
},
65+
"DetectLanguage": {
66+
"methods": [
67+
"detectLanguage"
68+
]
69+
},
70+
"GetSupportedLanguages": {
71+
"methods": [
72+
"getSupportedLanguages"
73+
]
74+
},
75+
"GetGlossary": {
76+
"methods": [
77+
"getGlossary"
78+
]
79+
},
80+
"BatchTranslateText": {
81+
"methods": [
82+
"batchTranslateText"
83+
]
84+
},
85+
"CreateGlossary": {
86+
"methods": [
87+
"createGlossary"
88+
]
89+
},
90+
"DeleteGlossary": {
91+
"methods": [
92+
"deleteGlossary"
93+
]
94+
},
95+
"ListGlossaries": {
96+
"methods": [
97+
"listGlossaries",
98+
"listGlossariesStream",
99+
"listGlossariesAsync"
100+
]
101+
}
102+
}
103+
}
104+
}
105+
}
106+
}
107+
}

packages/google-cloud-translate/synth.metadata

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/nodejs-translate.git",
7-
"sha": "de3e5624981cd07249bd2aad6fcb0f53a6383a3f"
7+
"sha": "3f78a0fc9fe336a2084cc1641ec63f42fc11d0d0"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "2f019bf70bfe06f1e2af1b04011b0a2405190e43",
15-
"internalRef": "343202295"
14+
"sha": "d189e871205fea665a9648f7c4676f027495ccaf",
15+
"internalRef": "345596855"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)