Cloud Speech V2 Client - Class BatchRecognizeResponse (1.8.0)

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

Response message for BatchRecognize that is packaged into a longrunning Operation .

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ results
array|Google\Protobuf\Internal\MapField

Map from filename to the final result for that file.

getResults

Map from filename to the final result for that file.

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

Returns
Type
Description
Google\Protobuf\Internal\MapField

setResults

Map from filename to the final result for that file.

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

Parameter
Name
Description
var
array|Google\Protobuf\Internal\MapField
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: