Skip to content

Commit 0304fc4

Browse files
arthurjdamJustinBeckwith
authored andcommitted
fix(samples): Fixed typo in example (#179)
1 parent 9e7fb9f commit 0304fc4

1 file changed

Lines changed: 27 additions & 27 deletions

File tree

  • packages/google-cloud-dialogflow/samples

packages/google-cloud-dialogflow/samples/README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Options:
6868
[string] [default: "6ac7bd60-96a7-11e8-aaf1-2be61153eaa1"]
6969
--languageCode, -l The language code of the query. Defaults to "en-US". [string] [default: "en-US"]
7070
--encoding, -e The encoding of the input audio.
71-
[choices: "AUDIO_ENCODING_LINEAR16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
71+
[choices: "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
7272
"AUDIO_ENCODING_AMR_WB", "AUDIO_ENCODING_OGG_OPUS", "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] [default:
7373
"AUDIO_ENCODING_LINEAR16"]
7474
--sampleRateHertz, -r The sample rate in Hz of the input audio. Only required if the input audio is in raw format.
@@ -122,9 +122,9 @@ Options:
122122
--documentName, -m Name of Document to Create [string] [default: "testDoc"]
123123
--documentPath, -z uri of document to be added [string]
124124
--encoding, -e The encoding of the input audio.
125-
[choices: "AUDIO_ENCODING_LINEAR16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
125+
[choices: "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
126126
"AUDIO_ENCODING_AMR_WB", "AUDIO_ENCODING_OGG_OPUS", "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] [default:
127-
"AUDIO_ENCODING_LINEAR16"]
127+
"AUDIO_ENCODING_LINEAR_16"]
128128
--knowledgeBaseName, -k The name of the knowledge base to search from [string] [default: "TestKnowBase"]
129129
--knowledgeBaseFullName, -n full path knowledge base [string]
130130
--languageCode, -l The language code of the query. Defaults to "en-US". [string] [default: "en-US"]
@@ -195,9 +195,9 @@ Options:
195195
--documentName, -m Name of Document to Create [string] [default: "testDoc"]
196196
--documentPath, -z uri of document to be added [string]
197197
--encoding, -e The encoding of the input audio.
198-
[choices: "AUDIO_ENCODING_LINEAR16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
198+
[choices: "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
199199
"AUDIO_ENCODING_AMR_WB", "AUDIO_ENCODING_OGG_OPUS", "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] [default:
200-
"AUDIO_ENCODING_LINEAR16"]
200+
"AUDIO_ENCODING_LINEAR_16"]
201201
--knowledgeBaseName, -k The name of the knowledge base to search from [string] [default: "TestKnowBase"]
202202
--knowledgeBaseFullName, -n full path knowledge base [string]
203203
--languageCode, -l The language code of the query. Defaults to "en-US". [string] [default: "en-US"]
@@ -268,9 +268,9 @@ Options:
268268
--documentName, -m Name of Document to Create [string] [default: "testDoc"]
269269
--documentPath, -z uri of document to be added [string]
270270
--encoding, -e The encoding of the input audio.
271-
[choices: "AUDIO_ENCODING_LINEAR16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
271+
[choices: "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
272272
"AUDIO_ENCODING_AMR_WB", "AUDIO_ENCODING_OGG_OPUS", "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] [default:
273-
"AUDIO_ENCODING_LINEAR16"]
273+
"AUDIO_ENCODING_LINEAR_16"]
274274
--knowledgeBaseName, -k The name of the knowledge base to search from [string] [default: "TestKnowBase"]
275275
--knowledgeBaseFullName, -n full path knowledge base [string]
276276
--languageCode, -l The language code of the query. Defaults to "en-US". [string] [default: "en-US"]
@@ -341,9 +341,9 @@ Options:
341341
--documentName, -m Name of Document to Create [string] [default: "testDoc"]
342342
--documentPath, -z uri of document to be added [string]
343343
--encoding, -e The encoding of the input audio.
344-
[choices: "AUDIO_ENCODING_LINEAR16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
344+
[choices: "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
345345
"AUDIO_ENCODING_AMR_WB", "AUDIO_ENCODING_OGG_OPUS", "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] [default:
346-
"AUDIO_ENCODING_LINEAR16"]
346+
"AUDIO_ENCODING_LINEAR_16"]
347347
--knowledgeBaseName, -k The name of the knowledge base to search from [string] [default: "TestKnowBase"]
348348
--knowledgeBaseFullName, -n full path knowledge base [string]
349349
--languageCode, -l The language code of the query. Defaults to "en-US". [string] [default: "en-US"]
@@ -414,9 +414,9 @@ Options:
414414
--documentName, -m Name of Document to Create [string] [default: "testDoc"]
415415
--documentPath, -z uri of document to be added [string]
416416
--encoding, -e The encoding of the input audio.
417-
[choices: "AUDIO_ENCODING_LINEAR16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
417+
[choices: "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
418418
"AUDIO_ENCODING_AMR_WB", "AUDIO_ENCODING_OGG_OPUS", "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] [default:
419-
"AUDIO_ENCODING_LINEAR16"]
419+
"AUDIO_ENCODING_LINEAR_16"]
420420
--knowledgeBaseName, -k The name of the knowledge base to search from [string] [default: "TestKnowBase"]
421421
--knowledgeBaseFullName, -n full path knowledge base [string]
422422
--languageCode, -l The language code of the query. Defaults to "en-US". [string] [default: "en-US"]
@@ -487,9 +487,9 @@ Options:
487487
--documentName, -m Name of Document to Create [string] [default: "testDoc"]
488488
--documentPath, -z uri of document to be added [string]
489489
--encoding, -e The encoding of the input audio.
490-
[choices: "AUDIO_ENCODING_LINEAR16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
490+
[choices: "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
491491
"AUDIO_ENCODING_AMR_WB", "AUDIO_ENCODING_OGG_OPUS", "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] [default:
492-
"AUDIO_ENCODING_LINEAR16"]
492+
"AUDIO_ENCODING_LINEAR_16"]
493493
--knowledgeBaseName, -k The name of the knowledge base to search from [string] [default: "TestKnowBase"]
494494
--knowledgeBaseFullName, -n full path knowledge base [string]
495495
--languageCode, -l The language code of the query. Defaults to "en-US". [string] [default: "en-US"]
@@ -560,9 +560,9 @@ Options:
560560
--documentName, -m Name of Document to Create [string] [default: "testDoc"]
561561
--documentPath, -z uri of document to be added [string]
562562
--encoding, -e The encoding of the input audio.
563-
[choices: "AUDIO_ENCODING_LINEAR16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
563+
[choices: "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
564564
"AUDIO_ENCODING_AMR_WB", "AUDIO_ENCODING_OGG_OPUS", "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] [default:
565-
"AUDIO_ENCODING_LINEAR16"]
565+
"AUDIO_ENCODING_LINEAR_16"]
566566
--knowledgeBaseName, -k The name of the knowledge base to search from [string] [default: "TestKnowBase"]
567567
--knowledgeBaseFullName, -n full path knowledge base [string]
568568
--languageCode, -l The language code of the query. Defaults to "en-US". [string] [default: "en-US"]
@@ -633,9 +633,9 @@ Options:
633633
--documentName, -m Name of Document to Create [string] [default: "testDoc"]
634634
--documentPath, -z uri of document to be added [string]
635635
--encoding, -e The encoding of the input audio.
636-
[choices: "AUDIO_ENCODING_LINEAR16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
636+
[choices: "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
637637
"AUDIO_ENCODING_AMR_WB", "AUDIO_ENCODING_OGG_OPUS", "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] [default:
638-
"AUDIO_ENCODING_LINEAR16"]
638+
"AUDIO_ENCODING_LINEAR_16"]
639639
--knowledgeBaseName, -k The name of the knowledge base to search from [string] [default: "TestKnowBase"]
640640
--knowledgeBaseFullName, -n full path knowledge base [string]
641641
--languageCode, -l The language code of the query. Defaults to "en-US". [string] [default: "en-US"]
@@ -706,9 +706,9 @@ Options:
706706
--documentName, -m Name of Document to Create [string] [default: "testDoc"]
707707
--documentPath, -z uri of document to be added [string]
708708
--encoding, -e The encoding of the input audio.
709-
[choices: "AUDIO_ENCODING_LINEAR16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
709+
[choices: "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
710710
"AUDIO_ENCODING_AMR_WB", "AUDIO_ENCODING_OGG_OPUS", "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] [default:
711-
"AUDIO_ENCODING_LINEAR16"]
711+
"AUDIO_ENCODING_LINEAR_16"]
712712
--knowledgeBaseName, -k The name of the knowledge base to search from [string] [default: "TestKnowBase"]
713713
--knowledgeBaseFullName, -n full path knowledge base [string]
714714
--languageCode, -l The language code of the query. Defaults to "en-US". [string] [default: "en-US"]
@@ -779,9 +779,9 @@ Options:
779779
--documentName, -m Name of Document to Create [string] [default: "testDoc"]
780780
--documentPath, -z uri of document to be added [string]
781781
--encoding, -e The encoding of the input audio.
782-
[choices: "AUDIO_ENCODING_LINEAR16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
782+
[choices: "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
783783
"AUDIO_ENCODING_AMR_WB", "AUDIO_ENCODING_OGG_OPUS", "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] [default:
784-
"AUDIO_ENCODING_LINEAR16"]
784+
"AUDIO_ENCODING_LINEAR_16"]
785785
--knowledgeBaseName, -k The name of the knowledge base to search from [string] [default: "TestKnowBase"]
786786
--knowledgeBaseFullName, -n full path knowledge base [string]
787787
--languageCode, -l The language code of the query. Defaults to "en-US". [string] [default: "en-US"]
@@ -852,9 +852,9 @@ Options:
852852
--documentName, -m Name of Document to Create [string] [default: "testDoc"]
853853
--documentPath, -z uri of document to be added [string]
854854
--encoding, -e The encoding of the input audio.
855-
[choices: "AUDIO_ENCODING_LINEAR16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
855+
[choices: "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
856856
"AUDIO_ENCODING_AMR_WB", "AUDIO_ENCODING_OGG_OPUS", "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] [default:
857-
"AUDIO_ENCODING_LINEAR16"]
857+
"AUDIO_ENCODING_LINEAR_16"]
858858
--knowledgeBaseName, -k The name of the knowledge base to search from [string] [default: "TestKnowBase"]
859859
--knowledgeBaseFullName, -n full path knowledge base [string]
860860
--languageCode, -l The language code of the query. Defaults to "en-US". [string] [default: "en-US"]
@@ -915,9 +915,9 @@ Options:
915915
[string] [default: "6d22c460-96a7-11e8-8898-73a768ffb741"]
916916
--languageCode, -l The language code of the query. Defaults to "en-US". [string] [default: "en-US"]
917917
--encoding, -e The encoding of the input audio.
918-
[choices: "AUDIO_ENCODING_LINEAR16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
918+
[choices: "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
919919
"AUDIO_ENCODING_AMR_WB", "AUDIO_ENCODING_OGG_OPUS", "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] [default:
920-
"AUDIO_ENCODING_LINEAR16"]
920+
"AUDIO_ENCODING_LINEAR_16"]
921921
--sampleRateHertz, -r The sample rate in Hz of the input audio. Only required if the input audio is in raw format.
922922
[number]
923923
--help Show help [boolean]
@@ -959,9 +959,9 @@ Options:
959959
[string] [default: "6d5434a0-96a7-11e8-a573-1fed0528f24b"]
960960
--languageCode, -l The language code of the query. Defaults to "en-US". [string] [default: "en-US"]
961961
--encoding, -e The encoding of the input audio.
962-
[choices: "AUDIO_ENCODING_LINEAR16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
962+
[choices: "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", "AUDIO_ENCODING_MULAW", "AUDIO_ENCODING_AMR",
963963
"AUDIO_ENCODING_AMR_WB", "AUDIO_ENCODING_OGG_OPUS", "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] [default:
964-
"AUDIO_ENCODING_LINEAR16"]
964+
"AUDIO_ENCODING_LINEAR_16"]
965965
--sampleRateHertz, -r The sample rate in Hz of the input audio. Only required if the input audio is in raw format.
966966
[number]
967967
--help Show help [boolean]

0 commit comments

Comments
 (0)