Reference documentation and code samples for the Cloud Speech V2 Client class BatchRecognizeFileResult.
Final results for a single file.
Generated from protobuf message google.cloud.speech.v2.BatchRecognizeFileResult
Namespace
Google \ Cloud \ Speech \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ uri
string
The Cloud Storage URI to which recognition results were written.
↳ error
↳ transcript
Google\Cloud\Speech\V2\BatchRecognizeResults
The transcript for the audio file. This is populated only when InlineOutputConfig is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
getUri
The Cloud Storage URI to which recognition results were written.
string
setUri
The Cloud Storage URI to which recognition results were written.
var
string
$this
getError
Error if one was encountered.
hasError
clearError
setError
Error if one was encountered.
$this
getMetadata
Generated from protobuf field .google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;
hasMetadata
clearMetadata
setMetadata
Generated from protobuf field .google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;
$this
getTranscript
The transcript for the audio file. This is populated only when InlineOutputConfig is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
hasTranscript
clearTranscript
setTranscript
The transcript for the audio file. This is populated only when InlineOutputConfig is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
$this