Class ProcessDocumentRequest
Request to process one document.
Inheritance
Inherited Members
Namespace: Google.Cloud.DocumentAI.V1Beta2
Assembly: Google.Cloud.DocumentAI.V1Beta2.dll
Syntax
public sealed class ProcessDocumentRequest : IMessage<ProcessDocumentRequest>, IEquatable<ProcessDocumentRequest>, IDeepCloneable<ProcessDocumentRequest>, IBufferMessage, IMessage
Constructors
ProcessDocumentRequest()
Declaration
public ProcessDocumentRequest()
ProcessDocumentRequest(ProcessDocumentRequest)
Declaration
public ProcessDocumentRequest(ProcessDocumentRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| ProcessDocumentRequest | other |
Properties
AutomlParams
Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params.
Declaration
public AutoMlParams AutomlParams { get; set; }
Property Value
| Type | Description |
|---|---|
| AutoMlParams |
DocumentType
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.
Declaration
public string DocumentType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
EntityExtractionParams
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
Declaration
public EntityExtractionParams EntityExtractionParams { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityExtractionParams |
FormExtractionParams
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
Declaration
public FormExtractionParams FormExtractionParams { get; set; }
Property Value
| Type | Description |
|---|---|
| FormExtractionParams |
InputConfig
Required. Information about the input file.
Declaration
public InputConfig InputConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| InputConfig |
OcrParams
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
Declaration
public OcrParams OcrParams { get; set; }
Property Value
| Type | Description |
|---|---|
| OcrParams |
OutputConfig
Optional. The desired output location. This field is only needed in BatchProcessDocumentsRequest.
Declaration
public OutputConfig OutputConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| OutputConfig |
Parent
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.
Declaration
public string Parent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
TableExtractionParams
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
Declaration
public TableExtractionParams TableExtractionParams { get; set; }
Property Value
| Type | Description |
|---|---|
| TableExtractionParams |