Reference documentation and code samples for the Cloud Speech V2 Client class BatchRecognizeTranscriptionMetadata.
Metadata about transcription for a single file (for example, progress percent).
Generated from protobuf message google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ progress_percent |
int
How much of the file has been transcribed so far. |
↳ error |
Google\Rpc\Status
Error if one was encountered. |
↳ uri |
string
The Cloud Storage URI to which recognition results will be written. |
getProgressPercent
How much of the file has been transcribed so far.
Returns | |
---|---|
Type | Description |
int |
setProgressPercent
How much of the file has been transcribed so far.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getError
Error if one was encountered.
Returns | |
---|---|
Type | Description |
Google\Rpc\Status|null |
hasError
clearError
setError
Error if one was encountered.
Parameter | |
---|---|
Name | Description |
var |
Google\Rpc\Status
|
Returns | |
---|---|
Type | Description |
$this |
getUri
The Cloud Storage URI to which recognition results will be written.
Returns | |
---|---|
Type | Description |
string |
setUri
The Cloud Storage URI to which recognition results will be written.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |