# Google Cloud Speech v1p1beta1 API - Class RecognitionMetadata (3.0.0-beta10)

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

- [3.0.0-beta10 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadata)
- [3.0.0-beta09](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/3.0.0-beta09/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadata)
- [2.0.0-beta09](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/2.0.0-beta09/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadata)

    [Obsolete]
    public sealed class RecognitionMetadata : IMessage<RecognitionMetadata>, IEquatable<RecognitionMetadata>, IDeepCloneable<RecognitionMetadata>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Speech v1p1beta1 API class RecognitionMetadata.

Description of audio data to be recognized.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Speech.V1P1Beta1.dll

## Constructors

### RecognitionMetadata()

    public RecognitionMetadata()

### RecognitionMetadata(RecognitionMetadata)

    public RecognitionMetadata(RecognitionMetadata other)

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

## Properties

### AudioTopic

    public string AudioTopic { get; set; }

Description of the content. Eg. "Recordings of federal supreme court
hearings from 2012".

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

### IndustryNaicsCodeOfAudio

    public uint IndustryNaicsCodeOfAudio { get; set; }

The industry vertical to which this speech recognition request most
closely applies. This is most indicative of the topics contained
in the audio. Use the 6-digit NAICS code to identify the industry
vertical - see <https://www.naics.com/search/>.

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

### InteractionType

    public RecognitionMetadata.Types.InteractionType InteractionType { get; set; }

The use case most closely describing the audio content to be recognized.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadatahttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadata.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadata.Types.InteractionType` |   |

### MicrophoneDistance

    public RecognitionMetadata.Types.MicrophoneDistance MicrophoneDistance { get; set; }

The audio type that most closely describes the audio being recognized.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadatahttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadata.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadata.Types.MicrophoneDistance` |   |

### ObfuscatedId

    [Obsolete]
    public long ObfuscatedId { get; set; }

Obfuscated (privacy-protected) ID of the user, to identify number of
unique users using the service.

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

### OriginalMediaType

    public RecognitionMetadata.Types.OriginalMediaType OriginalMediaType { get; set; }

The original media the speech was recorded on.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadatahttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadata.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadata.Types.OriginalMediaType` |   |

### OriginalMimeType

    public string OriginalMimeType { get; set; }

Mime type of the original audio file. For example `audio/m4a`,
`audio/x-alaw-basic`, `audio/mp3`, `audio/3gpp`.
A list of possible audio mime types is maintained at
<http://www.iana.org/assignments/media-types/media-types.xhtml#audio>

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

### RecordingDeviceName

    public string RecordingDeviceName { get; set; }

The device used to make the recording. Examples 'Nexus 5X' or
'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or
'Cardioid Microphone'.

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

### RecordingDeviceType

    public RecognitionMetadata.Types.RecordingDeviceType RecordingDeviceType { get; set; }

The type of device the speech was recorded with.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadatahttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadata.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1.RecognitionMetadata.Types.RecordingDeviceType` |   |