Cloud Speech V2 Client - Class RecognitionResponseMetadata (1.16.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

Namespace

Google \ Cloud \ Speech \ V2

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.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasTotalBilledDuration

clearTotalBilledDuration

setTotalBilledDuration

When available, billed audio seconds for the corresponding request.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this