Cloud Document AI v1 API - Class TrainProcessorVersionRequest (3.11.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 > TrainProcessorVersionRequest

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

TrainProcessorVersionRequest()

public TrainProcessorVersionRequest()

TrainProcessorVersionRequest(TrainProcessorVersionRequest)

public TrainProcessorVersionRequest(TrainProcessorVersionRequest other)
Parameter
NameDescription
otherTrainProcessorVersionRequest

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
TypeDescription
string

CustomDocumentExtractionOptions

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

Options to control Custom Document Extraction (CDE) Processor.

Property Value
TypeDescription
TrainProcessorVersionRequestTypesCustomDocumentExtractionOptions

DocumentSchema

public DocumentSchema DocumentSchema { get; set; }

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

Property Value
TypeDescription
DocumentSchema

InputData

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

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

Property Value
TypeDescription
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
TypeDescription
string

ParentAsProcessorName

public ProcessorName ParentAsProcessorName { get; set; }

ProcessorName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProcessorName

ProcessorFlagsCase

public TrainProcessorVersionRequest.ProcessorFlagsOneofCase ProcessorFlagsCase { get; }
Property Value
TypeDescription
TrainProcessorVersionRequestProcessorFlagsOneofCase

ProcessorVersion

public ProcessorVersion ProcessorVersion { get; set; }

Required. The processor version to be created.

Property Value
TypeDescription
ProcessorVersion