google-cloud-php icon indicating copy to clipboard operation
google-cloud-php copied to clipboard

speech:longrunningrecognize PHP get result

Open urtvs opened this issue 3 years ago • 1 comments

Hi I check this operation by postman and i see that there is success result image

But when i get this operation using PHP $operation = $speechClient->getOperationsClient()->getOperation('1134381429708009920'); And print it print_r($operation->getResult());

I just get response on screen When i am doing wrong? Thanks!

urtvs avatar Mar 27 '22 07:03 urtvs

Hello @urtvs, was this related to a particular sample in the Speech API folder? Can you provide a minimal working example that illustrates the issue you are having?

nicain avatar Jun 29 '22 00:06 nicain

Dup of https://github.com/googleapis/google-cloud-php/issues/4521, check this comment, the response can be obtained like this. The returned object needs to be browsed for the exact transcript response.

vishwarajanand avatar May 16 '23 06:05 vishwarajanand