Class ProcessDocumentRequest (1.0.0-beta03)

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

Request to process one document.

Inheritance

Object > ProcessDocumentRequest

Namespace

Google.Cloud.DocumentAI.V1Beta2

Assembly

Google.Cloud.DocumentAI.V1Beta2.dll

Constructors

ProcessDocumentRequest()

public ProcessDocumentRequest()

ProcessDocumentRequest(ProcessDocumentRequest)

public ProcessDocumentRequest(ProcessDocumentRequest other)
Parameter
NameDescription
otherProcessDocumentRequest

Properties

AutomlParams

public AutoMlParams AutomlParams { get; set; }

Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params.

Property Value
TypeDescription
AutoMlParams

DocumentType

public string DocumentType { get; set; }

Specifies a known document type for deeper structure detection. Valid values are currently "general" and "invoice". If not provided, "general"\ is used as default. If any other value is given, the request is rejected.

Property Value
TypeDescription
String

EntityExtractionParams

public EntityExtractionParams EntityExtractionParams { get; set; }

Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.

Property Value
TypeDescription
EntityExtractionParams

FormExtractionParams

public FormExtractionParams FormExtractionParams { get; set; }

Controls form extraction behavior. If not specified, the system will decide reasonable defaults.

Property Value
TypeDescription
FormExtractionParams

InputConfig

public InputConfig InputConfig { get; set; }

Required. Information about the input file.

Property Value
TypeDescription
InputConfig

OcrParams

public OcrParams OcrParams { get; set; }

Controls OCR behavior. If not specified, the system will decide reasonable defaults.

Property Value
TypeDescription
OcrParams

OutputConfig

public OutputConfig OutputConfig { get; set; }

Optional. The desired output location. This field is only needed in BatchProcessDocumentsRequest.

Property Value
TypeDescription
OutputConfig

Parent

public string Parent { get; set; }

Target project and location to make a call.

Format: projects/{project-id}/locations/{location-id}.

If no location is specified, a region will be chosen automatically. This field is only populated when used in ProcessDocument method.

Property Value
TypeDescription
String

TableExtractionParams

public TableExtractionParams TableExtractionParams { get; set; }

Controls table extraction behavior. If not specified, the system will decide reasonable defaults.

Property Value
TypeDescription
TableExtractionParams