Recognition results written to Cloud Storage. This is populated only whenGcsOutputConfigis set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
Recognition results. This is populated only whenInlineOutputConfigis set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
Recognition results written to Cloud Storage. This is
populated only whenGcsOutputConfigis set in
the
[RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
Recognition results written to Cloud Storage. This is
populated only whenGcsOutputConfigis set in
the
[RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
Recognition results. This is populated only whenInlineOutputConfigis set in
the
[RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
Recognition results. This is populated only whenInlineOutputConfigis set in
the
[RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Speech V2 Client - Class BatchRecognizeFileResult (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-speech/latest/V2.BatchRecognizeFileResult)\n- [2.1.0](/php/docs/reference/cloud-speech/2.1.0/V2.BatchRecognizeFileResult)\n- [2.0.1](/php/docs/reference/cloud-speech/2.0.1/V2.BatchRecognizeFileResult)\n- [1.20.1](/php/docs/reference/cloud-speech/1.20.1/V2.BatchRecognizeFileResult)\n- [1.19.2](/php/docs/reference/cloud-speech/1.19.2/V2.BatchRecognizeFileResult)\n- [1.18.3](/php/docs/reference/cloud-speech/1.18.3/V2.BatchRecognizeFileResult)\n- [1.16.0](/php/docs/reference/cloud-speech/1.16.0/V2.BatchRecognizeFileResult)\n- [1.15.0](/php/docs/reference/cloud-speech/1.15.0/V2.BatchRecognizeFileResult)\n- [1.14.3](/php/docs/reference/cloud-speech/1.14.3/V2.BatchRecognizeFileResult)\n- [1.13.1](/php/docs/reference/cloud-speech/1.13.1/V2.BatchRecognizeFileResult)\n- [1.12.0](/php/docs/reference/cloud-speech/1.12.0/V2.BatchRecognizeFileResult)\n- [1.11.2](/php/docs/reference/cloud-speech/1.11.2/V2.BatchRecognizeFileResult)\n- [1.10.0](/php/docs/reference/cloud-speech/1.10.0/V2.BatchRecognizeFileResult)\n- [1.9.1](/php/docs/reference/cloud-speech/1.9.1/V2.BatchRecognizeFileResult)\n- [1.8.0](/php/docs/reference/cloud-speech/1.8.0/V2.BatchRecognizeFileResult)\n- [1.7.0](/php/docs/reference/cloud-speech/1.7.0/V2.BatchRecognizeFileResult) \nReference documentation and code samples for the Cloud Speech V2 Client class BatchRecognizeFileResult.\n\nFinal results for a single file.\n\nGenerated from protobuf message `google.cloud.speech.v2.BatchRecognizeFileResult`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Speech \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getError\n\nError if one was encountered.\n\n### hasError\n\n### clearError\n\n### setError\n\nError if one was encountered.\n\n### getMetadata\n\nGenerated from protobuf field `.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;`\n\n### hasMetadata\n\n### clearMetadata\n\n### setMetadata\n\nGenerated from protobuf field `.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;`\n\n### getCloudStorageResult\n\nRecognition results written to Cloud Storage. This is\npopulated only when\n[GcsOutputConfig](/php/docs/reference/cloud-speech/latest/V2.GcsOutputConfig) is set in\nthe\n\\[RecognitionOutputConfig\\]\\[\\[google.cloud.speech.v2.RecognitionOutputConfig\\].\n\n### hasCloudStorageResult\n\n### setCloudStorageResult\n\nRecognition results written to Cloud Storage. This is\npopulated only when\n[GcsOutputConfig](/php/docs/reference/cloud-speech/latest/V2.GcsOutputConfig) is set in\nthe\n\\[RecognitionOutputConfig\\]\\[\\[google.cloud.speech.v2.RecognitionOutputConfig\\].\n\n### getInlineResult\n\nRecognition results. This is populated only when\n[InlineOutputConfig](/php/docs/reference/cloud-speech/latest/V2.InlineOutputConfig) is set in\nthe\n\\[RecognitionOutputConfig\\]\\[\\[google.cloud.speech.v2.RecognitionOutputConfig\\].\n\n### hasInlineResult\n\n### setInlineResult\n\nRecognition results. This is populated only when\n[InlineOutputConfig](/php/docs/reference/cloud-speech/latest/V2.InlineOutputConfig) is set in\nthe\n\\[RecognitionOutputConfig\\]\\[\\[google.cloud.speech.v2.RecognitionOutputConfig\\].\n\n### getUri\n\nDeprecated. Use `cloud_storage_result.native_format_uri` instead.\n\n### setUri\n\nDeprecated. Use `cloud_storage_result.native_format_uri` instead.\n\n### getTranscript\n\nDeprecated. Use `inline_result.transcript` instead.\n\n### hasTranscript\n\n### clearTranscript\n\n### setTranscript\n\nDeprecated. Use `inline_result.transcript` instead.\n\n### getResult"]]