-
Notifications
You must be signed in to change notification settings - Fork 647
Description
Thanks for stopping by to let us know something could be better!
Environment details
- OS: Ubuntu 14.04
- Node.js version: v8.1.4
- npm version: v5.5.1
- google-cloud-node version: v0.10.3
Steps to reproduce
require('@google-cloud/speech');
I'm looking for some clarification about the state of this library (the library itself is alpha?) and the Google Cloud Speech API itself (now no longer in beta).
I've previously used the Java v1beta1 sdk to interact with the beta api. I recently got an email that the Google Cloud Speech API beta compatibility was ending soon, so am re-implementing the service in Node rather than Java. Primarily I just need to be able to do streamingRecognize real-time transcriptions.
I'm somewhat unclear on if this library interacts with and is up to date with the "production" non-beta API. The linked documentation: https://googlecloudplatform.github.io/google-cloud-node/#/docs/google-cloud/0.56.0/speech, https://googlecloudplatform.github.io/google-cloud-node/#/docs/speech/0.10.0/speech doesn't seem to say explicitly.
E.g. Even in the 0.10 documentation, there seems to be two paths named pretty much the same thing (v1 and speechV1)
- https://googlecloudplatform.github.io/google-cloud-node/#/docs/speech/0.10.0/speech/v1/speech_client?method=streamingRecognize
- https://googlecloudplatform.github.io/google-cloud-node/#/docs/speech/0.10.0/speech?method=streamingRecognize
How does these differ?
Some examples say:
var speech = require('@google-cloud/speech');
var client = speech.v1({
// optional auth parameters.
});Others just say:
var speech = require('@google-cloud/speech')({
projectId: 'grape-spaceship-123',
keyFilename: '/path/to/keyfile.json'
});What's the difference here? Any clarification would be appreciated.
Just want to be sure that, given the messaging below, using this library (v0.10) and these methods will utilize the "GA" version of the API as expected.
We released the Generally Available (GA) version of the Cloud Speech API on April 18, 2017, and the service will be fully graduating from Cloud Speech API Beta on November 30, 2017. This is an extension of our original timeline for a July 31 transition. Our records show that you have recently been using the beta endpoint even after the prior notice. In order to continue using Cloud Speech API, you must migrate to the Cloud Speech API GA version before November 30, 2017. Google Cloud Speech API Beta endpoint will cease to function from this date.