Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(speech/api): remove - and add gcloud cli command #253

Merged
merged 1 commit into from
Oct 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions speech/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ the additional notes for your platform.

1. **Enable APIs for your project**.
[Click here](https://console.cloud.google.com/flows/enableapi?apiid=speech&showconfirmation=true) to visit Cloud
Platform Console and enable the Speech API.
Platform Console and enable the Speech API via the UI.

Or use the CLI:

```
gcloud services enable speech.googleapis.com
```

1. **If needed, override the Billing Project**.
If you are using a [user account] for authentication, you need to set the `GOOGLE_CLOUD_CPP_USER_PROJECT`
Expand Down Expand Up @@ -83,7 +89,7 @@ the additional notes for your platform.
.build/streaming_transcribe_coroutines --bitrate 16000 resources/audio2.raw
.build/streaming_transcribe_coroutines resources/audio.flac
.build/streaming_transcribe_coroutines resources/quit.raw
.build/streaming_transcribe_singlethread ---bitrate 16000 resources/audio.raw
.build/streaming_transcribe_singlethread --bitrate 16000 resources/audio.raw
.build/transcribe gs://cloud-samples-tests/speech/brooklyn.flac
.build/async_transcribe gs://cloud-samples-tests/speech/vr.flac
```
Expand Down