Using *speech.**asyncrecognize* <https://cloud.google.com/speech/reference/rest/v1beta1/speech/asyncrecognize> as an example, here would be the workflow:
- Issue a *POST* request to *https://speech.googleapis.com/v1beta1/speech:asyncrecognize* as specified here <https://cloud.google.com/speech/reference/rest/v1beta1/speech/asyncrecognize>. Barring any exception, this will begin the operation and return an *Operation <https://cloud.google.com/speech/reference/rest/v1beta1/operations#Operation>.* - If the *operation.done == true*, you can get the results from *operation.response* or the error from *operation.error* in the event the operation failed. - If the *operation.done == false*, you must poll for updates using the *operations.get* API <https://cloud.google.com/speech/reference/rest/v1beta1/operations/get> providing the operation.name until *operation.done == true* I hope this information and general guide is helpful. Give it go and let me know if these behavior and values do not match with the documentation provided. On Wednesday, August 10, 2016 at 8:30:55 PM UTC-4, Bruno Leitão wrote: > > Hi all, > > I perform a async request to google speech-to-text, and now i do not know > how to get the result of operation. > > I already know that operation was successful > > Thanks > BL > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/e3b3a41c-d0d4-42ca-914f-bfb181aac200%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.