diff --git a/packages/google-cloud-node/README.md b/packages/google-cloud-node/README.md index 6dacf2dcd70..f548698ec3a 100644 --- a/packages/google-cloud-node/README.md +++ b/packages/google-cloud-node/README.md @@ -99,17 +99,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-speech/tree | Sample | Source Code | Try it | | --------------------------- | --------------------------------- | ------ | -| Microphone stream | [source code](https://github.com/googleapis/nodejs-speech/blob/main/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/main/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/main/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/main/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/main/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/main/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) | -| Profanity Filter | [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/profanityFilter.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/profanityFilter.js,samples/README.md) | | Quickstart | [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/quickstart.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/quickstart.js,samples/README.md) | -| Recognize | [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/recognize.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/recognize.js,samples/README.md) | -| Recognize speech with metadata | [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/recognize.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/recognize.v1p1beta1.js,samples/README.md) | -| Transcribe Context Classes | [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/transcribeContextClasses.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/transcribeContextClasses.js,samples/README.md) | diff --git a/packages/google-cloud-node/protos/protos.d.ts b/packages/google-cloud-node/protos/protos.d.ts index e9218d0703b..effc74acb94 100644 --- a/packages/google-cloud-node/protos/protos.d.ts +++ b/packages/google-cloud-node/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-node/protos/protos.js b/packages/google-cloud-node/protos/protos.js index 09040b53df6..0c56214d3c7 100644 --- a/packages/google-cloud-node/protos/protos.js +++ b/packages/google-cloud-node/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-node/samples/README.md b/packages/google-cloud-node/samples/README.md index dc2d7ac94fb..e10d3fc84f5 100644 --- a/packages/google-cloud-node/samples/README.md +++ b/packages/google-cloud-node/samples/README.md @@ -12,17 +12,7 @@ * [Before you begin](#before-you-begin) * [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) - * [Profanity Filter](#profanity-filter) * [Quickstart](#quickstart) - * [Recognize](#recognize) - * [Recognize speech with metadata](#recognize-speech-with-metadata) - * [Transcribe Context Classes](#transcribe-context-classes) ## Before you begin @@ -39,129 +29,6 @@ Before running the samples, make sure you've followed the steps outlined in -### Microphone stream - -Streams audio input from microphone, translates to text. - -View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/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) - -__Usage:__ - - -`node MicrophoneStream.js ` - - ------ - - - - -### Beta Features - -View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/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) - -__Usage:__ - - -`node samples/betaFeatures.js` - - ------ - - - - -### Export-to-storage.v1p1beta1 - -View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/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. - -View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/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) - -__Usage:__ - - -`node infiniteStreaming.js ` - - ------ - - - - -### Model Adaptation - -View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/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) - -__Usage:__ - - -`node samples/modelAdaptation.js` - - ------ - - - - -### Multi Region - -View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/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) - -__Usage:__ - - -`node samples/multiRegion.js` - - ------ - - - - -### Profanity Filter - -View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/profanityFilter.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/profanityFilter.js,samples/README.md) - -__Usage:__ - - -`node samples/profanityFilter.js` - - ------ - - - - ### Quickstart View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/quickstart.js). @@ -174,61 +41,6 @@ __Usage:__ `node samples/quickstart.js` ------ - - - - -### Recognize - -View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/recognize.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/recognize.js,samples/README.md) - -__Usage:__ - - -`node samples/recognize.js` - - ------ - - - - -### Recognize speech with metadata - -Analyzes an audio stream, and detects speech along with metadata. - -View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/recognize.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/recognize.v1p1beta1.js,samples/README.md) - -__Usage:__ - - -`node recognize.v1p1beta1.js ./resources/commercial_mono.wav ` - - ------ - - - - -### Transcribe Context Classes - -Provides "hints" to the speech recognizer to favor specific words and phrases in the results. - -View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/transcribeContextClasses.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/transcribeContextClasses.js,samples/README.md) - -__Usage:__ - - -`node samples/transcribeContextClasses.js ` - -