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.
[[["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 document provides reference information for the \u003ccode\u003eCreateRecognizerRequest\u003c/code\u003e class within the Google Cloud Speech-to-Text v2 API, specifically version 1.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateRecognizerRequest\u003c/code\u003e class is used to construct request messages for the \u003ccode\u003eCreateRecognizer\u003c/code\u003e method, and it inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows for specifying parameters like \u003ccode\u003eParent\u003c/code\u003e (project and location), \u003ccode\u003eRecognizer\u003c/code\u003e (the recognizer to be created), \u003ccode\u003eRecognizerId\u003c/code\u003e (the ID for the recognizer), and \u003ccode\u003eValidateOnly\u003c/code\u003e (to preview creation).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property accepts the project and location, which can also be viewed via \u003ccode\u003eParentAsLocationName\u003c/code\u003e, and the format for the parameter is \u003ccode\u003eprojects/{project}/locations/{location}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRecognizerId\u003c/code\u003e parameter should consist of 4-63 characters, with only lowercase letters, numbers, and hyphens allowed.\u003c/p\u003e\n"]]],[],null,[]]