# Cloud Document AI v1beta3 API - Class TrainProcessorVersionRequest (2.0.0-beta30)

2.0.0-beta30 (latest) 2.0.0-beta29 1.0.0-beta04

    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.

## Inheritance

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

## Implements

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

## 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.DocumentAI.V1Beta3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3)

## Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

## Constructors

### TrainProcessorVersionRequest()

    public TrainProcessorVersionRequest()

### TrainProcessorVersionRequest(TrainProcessorVersionRequest)

    public TrainProcessorVersionRequest(TrainProcessorVersionRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest` |

## Properties

### BaseProcessorVersion

    public string BaseProcessorVersion { get; set; }

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}`.

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

### CustomDocumentExtractionOptions

    public TrainProcessorVersionRequest.Types.CustomDocumentExtractionOptions CustomDocumentExtractionOptions { get; set; }

Options to control Custom Document Extraction (CDE) Processor.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Types.CustomDocumentExtractionOptions` |   |

### DocumentSchema

    public DocumentSchema DocumentSchema { get; set; }

Optional. The schema the processor version will be trained with.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.DocumentSchema` |   |

### FoundationModelTuningOptions

    public TrainProcessorVersionRequest.Types.FoundationModelTuningOptions FoundationModelTuningOptions { get; set; }

Options to control foundation model tuning of a processor.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Types.FoundationModelTuningOptions` |   |

### InputData

    public TrainProcessorVersionRequest.Types.InputData InputData { get; set; }

Optional. The input data used to train the
\[ProcessorVersion\]\[google.cloud.documentai.v1beta3.ProcessorVersion\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Types.InputData` |   |

### Parent

    public string Parent { get; set; }

Required. The parent (project, location and processor) to create the new
version for. Format:
`projects/{project}/locations/{location}/processors/{processor}`.

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

### ParentAsProcessorName

    public ProcessorName ParentAsProcessorName { get; set; }

[ProcessorName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessorName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest#Google_Cloud_DocumentAI_V1Beta3_TrainProcessorVersionRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessorName` |   |

### ProcessorFlagsCase

    public TrainProcessorVersionRequest.ProcessorFlagsOneofCase ProcessorFlagsCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.ProcessorFlagsOneofCase` |   |

### ProcessorVersion

    public ProcessorVersion ProcessorVersion { get; set; }

Required. The processor version to be created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessorVersion` |   |