public sealed class CreateRecognizerRequest : IMessage<CreateRecognizerRequest>, IEquatable<CreateRecognizerRequest>, IDeepCloneable<CreateRecognizerRequest>, IBufferMessage, IMessageReference 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.
Implements
IMessageCreateRecognizerRequest, IEquatableCreateRecognizerRequest, IDeepCloneableCreateRecognizerRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V2Assembly
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-typed view over the 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 |
|