public sealed class TrainProcessorVersionRequest : IMessage<TrainProcessorVersionRequest>, IEquatable<TrainProcessorVersionRequest>, IDeepCloneable<TrainProcessorVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1beta3 API class TrainProcessorVersionRequest.
Request message for the
[TrainProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.TrainProcessorVersion]
method.
Optional. The processor version to use as a base for training. This
processor version must be a child of parent. Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}.
Required. The parent (project, location and processor) to create the new
version for. Format:
projects/{project}/locations/{location}/processors/{processor}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eTrainProcessorVersionRequest\u003c/code\u003e class within the Google Cloud Document AI v1beta3 API, which is used to request the training of a new processor version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrainProcessorVersionRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt contains properties such as \u003ccode\u003eBaseProcessorVersion\u003c/code\u003e, \u003ccode\u003eCustomDocumentExtractionOptions\u003c/code\u003e, \u003ccode\u003eDocumentSchema\u003c/code\u003e, \u003ccode\u003eFoundationModelTuningOptions\u003c/code\u003e, \u003ccode\u003eInputData\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eProcessorVersion\u003c/code\u003e, which are used to configure the processor version's training.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property, which is required, defines the project, location, and processor where the new version will be created, using the format: \u003ccode\u003eprojects/{project}/locations/{location}/processors/{processor}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are three available beta versions listed: \u003ccode\u003e2.0.0-beta23\u003c/code\u003e (latest), \u003ccode\u003e2.0.0-beta22\u003c/code\u003e, and \u003ccode\u003e1.0.0-beta04\u003c/code\u003e, with the first being the most current.\u003c/p\u003e\n"]]],[],null,["# Cloud Document AI v1beta3 API - Class TrainProcessorVersionRequest (2.0.0-beta26)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta26 (latest)](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest)\n- [2.0.0-beta25](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/2.0.0-beta25/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/1.0.0-beta04/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest) \n\n public sealed class TrainProcessorVersionRequest : IMessage\u003cTrainProcessorVersionRequest\u003e, IEquatable\u003cTrainProcessorVersionRequest\u003e, IDeepCloneable\u003cTrainProcessorVersionRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Document AI v1beta3 API class TrainProcessorVersionRequest.\n\nRequest message for the\n\\[TrainProcessorVersion\\]\\[google.cloud.documentai.v1beta3.DocumentProcessorService.TrainProcessorVersion\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TrainProcessorVersionRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TrainProcessorVersionRequest](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TrainProcessorVersionRequest](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TrainProcessorVersionRequest](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DocumentAI.V1Beta3](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.DocumentAI.V1Beta3.dll\n\nConstructors\n------------\n\n### TrainProcessorVersionRequest()\n\n public TrainProcessorVersionRequest()\n\n### TrainProcessorVersionRequest(TrainProcessorVersionRequest)\n\n public TrainProcessorVersionRequest(TrainProcessorVersionRequest other)\n\nProperties\n----------\n\n### BaseProcessorVersion\n\n public string BaseProcessorVersion { get; set; }\n\nOptional. The processor version to use as a base for training. This\nprocessor version must be a child of `parent`. Format:\n`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.\n\n### CustomDocumentExtractionOptions\n\n public TrainProcessorVersionRequest.Types.CustomDocumentExtractionOptions CustomDocumentExtractionOptions { get; set; }\n\nOptions to control Custom Document Extraction (CDE) Processor.\n\n### DocumentSchema\n\n public DocumentSchema DocumentSchema { get; set; }\n\nOptional. The schema the processor version will be trained with.\n\n### FoundationModelTuningOptions\n\n public TrainProcessorVersionRequest.Types.FoundationModelTuningOptions FoundationModelTuningOptions { get; set; }\n\nOptions to control foundation model tuning of a processor.\n\n### InputData\n\n public TrainProcessorVersionRequest.Types.InputData InputData { get; set; }\n\nOptional. The input data used to train the\n\\[ProcessorVersion\\]\\[google.cloud.documentai.v1beta3.ProcessorVersion\\].\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent (project, location and processor) to create the new\nversion for. Format:\n`projects/{project}/locations/{location}/processors/{processor}`.\n\n### ParentAsProcessorName\n\n public ProcessorName ParentAsProcessorName { get; set; }\n\n[ProcessorName](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessorName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest#Google_Cloud_DocumentAI_V1Beta3_TrainProcessorVersionRequest_Parent) resource name property.\n\n### ProcessorFlagsCase\n\n public TrainProcessorVersionRequest.ProcessorFlagsOneofCase ProcessorFlagsCase { get; }\n\n### ProcessorVersion\n\n public ProcessorVersion ProcessorVersion { get; set; }\n\nRequired. The processor version to be created."]]