public sealed class BatchRecognizeFileMetadata : IMessage<BatchRecognizeFileMetadata>, IEquatable<BatchRecognizeFileMetadata>, IDeepCloneable<BatchRecognizeFileMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class BatchRecognizeFileMetadata.
Metadata about a single file in a batch for BatchRecognize.
Features and audio metadata to use for the Automatic Speech Recognition.
This field in combination with the
[config_mask][google.cloud.speech.v2.BatchRecognizeFileMetadata.config_mask]
field can be used to override parts of the
[default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config]
of the Recognizer resource as well as the
[config][google.cloud.speech.v2.BatchRecognizeRequest.config] at the
request level.
The list of fields in
[config][google.cloud.speech.v2.BatchRecognizeFileMetadata.config] that
override the values in the
[default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config]
of the recognizer during this recognition request. If no mask is provided,
all non-default valued fields in
[config][google.cloud.speech.v2.BatchRecognizeFileMetadata.config] override
the values in the recognizer for this recognition request. If a mask is
provided, only the fields listed in the mask override the config in the
recognizer for this recognition request. If a wildcard (*) is provided,
[config][google.cloud.speech.v2.BatchRecognizeFileMetadata.config]
completely overrides and replaces the config in the recognizer for this
recognition request.
[[["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 page provides documentation for the \u003ccode\u003eBatchRecognizeFileMetadata\u003c/code\u003e class within the Cloud Speech-to-Text v2 API, detailing its functionality for managing metadata of individual files in batch recognition processes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchRecognizeFileMetadata\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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, enabling functionalities like message handling, equality comparisons, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers constructors for creating new instances, including one that accepts another \u003ccode\u003eBatchRecognizeFileMetadata\u003c/code\u003e object for copying, as well as properties like \u003ccode\u003eAudioSourceCase\u003c/code\u003e, \u003ccode\u003eConfig\u003c/code\u003e, \u003ccode\u003eConfigMask\u003c/code\u003e, \u003ccode\u003eHasUri\u003c/code\u003e, and \u003ccode\u003eUri\u003c/code\u003e to manage recognition configurations and file locations.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent version of this API is 1.4.0, with historical versions also being available, such as 1.3.0, 1.2.0, 1.1.0 and 1.0.0.\u003c/p\u003e\n"]]],[],null,["# Cloud Speech-to-Text v2 API - Class BatchRecognizeFileMetadata (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.BatchRecognizeFileMetadata)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.4.0/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.3.0/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.2.0/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.1.0/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.0.0/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata) \n\n public sealed class BatchRecognizeFileMetadata : IMessage\u003cBatchRecognizeFileMetadata\u003e, IEquatable\u003cBatchRecognizeFileMetadata\u003e, IDeepCloneable\u003cBatchRecognizeFileMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Speech-to-Text v2 API class BatchRecognizeFileMetadata.\n\nMetadata about a single file in a batch for BatchRecognize. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BatchRecognizeFileMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BatchRecognizeFileMetadata](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BatchRecognizeFileMetadata](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BatchRecognizeFileMetadata](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata), [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### BatchRecognizeFileMetadata()\n\n public BatchRecognizeFileMetadata()\n\n### BatchRecognizeFileMetadata(BatchRecognizeFileMetadata)\n\n public BatchRecognizeFileMetadata(BatchRecognizeFileMetadata other)\n\nProperties\n----------\n\n### AudioSourceCase\n\n public BatchRecognizeFileMetadata.AudioSourceOneofCase AudioSourceCase { get; }\n\n### Config\n\n public RecognitionConfig Config { get; set; }\n\nFeatures and audio metadata to use for the Automatic Speech Recognition.\nThis field in combination with the\n\\[config_mask\\]\\[google.cloud.speech.v2.BatchRecognizeFileMetadata.config_mask\\]\nfield can be used to override parts of the\n\\[default_recognition_config\\]\\[google.cloud.speech.v2.Recognizer.default_recognition_config\\]\nof the Recognizer resource as well as the\n\\[config\\]\\[google.cloud.speech.v2.BatchRecognizeRequest.config\\] at the\nrequest level.\n\n### ConfigMask\n\n public FieldMask ConfigMask { get; set; }\n\nThe list of fields in\n\\[config\\]\\[google.cloud.speech.v2.BatchRecognizeFileMetadata.config\\] that\noverride the values in the\n\\[default_recognition_config\\]\\[google.cloud.speech.v2.Recognizer.default_recognition_config\\]\nof the recognizer during this recognition request. If no mask is provided,\nall non-default valued fields in\n\\[config\\]\\[google.cloud.speech.v2.BatchRecognizeFileMetadata.config\\] override\nthe values in the recognizer for this recognition request. If a mask is\nprovided, only the fields listed in the mask override the config in the\nrecognizer for this recognition request. If a wildcard (`*`) is provided,\n\\[config\\]\\[google.cloud.speech.v2.BatchRecognizeFileMetadata.config\\]\ncompletely overrides and replaces the config in the recognizer for this\nrecognition request.\n\n### HasUri\n\n public bool HasUri { get; }\n\nGets whether the \"uri\" field is set\n\n### Uri\n\n public string Uri { get; set; }\n\nCloud Storage URI for the audio file."]]