Cloud Speech V2 Client - Class BatchRecognizeMetadata (1.7.0)

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

Operation metadata for BatchRecognize.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ transcription_metadata array|Google\Protobuf\Internal\MapField

Map from provided filename to the transcription metadata for that file.

getTranscriptionMetadata

Map from provided filename to the transcription metadata for that file.

Generated from protobuf field map<string, .google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata> transcription_metadata = 1;

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setTranscriptionMetadata

Map from provided filename to the transcription metadata for that file.

Generated from protobuf field map<string, .google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata> transcription_metadata = 1;

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this