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
Methods
__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.
Generated from protobuf field .google.protobuf.Duration total_billed_duration = 6;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasTotalBilledDuration
clearTotalBilledDuration
setTotalBilledDuration
When available, billed audio seconds for the corresponding request.
Generated from protobuf field .google.protobuf.Duration total_billed_duration = 6;
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |