Skip to content

Commit

Permalink
samples: adds export to GCS sample (#757)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
telpirion and gcf-owl-bot[bot] authored Jun 3, 2021
1 parent 592408b commit d973144
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 15 deletions.
1 change: 1 addition & 0 deletions packages/google-cloud-node/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ system-test/*key.json
.DS_Store
package-lock.json
__pycache__
.vscode
14 changes: 0 additions & 14 deletions packages/google-cloud-node/.vscode/launch.json

This file was deleted.

1 change: 1 addition & 0 deletions packages/google-cloud-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-speech/tree
| --------------------------- | --------------------------------- | ------ |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
Expand Down
3 changes: 2 additions & 1 deletion packages/google-cloud-node/linkinator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"skip": [
"https://codecov.io/gh/googleapis/",
"www.googleapis.com",
"img.shields.io"
"img.shields.io",
"https://github.com/googleapis/nodejs-speech/blob/master/samples/export-to-storage.v1p1beta1.js"
],
"silent": true,
"concurrency": 10
Expand Down
18 changes: 18 additions & 0 deletions packages/google-cloud-node/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* [Samples](#samples)
* [Microphone stream](#microphone-stream)
* [Beta Features](#beta-features)
* [Export-to-storage.v1p1beta1](#export-to-storage.v1p1beta1)
* [Infinite Streaming](#infinite-streaming)
* [Model Adaptation](#model-adaptation)
* [Multi Region](#multi-region)
Expand Down Expand Up @@ -74,6 +75,23 @@ __Usage:__



### Export-to-storage.v1p1beta1

View the [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)

__Usage:__


`node samples/export-to-storage.v1p1beta1.js`


-----




### Infinite Streaming

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

0 comments on commit d973144

Please sign in to comment.