Skip to content

Commit 7832849

Browse files
authored
fix(build): set default branch to main (#797)
1 parent aaf3d0e commit 7832849

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed

packages/google-cloud-node/README.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
[![release level](https://img.shields.io/badge/release%20level-general%20availability%20%28GA%29-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
88
[![npm version](https://img.shields.io/npm/v/@google-cloud/speech.svg)](https://www.npmjs.org/package/@google-cloud/speech)
9-
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-speech/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-speech)
9+
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-speech/main.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-speech)
1010

1111

1212

@@ -15,7 +15,7 @@ Cloud Speech Client Library for Node.js
1515

1616

1717
A comprehensive list of changes in each version may be found in
18-
[the CHANGELOG](https://github.com/googleapis/nodejs-speech/blob/master/CHANGELOG.md).
18+
[the CHANGELOG](https://github.com/googleapis/nodejs-speech/blob/main/CHANGELOG.md).
1919

2020
* [Cloud Speech Node.js Client API Reference][client-docs]
2121
* [Cloud Speech Documentation][product-docs]
@@ -96,21 +96,21 @@ quickstart();
9696

9797
## Samples
9898

99-
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-speech/tree/master/samples) directory. Each sample's `README.md` has instructions for running its sample.
99+
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-speech/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
100100

101101
| Sample | Source Code | Try it |
102102
| --------------------------- | --------------------------------- | ------ |
103-
| 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) |
104-
| 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) |
106-
| 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) |
107-
| 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) |
108-
| 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) |
109-
| Profanity Filter | [source code](https://github.com/googleapis/nodejs-speech/blob/master/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) |
110-
| Quickstart | [source code](https://github.com/googleapis/nodejs-speech/blob/master/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) |
111-
| Recognize | [source code](https://github.com/googleapis/nodejs-speech/blob/master/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) |
112-
| Recognize speech with metadata | [source code](https://github.com/googleapis/nodejs-speech/blob/master/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) |
113-
| Transcribe Context Classes | [source code](https://github.com/googleapis/nodejs-speech/blob/master/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) |
103+
| 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) |
104+
| 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) |
105+
| 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) |
106+
| 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) |
107+
| 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) |
108+
| 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) |
109+
| 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) |
110+
| 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) |
111+
| 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) |
112+
| 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) |
113+
| 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) |
114114

115115

116116

@@ -159,7 +159,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]
159159

160160
## Contributing
161161

162-
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-speech/blob/master/CONTRIBUTING.md).
162+
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-speech/blob/main/CONTRIBUTING.md).
163163

164164
Please note that this `README.md`, the `samples/README.md`,
165165
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
@@ -171,7 +171,7 @@ to its templates in
171171

172172
Apache Version 2.0
173173

174-
See [LICENSE](https://github.com/googleapis/nodejs-speech/blob/master/LICENSE)
174+
See [LICENSE](https://github.com/googleapis/nodejs-speech/blob/main/LICENSE)
175175

176176
[client-docs]: https://googleapis.dev/nodejs/speech/latest
177177
[product-docs]: https://cloud.google.com/speech-to-text/docs/

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

+11-11
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Before running the samples, make sure you've followed the steps outlined in
4343

4444
Streams audio input from microphone, translates to text.
4545

46-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/MicrophoneStream.js).
46+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/MicrophoneStream.js).
4747

4848
[![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)
4949

@@ -60,7 +60,7 @@ __Usage:__
6060

6161
### Beta Features
6262

63-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/betaFeatures.js).
63+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/betaFeatures.js).
6464

6565
[![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)
6666

@@ -77,7 +77,7 @@ __Usage:__
7777

7878
### Export-to-storage.v1p1beta1
7979

80-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/export-to-storage.v1p1beta1.js).
80+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/export-to-storage.v1p1beta1.js).
8181

8282
[![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)
8383

@@ -96,7 +96,7 @@ __Usage:__
9696

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

99-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/infiniteStreaming.js).
99+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/infiniteStreaming.js).
100100

101101
[![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)
102102

@@ -113,7 +113,7 @@ __Usage:__
113113

114114
### Model Adaptation
115115

116-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/modelAdaptation.js).
116+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/modelAdaptation.js).
117117

118118
[![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)
119119

@@ -130,7 +130,7 @@ __Usage:__
130130

131131
### Multi Region
132132

133-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/multiRegion.js).
133+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/multiRegion.js).
134134

135135
[![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)
136136

@@ -147,7 +147,7 @@ __Usage:__
147147

148148
### Profanity Filter
149149

150-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/profanityFilter.js).
150+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/profanityFilter.js).
151151

152152
[![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)
153153

@@ -164,7 +164,7 @@ __Usage:__
164164

165165
### Quickstart
166166

167-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/quickstart.js).
167+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/quickstart.js).
168168

169169
[![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)
170170

@@ -181,7 +181,7 @@ __Usage:__
181181

182182
### Recognize
183183

184-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/recognize.js).
184+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/recognize.js).
185185

186186
[![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)
187187

@@ -200,7 +200,7 @@ __Usage:__
200200

201201
Analyzes an audio stream, and detects speech along with metadata.
202202

203-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/recognize.v1p1beta1.js).
203+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/recognize.v1p1beta1.js).
204204

205205
[![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)
206206

@@ -219,7 +219,7 @@ __Usage:__
219219

220220
Provides "hints" to the speech recognizer to favor specific words and phrases in the results.
221221

222-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/transcribeContextClasses.js).
222+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/transcribeContextClasses.js).
223223

224224
[![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)
225225

0 commit comments

Comments
 (0)