From c25faf6cfe964eaeed283f7bf6a74551e0efe0cd Mon Sep 17 00:00:00 2001 From: xiaozhenliugg Date: Mon, 11 Nov 2019 15:19:13 -0800 Subject: [PATCH] separate jsdoc with api version --- templates/typescript_gapic/src/$version/$service_client.ts.njk | 2 ++ .../keymanager/src/v1/key_management_service_client.ts.baseline | 2 ++ .../test/testdata/showcase/src/v1beta1/echo_client.ts.baseline | 2 ++ .../texttospeech/src/v1/text_to_speech_client.ts.baseline | 2 ++ .../src/v3beta1/translation_service_client.ts.baseline | 2 ++ 5 files changed, 10 insertions(+) diff --git a/templates/typescript_gapic/src/$version/$service_client.ts.njk b/templates/typescript_gapic/src/$version/$service_client.ts.njk index 60ca43dc4..512a57625 100644 --- a/templates/typescript_gapic/src/$version/$service_client.ts.njk +++ b/templates/typescript_gapic/src/$version/$service_client.ts.njk @@ -73,6 +73,8 @@ export interface PaginationResponse< /** {{- util.printCommentsForService(service) }} + * @class + * @memberof {{ api.naming.version }} */ export class {{ service.name }}Client { private _descriptors: Descriptors = {page: {}, stream: {}, longrunning: {}}; diff --git a/typescript/test/testdata/keymanager/src/v1/key_management_service_client.ts.baseline b/typescript/test/testdata/keymanager/src/v1/key_management_service_client.ts.baseline index 74737a1c5..4b240655f 100644 --- a/typescript/test/testdata/keymanager/src/v1/key_management_service_client.ts.baseline +++ b/typescript/test/testdata/keymanager/src/v1/key_management_service_client.ts.baseline @@ -75,6 +75,8 @@ export interface PaginationResponse< * * If you are using manual gRPC libraries, see * [Using gRPC with Cloud KMS](https://cloud.google.com/kms/docs/grpc). + * @class + * @memberof v1 */ export class KeyManagementServiceClient { private _descriptors: Descriptors = {page: {}, stream: {}, longrunning: {}}; diff --git a/typescript/test/testdata/showcase/src/v1beta1/echo_client.ts.baseline b/typescript/test/testdata/showcase/src/v1beta1/echo_client.ts.baseline index 54c58e198..877978588 100644 --- a/typescript/test/testdata/showcase/src/v1beta1/echo_client.ts.baseline +++ b/typescript/test/testdata/showcase/src/v1beta1/echo_client.ts.baseline @@ -71,6 +71,8 @@ export interface PaginationResponse< * side streaming, client side streaming, and bidirectional streaming. This * service also exposes methods that explicitly implement server delay, and * paginated calls. + * @class + * @memberof v1beta1 */ export class EchoClient { private _descriptors: Descriptors = {page: {}, stream: {}, longrunning: {}}; diff --git a/typescript/test/testdata/texttospeech/src/v1/text_to_speech_client.ts.baseline b/typescript/test/testdata/texttospeech/src/v1/text_to_speech_client.ts.baseline index 82cd76ab4..b0e6930ad 100644 --- a/typescript/test/testdata/texttospeech/src/v1/text_to_speech_client.ts.baseline +++ b/typescript/test/testdata/texttospeech/src/v1/text_to_speech_client.ts.baseline @@ -51,6 +51,8 @@ export interface Callback< /** * Service that implements Google Cloud Text-to-Speech API. + * @class + * @memberof v1 */ export class TextToSpeechClient { private _descriptors: Descriptors = {page: {}, stream: {}, longrunning: {}}; diff --git a/typescript/test/testdata/translate/src/v3beta1/translation_service_client.ts.baseline b/typescript/test/testdata/translate/src/v3beta1/translation_service_client.ts.baseline index ca2e9409b..3ff20ba9d 100644 --- a/typescript/test/testdata/translate/src/v3beta1/translation_service_client.ts.baseline +++ b/typescript/test/testdata/translate/src/v3beta1/translation_service_client.ts.baseline @@ -68,6 +68,8 @@ export interface PaginationResponse< /** * Provides natural language translation operations. + * @class + * @memberof v3beta1 */ export class TranslationServiceClient { private _descriptors: Descriptors = {page: {}, stream: {}, longrunning: {}};