1.8.0 (latest) 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class CreateRecognizerRequest : IMessage<CreateRecognizerRequest>, IEquatable<CreateRecognizerRequest>, IDeepCloneable<CreateRecognizerRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Speech-to-Text v2 API class CreateRecognizerRequest.

Request message for the
\[CreateRecognizer\]\[google.cloud.speech.v2.Speech.CreateRecognizer\] method.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CreateRecognizerRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.CreateRecognizerRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateRecognizerRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.CreateRecognizerRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CreateRecognizerRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.CreateRecognizerRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.md.txt)

## Assembly

Google.Cloud.Speech.V2.dll

## Constructors

### CreateRecognizerRequest()

    public CreateRecognizerRequest()

### CreateRecognizerRequest(CreateRecognizerRequest)

    public CreateRecognizerRequest(CreateRecognizerRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CreateRecognizerRequest` |

## Properties

### Parent

    public string Parent { get; set; }

Required. The project and location where this Recognizer will be created.
The expected format is `projects/{project}/locations/{location}`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.CreateRecognizerRequest.md.txt#Google_Cloud_Speech_V2_CreateRecognizerRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationName` |   |

### Recognizer

    public Recognizer Recognizer { get; set; }

Required. The Recognizer to create.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Recognizer` |   |

### RecognizerId

    public string RecognizerId { get; set; }

The ID to use for the Recognizer, which will become the final component of
the Recognizer's resource name.

This value should be 4-63 characters, and valid characters
are /\[a-z\]\[0-9\]-/.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ValidateOnly

    public bool ValidateOnly { get; set; }

If set, validate the request and preview the Recognizer, but do not
actually create it.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |