Cloud Speech V2 Client - Class RecognitionResponseMetadata (1.7.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this