public sealed class BatchRecognizeFileResult : IMessage<BatchRecognizeFileResult>, IEquatable<BatchRecognizeFileResult>, IDeepCloneable<BatchRecognizeFileResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class BatchRecognizeFileResult.
public CloudStorageResult CloudStorageResult { get; set; }
Recognition results written to Cloud Storage. This is
populated only when
[GcsOutputConfig][google.cloud.speech.v2.GcsOutputConfig] is set in
the
[RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
Recognition results. This is populated only when
[InlineOutputConfig][google.cloud.speech.v2.InlineOutputConfig] is 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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eBatchRecognizeFileResult\u003c/code\u003e class within the Cloud Speech-to-Text v2 API, which represents the final recognition results for a single file.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchRecognizeFileResult\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eCloudStorageResult\u003c/code\u003e, \u003ccode\u003eError\u003c/code\u003e, \u003ccode\u003eInlineResult\u003c/code\u003e, \u003ccode\u003eMetadata\u003c/code\u003e, and \u003ccode\u003eResultCase\u003c/code\u003e to manage recognition results, potential errors, metadata, and the type of result contained.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchRecognizeFileResult\u003c/code\u003e class contains two constructors: a parameterless constructor, and another constructor taking \u003ccode\u003eBatchRecognizeFileResult\u003c/code\u003e as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe properties \u003ccode\u003eTranscript\u003c/code\u003e and \u003ccode\u003eUri\u003c/code\u003e are deprecated, with \u003ccode\u003einline_result.transcript\u003c/code\u003e and \u003ccode\u003ecloud_storage_result.native_format_uri\u003c/code\u003e recommended for use respectively.\u003c/p\u003e\n"]]],[],null,["# Cloud Speech-to-Text v2 API - Class BatchRecognizeFileResult (1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.BatchRecognizeFileResult)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.4.0/Google.Cloud.Speech.V2.BatchRecognizeFileResult)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.3.0/Google.Cloud.Speech.V2.BatchRecognizeFileResult)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.2.0/Google.Cloud.Speech.V2.BatchRecognizeFileResult)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.1.0/Google.Cloud.Speech.V2.BatchRecognizeFileResult)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.0.0/Google.Cloud.Speech.V2.BatchRecognizeFileResult) \n\n public sealed class BatchRecognizeFileResult : IMessage\u003cBatchRecognizeFileResult\u003e, IEquatable\u003cBatchRecognizeFileResult\u003e, IDeepCloneable\u003cBatchRecognizeFileResult\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Speech-to-Text v2 API class BatchRecognizeFileResult.\n\nFinal results for a single file. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BatchRecognizeFileResult \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BatchRecognizeFileResult](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.BatchRecognizeFileResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BatchRecognizeFileResult](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.BatchRecognizeFileResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BatchRecognizeFileResult](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.BatchRecognizeFileResult), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Speech.V2](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Speech.V2.dll\n\nConstructors\n------------\n\n### BatchRecognizeFileResult()\n\n public BatchRecognizeFileResult()\n\n### BatchRecognizeFileResult(BatchRecognizeFileResult)\n\n public BatchRecognizeFileResult(BatchRecognizeFileResult other)\n\nProperties\n----------\n\n### CloudStorageResult\n\n public CloudStorageResult CloudStorageResult { get; set; }\n\nRecognition results written to Cloud Storage. This is\npopulated only when\n\\[GcsOutputConfig\\]\\[google.cloud.speech.v2.GcsOutputConfig\\] is set in\nthe\n\\[RecognitionOutputConfig\\]\\[\\[google.cloud.speech.v2.RecognitionOutputConfig\\].\n\n### Error\n\n public Status Error { get; set; }\n\nError if one was encountered.\n\n### InlineResult\n\n public InlineResult InlineResult { get; set; }\n\nRecognition results. This is populated only when\n\\[InlineOutputConfig\\]\\[google.cloud.speech.v2.InlineOutputConfig\\] is set in\nthe\n\\[RecognitionOutputConfig\\]\\[\\[google.cloud.speech.v2.RecognitionOutputConfig\\].\n\n### Metadata\n\n public RecognitionResponseMetadata Metadata { get; set; }\n\n### ResultCase\n\n public BatchRecognizeFileResult.ResultOneofCase ResultCase { get; }\n\n### Transcript\n\n [Obsolete]\n public BatchRecognizeResults Transcript { get; set; }\n\nDeprecated. Use `inline_result.transcript` instead.\n\n### Uri\n\n [Obsolete]\n public string Uri { get; set; }\n\nDeprecated. Use `cloud_storage_result.native_format_uri` instead."]]