Cloud Speech V2 Client - Class BatchRecognizeResults (2.1.1)

Reference documentation and code samples for the Cloud Speech V2 Client class BatchRecognizeResults.

Output type for Cloud Storage of BatchRecognize transcripts. Though this proto isn't returned in this API anywhere, the Cloud Storage transcripts will be this proto serialized and should be parsed as such.

Generated from protobuf message google.cloud.speech.v2.BatchRecognizeResults

Namespace

Google \ Cloud \ Speech \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ results
array< SpeechRecognitionResult >

Sequential list of transcription results corresponding to sequential portions of audio.

↳ metadata
RecognitionResponseMetadata

Metadata about the recognition.

getResults

Sequential list of transcription results corresponding to sequential portions of audio.

Returns
Type
Description

setResults

Sequential list of transcription results corresponding to sequential portions of audio.

Parameter
Name
Description
Returns
Type
Description
$this

Metadata about the recognition.

Returns
Type
Description

Metadata about the recognition.

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