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