Class ProcessDocumentRequest

Request to process one document.

Attributes
NameDescription
strparent
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.
google.cloud.documentai_v1beta2.types.InputConfiginput_config
Required. Information about the input file.
google.cloud.documentai_v1beta2.types.OutputConfigoutput_config
Optional. The desired output location. This field is only needed in BatchProcessDocumentsRequest.
strdocument_type
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.
google.cloud.documentai_v1beta2.types.TableExtractionParamstable_extraction_params
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
google.cloud.documentai_v1beta2.types.FormExtractionParamsform_extraction_params
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
google.cloud.documentai_v1beta2.types.EntityExtractionParamsentity_extraction_params
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
google.cloud.documentai_v1beta2.types.OcrParamsocr_params
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
google.cloud.documentai_v1beta2.types.AutoMlParamsautoml_params
Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params.

Inheritance

builtins.object > proto.message.Message > ProcessDocumentRequest