Cloud Speech V2 Client - Class BatchRecognizeFileResult (1.10.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ uri string

The GCS URI to which recognition results were written.

↳ error Google\Rpc\Status

Error if one was encountered.

getUri

The GCS URI to which recognition results were written.

Returns
TypeDescription
string

setUri

The GCS URI to which recognition results were written.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getError

Error if one was encountered.

Returns
TypeDescription
Google\Rpc\Status|null

hasError

clearError

setError

Error if one was encountered.

Parameter
NameDescription
var Google\Rpc\Status
Returns
TypeDescription
$this