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

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

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

Reference documentation and code samples for the Cloud Document AI v1beta3 API class TrainProcessorVersionRequest.Types.CustomDocumentExtractionOptions.

Options to control the training of the Custom Document Extraction (CDE)
Processor.

## Inheritance

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

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

### CustomDocumentExtractionOptions()

    public CustomDocumentExtractionOptions()

### CustomDocumentExtractionOptions(CustomDocumentExtractionOptions)

    public CustomDocumentExtractionOptions(TrainProcessorVersionRequest.Types.CustomDocumentExtractionOptions other)

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

## Properties

### TrainingMethod

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

Optional. Training method to use for CDE training.

| **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.CustomDocumentExtractionOptionshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Types.CustomDocumentExtractionOptions.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Types.CustomDocumentExtractionOptions.Types.TrainingMethod` |   |