From ea5ab3cace2d3b0b2982855491b0f991a735aae7 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 3 Dec 2020 10:30:15 -0800 Subject: [PATCH] chore: proper format of gapic_metadata.json (#533) Updated gapic-generator-typescript to v1.2.7. Committer: @alexander-fenster PiperOrigin-RevId: 345358447 Source-Author: Google APIs Source-Date: Wed Dec 2 18:54:44 2020 -0800 Source-Repo: googleapis/googleapis Source-Sha: 539f0d44c80ef331ae1a50d92d61b91e77d500dd Source-Link: https://github.com/googleapis/googleapis/commit/539f0d44c80ef331ae1a50d92d61b91e77d500dd --- .../src/v1/gapic_metadata.json | 114 +++++++++++------- .../src/v1beta2/gapic_metadata.json | 114 +++++++++++------- packages/google-cloud-language/synth.metadata | 6 +- 3 files changed, 143 insertions(+), 91 deletions(-) diff --git a/packages/google-cloud-language/src/v1/gapic_metadata.json b/packages/google-cloud-language/src/v1/gapic_metadata.json index 441ddcf6f72..fc97e120f5a 100644 --- a/packages/google-cloud-language/src/v1/gapic_metadata.json +++ b/packages/google-cloud-language/src/v1/gapic_metadata.json @@ -6,50 +6,76 @@ "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" - ] + "clients": { + "grpc": { + "libraryClient": "LanguageServiceClient", + "rpcs": { + "AnalyzeSentiment": { + "methods": [ + "analyzeSentiment" + ] + }, + "AnalyzeEntities": { + "methods": [ + "analyzeEntities" + ] + }, + "AnalyzeEntitySentiment": { + "methods": [ + "analyzeEntitySentiment" + ] + }, + "AnalyzeSyntax": { + "methods": [ + "analyzeSyntax" + ] + }, + "ClassifyText": { + "methods": [ + "classifyText" + ] + }, + "AnnotateText": { + "methods": [ + "annotateText" + ] + } + } + }, + "grpc-fallback": { + "libraryClient": "LanguageServiceClient", + "rpcs": { + "AnalyzeSentiment": { + "methods": [ + "analyzeSentiment" + ] + }, + "AnalyzeEntities": { + "methods": [ + "analyzeEntities" + ] + }, + "AnalyzeEntitySentiment": { + "methods": [ + "analyzeEntitySentiment" + ] + }, + "AnalyzeSyntax": { + "methods": [ + "analyzeSyntax" + ] + }, + "ClassifyText": { + "methods": [ + "classifyText" + ] + }, + "AnnotateText": { + "methods": [ + "annotateText" + ] + } + } } } } diff --git a/packages/google-cloud-language/src/v1beta2/gapic_metadata.json b/packages/google-cloud-language/src/v1beta2/gapic_metadata.json index 135a42a453a..cc37c24c2d1 100644 --- a/packages/google-cloud-language/src/v1beta2/gapic_metadata.json +++ b/packages/google-cloud-language/src/v1beta2/gapic_metadata.json @@ -6,50 +6,76 @@ "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" - ] + "clients": { + "grpc": { + "libraryClient": "LanguageServiceClient", + "rpcs": { + "AnalyzeSentiment": { + "methods": [ + "analyzeSentiment" + ] + }, + "AnalyzeEntities": { + "methods": [ + "analyzeEntities" + ] + }, + "AnalyzeEntitySentiment": { + "methods": [ + "analyzeEntitySentiment" + ] + }, + "AnalyzeSyntax": { + "methods": [ + "analyzeSyntax" + ] + }, + "ClassifyText": { + "methods": [ + "classifyText" + ] + }, + "AnnotateText": { + "methods": [ + "annotateText" + ] + } + } + }, + "grpc-fallback": { + "libraryClient": "LanguageServiceClient", + "rpcs": { + "AnalyzeSentiment": { + "methods": [ + "analyzeSentiment" + ] + }, + "AnalyzeEntities": { + "methods": [ + "analyzeEntities" + ] + }, + "AnalyzeEntitySentiment": { + "methods": [ + "analyzeEntitySentiment" + ] + }, + "AnalyzeSyntax": { + "methods": [ + "analyzeSyntax" + ] + }, + "ClassifyText": { + "methods": [ + "classifyText" + ] + }, + "AnnotateText": { + "methods": [ + "annotateText" + ] + } + } } } } diff --git a/packages/google-cloud-language/synth.metadata b/packages/google-cloud-language/synth.metadata index f772b35debf..2a173239fc5 100644 --- a/packages/google-cloud-language/synth.metadata +++ b/packages/google-cloud-language/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/nodejs-language.git", - "sha": "8df39fe2346420fee3bf3a40dcf6a97a1289db45" + "sha": "87c644d5b22b37945e5b456b073770133684ed0d" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "2f019bf70bfe06f1e2af1b04011b0a2405190e43", - "internalRef": "343202295" + "sha": "539f0d44c80ef331ae1a50d92d61b91e77d500dd", + "internalRef": "345358447" } }, {