Skip to content

Commit 240dccf

Browse files
samples: adds export to GCS sample (#757)
* samples: adds export to GCS sample * 🦉 Updates from OwlBot * fix: lint * fix: removed .vscode from repo * fix: adds new sample to linkinator exceptions Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent cd7e75d commit 240dccf

5 files changed

Lines changed: 22 additions & 15 deletions

File tree

packages/google-cloud-speech/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ system-test/*key.json
1212
.DS_Store
1313
package-lock.json
1414
__pycache__
15+
.vscode

packages/google-cloud-speech/.vscode/launch.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

packages/google-cloud-speech/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-speech/tree
102102
| --------------------------- | --------------------------------- | ------ |
103103
| Microphone stream | [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/MicrophoneStream.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/MicrophoneStream.js,samples/README.md) |
104104
| Beta Features | [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/betaFeatures.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/betaFeatures.js,samples/README.md) |
105+
| Export-to-storage.v1p1beta1 | [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/export-to-storage.v1p1beta1.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/export-to-storage.v1p1beta1.js,samples/README.md) |
105106
| Infinite Streaming | [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/infiniteStreaming.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/infiniteStreaming.js,samples/README.md) |
106107
| Model Adaptation | [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/modelAdaptation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/modelAdaptation.js,samples/README.md) |
107108
| Multi Region | [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/multiRegion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/multiRegion.js,samples/README.md) |

packages/google-cloud-speech/linkinator.config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"skip": [
44
"https://codecov.io/gh/googleapis/",
55
"www.googleapis.com",
6-
"img.shields.io"
6+
"img.shields.io",
7+
"https://github.com/googleapis/nodejs-speech/blob/master/samples/export-to-storage.v1p1beta1.js"
78
],
89
"silent": true,
910
"concurrency": 10

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* [Samples](#samples)
1515
* [Microphone stream](#microphone-stream)
1616
* [Beta Features](#beta-features)
17+
* [Export-to-storage.v1p1beta1](#export-to-storage.v1p1beta1)
1718
* [Infinite Streaming](#infinite-streaming)
1819
* [Model Adaptation](#model-adaptation)
1920
* [Multi Region](#multi-region)
@@ -74,6 +75,23 @@ __Usage:__
7475

7576

7677

78+
### Export-to-storage.v1p1beta1
79+
80+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/export-to-storage.v1p1beta1.js).
81+
82+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/export-to-storage.v1p1beta1.js,samples/README.md)
83+
84+
__Usage:__
85+
86+
87+
`node samples/export-to-storage.v1p1beta1.js`
88+
89+
90+
-----
91+
92+
93+
94+
7795
### Infinite Streaming
7896

7997
Performs infinite streaming using the streamingRecognize operation with the Cloud Speech API.

0 commit comments

Comments
 (0)