Method: speech.longrunningrecognize

Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface. Returns either an Operation.error or an Operation.response which contains a LongRunningRecognizeResponse message.

HTTP request

POST https://speech.googleapis.com/v1p1beta1/speech:longrunningrecognize

The URL uses Google API HTTP annotation syntax.

Request body

The request body contains data with the following structure:

JSON representation
{
  "config": {
    object(RecognitionConfig)
  },
  "audio": {
    object(RecognitionAudio)
  }
}
Fields
config

object(RecognitionConfig)

Required Provides information to the recognizer that specifies how to process the request.

audio

object(RecognitionAudio)

Required The audio data to be recognized.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

Try it!

Hai trovato utile questa pagina? Facci sapere cosa ne pensi:

Invia feedback per...

Cloud Speech-to-Text
Hai bisogno di assistenza? Visita la nostra pagina di assistenza.