Reference documentation and code samples for the Cloud Speech V2 Client class RecognitionResponseMetadata.
Metadata about the recognition request and response.
Generated from protobuf message google.cloud.speech.v2.RecognitionResponseMetadata
Namespace
Google \ Cloud \ Speech \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ total_billed_duration |
Google\Protobuf\Duration
When available, billed audio seconds for the corresponding request. |
getTotalBilledDuration
When available, billed audio seconds for the corresponding request.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasTotalBilledDuration
clearTotalBilledDuration
setTotalBilledDuration
When available, billed audio seconds for the corresponding request.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |