File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2755,9 +2755,9 @@ class SpeechToTextV1 extends BaseService {
27552755 * * Do not use the name `user`, which is reserved by the service to denote custom words that are added or modified by
27562756 * the user.
27572757 * * Do not use the name `base_lm` or `default_lm`. Both names are reserved for future use by the service.
2758- * @param {string | NodeJS.ReadableStream | Buffer } params.grammarFile - A plain text file that contains the grammar
2759- * in the format specified by the `Content-Type` header. Encode the file in UTF-8 (ASCII is a subset of UTF-8). Using
2760- * any other encoding can lead to issues when compiling the grammar or to unexpected results in decoding. The service
2758+ * @param {NodeJS.ReadableStream | Buffer } params.grammarFile - A plain text file that contains the grammar in the
2759+ * format specified by the `Content-Type` header. Encode the file in UTF-8 (ASCII is a subset of UTF-8). Using any
2760+ * other encoding can lead to issues when compiling the grammar or to unexpected results in decoding. The service
27612761 * ignores an encoding that is specified in the header of the grammar.
27622762 *
27632763 * With the `curl` command, use the `--data-binary` option to upload the file for the request.
@@ -5326,7 +5326,7 @@ namespace SpeechToTextV1 {
53265326 *
53275327 * With the `curl` command, use the `--data-binary` option to upload the file for the request.
53285328 */
5329- grammarFile : string | NodeJS . ReadableStream | Buffer ;
5329+ grammarFile : NodeJS . ReadableStream | Buffer ;
53305330 /** The format (MIME type) of the grammar file:
53315331 * * `application/srgs` for Augmented Backus-Naur Form (ABNF), which uses a plain-text representation that is
53325332 * similar to traditional BNF grammars.
You can’t perform that action at this time.
0 commit comments