# Cloud Speech-to-Text v2 API - Class BatchRecognizeFileMetadata (1.8.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.8.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata)
- [1.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/1.7.0/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata)
- [1.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/1.6.0/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata)
- [1.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/1.5.0/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/1.4.0/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/1.3.0/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/1.2.0/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/1.1.0/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/1.0.0/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata)

    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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> BatchRecognizeFileMetadata

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BatchRecognizeFileMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BatchRecognizeFileMetadata](https://docs.cloud.google.com/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](https://docs.cloud.google.com/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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Speech.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2)

## Assembly

Google.Cloud.Speech.V2.dll

## Constructors

### BatchRecognizeFileMetadata()

    public BatchRecognizeFileMetadata()

### BatchRecognizeFileMetadata(BatchRecognizeFileMetadata)

    public BatchRecognizeFileMetadata(BatchRecognizeFileMetadata other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata` |

## Properties

### AudioSourceCase

    public BatchRecognizeFileMetadata.AudioSourceOneofCase AudioSourceCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.BatchRecognizeFileMetadatahttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.BatchRecognizeFileMetadata.AudioSourceOneofCase` |   |

### Config

    public RecognitionConfig Config { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.RecognitionConfig` |   |

### ConfigMask

    public FieldMask ConfigMask { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` |   |

### HasUri

    public bool HasUri { get; }

Gets whether the "uri" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Uri

    public string Uri { get; set; }

Cloud Storage URI for the audio file.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |