Skip to content

Commit 1892f8b

Browse files
alexander-fensterJustinBeckwith
authored andcommitted
docs: mention v1p1beta1 in index.js jsdoc (#85)
1 parent ec00753 commit 1892f8b

File tree

1 file changed

+11
-0
lines changed
  • packages/google-cloud-speech/src

1 file changed

+11
-0
lines changed

packages/google-cloud-speech/src/index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
/**
2828
* @namespace google.cloud.speech.v1
2929
*/
30+
/**
31+
* @namespace google.cloud.speech.v1p1beta1
32+
*/
3033
/**
3134
* @namespace google.protobuf
3235
*/
@@ -57,6 +60,9 @@ for (let gapicVersion of Object.keys(gapic)) {
5760
* - `v1` - This is used for selecting or pinning a particular backend service
5861
* version. It exports:
5962
* - `SpeechClient` - Reference to {@link v1.SpeechClient}
63+
* - `v1p1beta1` - This is used for selecting or pinning a beta backend service
64+
* version. It exports:
65+
* - `SpeechClient` - Reference to {@link v1p1beta1.SpeechClient}
6066
*
6167
* @module {object} @google-cloud/speech
6268
* @alias nodejs-speech
@@ -83,6 +89,11 @@ module.exports = gapic.v1;
8389
* @property {constructor} SpeechClient Reference to {@link v1.SpeechClient}.
8490
*/
8591
module.exports.v1 = gapic.v1;
92+
93+
/**
94+
* @type {object}
95+
* @property {constructor} SpeechClient Reference to {@link v1p1beta1.SpeechClient}.
96+
*/
8697
module.exports.v1p1beta1 = gapic.v1p1beta1;
8798

8899
// Alias `module.exports` as `module.exports.default`, for future-proofing.

0 commit comments

Comments
 (0)