question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

update to v1p1beta1

See original GitHub issue

Hello,

Great code. Quick question about updating to v1p1beta1 (or is it already there?): how does one do that? I tried const Speech = require('@google-cloud/speech').v1p1beta1 which worked in the pure node.js solution, but it gives me an error here. Thank you!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ferdermlcommented, Jun 21, 2018

Yes it did!

1reaction
vin-nicommented, May 30, 2018

Ok, I just pushed an update, so it uses gcspeech v 1.5 For the beta version I think you’ll somehow need to add the beta version to the package.json. And then call

const speech = require('speech.v1p1beta1');
var speechClient = new speech.v1p1beta1.SpeechClient({
  // optional auth parameters.
});

instead of

const speech = require('@google-cloud/speech');
const speechClient = new speech.SpeechClient(); // Creates a client

What are you using the beta for?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Package google.cloud.speech.v1p1beta1
Update a custom class. Authorization Scopes. Requires the following OAuth scope: https://www.googleapis.com/auth/cloud-platform.
Read more >
Google.Cloud.Speech.V1P1Beta1 3.0.0-beta02 - NuGet
This is a prerelease version of Google.Cloud.Speech.V1P1Beta1. .NET CLI; Package Manager; PackageReference; Paket CLI; Script & Interactive; Cake.
Read more >
Is v1p1beta1 or v1 the newest? - Google Groups
But here it seems that the v1p1beta1 is more recent than v1. What does the p1 stand for? I can't find anything which...
Read more >
com.google.cloud.speech.v1p1beta1 ... - Tabnine
<pre> * Time of the most recent processing update. * </pre> * * <code>.google.protobuf.Timestamp last_update_time = 3;</code> */ public com.google.protobuf.
Read more >
speech - Go Packages
import "google.golang.org/api/speech/v1p1beta1" ... ctx := context. ... This may be used to include empty fields in Patch requests.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found