Skip to content

Commit

Permalink
build: adds gapic_metadata.json; bug fix to generator
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 13, 2022
1 parent 905bd7d commit ccc4651
Show file tree
Hide file tree
Showing 6 changed files with 384 additions and 84 deletions.
186 changes: 174 additions & 12 deletions packages/google-cloud-language/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 57 additions & 0 deletions packages/google-cloud-language/src/v1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "typescript",
"protoPackage": "google.cloud.language.v1",
"libraryPackage": "@google-cloud/language",
"services": {
"LanguageService": {
"grpc": {
"libraryClient": "LanguageServiceClient",
"rpcs": {
"AnalyzeSentiment": [
"analyzeSentiment"
],
"AnalyzeEntities": [
"analyzeEntities"
],
"AnalyzeEntitySentiment": [
"analyzeEntitySentiment"
],
"AnalyzeSyntax": [
"analyzeSyntax"
],
"ClassifyText": [
"classifyText"
],
"AnnotateText": [
"annotateText"
]
}
},
"grpc-fallback": {
"libraryClient": "LanguageServiceClient",
"rpcs": {
"AnalyzeSentiment": [
"analyzeSentiment"
],
"AnalyzeEntities": [
"analyzeEntities"
],
"AnalyzeEntitySentiment": [
"analyzeEntitySentiment"
],
"AnalyzeSyntax": [
"analyzeSyntax"
],
"ClassifyText": [
"classifyText"
],
"AnnotateText": [
"annotateText"
]
}
}
}
}
}
Loading

0 comments on commit ccc4651

Please sign in to comment.