3.25.0 (latest) 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.0.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Cloud Document AI v1 API class TrainProcessorVersionRequest.

Request message for the
\[TrainProcessorVersion\]\[google.cloud.documentai.v1.DocumentProcessorService.TrainProcessorVersion\]
method.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.DocumentAI.V1.dll

## Constructors

### TrainProcessorVersionRequest()

    public TrainProcessorVersionRequest()

### TrainProcessorVersionRequest(TrainProcessorVersionRequest)

    public TrainProcessorVersionRequest(TrainProcessorVersionRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `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** |
| `string` |   |

### CustomDocumentExtractionOptions

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

Options to control Custom Document Extraction (CDE) Processor.

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

### DocumentSchema

    public DocumentSchema DocumentSchema { get; set; }

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

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

### FoundationModelTuningOptions

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

Options to control foundation model tuning of a processor.

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

### InputData

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

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

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

### 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** |
| `string` |   |

### ParentAsProcessorName

    public ProcessorName ParentAsProcessorName { get; set; }

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

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

### ProcessorFlagsCase

    public TrainProcessorVersionRequest.ProcessorFlagsOneofCase ProcessorFlagsCase { get; }

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

### ProcessorVersion

    public ProcessorVersion ProcessorVersion { get; set; }

Required. The processor version to be created.

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