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 | |
|---|---|
| Name | Description |
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.
Generated from protobuf field string uri = 1;
| Returns | |
|---|---|
| Type | Description |
string |
|
setUri
The GCS URI to which recognition results were written.
Generated from protobuf field string uri = 1;
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getError
Error if one was encountered.
Generated from protobuf field .google.rpc.Status error = 2;
| Returns | |
|---|---|
| Type | Description |
Google\Rpc\Status|null |
|
hasError
clearError
setError
Error if one was encountered.
Generated from protobuf field .google.rpc.Status error = 2;
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Rpc\Status
|
| Returns | |
|---|---|
| Type | Description |
$this |
|