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

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ request_id
string

Global request identifier auto-generated by the API.

↳ total_billed_duration
Google\Protobuf\Duration

When available, billed audio seconds for the corresponding request.

↳ prompt
string

Optional. Output only. Provides the prompt used for the recognition request.

Global request identifier auto-generated by the API.

Returns
Type
Description
string

Global request identifier auto-generated by the API.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

When available, billed audio seconds for the corresponding request.

Returns
Type
Description

When available, billed audio seconds for the corresponding request.

Parameter
Name
Description
Returns
Type
Description
$this

Optional. Output only. Provides the prompt used for the recognition request.

Returns
Type
Description
string

Optional. Output only. Provides the prompt used for the recognition request.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: