Skip to content

Commit

Permalink
feat: regenerated GAPIC for v1p1beta1 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-fenster authored Feb 8, 2018
1 parent 1f43a27 commit d2f9e19
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,12 @@ message RecognitionConfig {
// `false`, no word-level time offset information is returned. The default is
// `false`.
bool enable_word_time_offsets = 8;

// *Optional* Which model to select for the given request. Select the model
// best suited to your domain to get best results. If a model is not
// explicitly specified, then we auto-select a model based on the parameters
// in the RecognitionConfig.
string model = 13;
}

// Provides "hints" to the speech recognizer to favor specific words and phrases
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,12 @@ var StreamingRecognitionConfig = {
* `false`, no word-level time offset information is returned. The default is
* `false`.
*
* @property {string} model
* *Optional* Which model to select for the given request. Select the model
* best suited to your domain to get best results. If a model is not
* explicitly specified, then we auto-select a model based on the parameters
* in the RecognitionConfig.
*
* @typedef RecognitionConfig
* @memberof google.cloud.speech.v1p1beta1
* @see [google.cloud.speech.v1p1beta1.RecognitionConfig definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/speech/v1p1beta1/cloud_speech.proto}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

'use strict';

describe('SpeechSmokeTest', () => {
describe('SpeechSmokeTest v1p1beta1', () => {
it('successfully makes a call to the service', done => {
const speech = require('../src');

Expand Down

0 comments on commit d2f9e19

Please sign in to comment.