- 3.1.0 (latest)
- 3.0.1
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.3
- 2.28.0
- 2.27.1
- 2.26.0
- 2.25.0
- 2.24.2
- 2.23.0
- 2.22.0
- 2.21.1
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.1
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.1
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.1
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.3
- 1.5.1
- 1.4.2
- 1.3.0
- 1.2.1
- 1.1.0
- 1.0.0
- 0.5.2
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
ProcessDocumentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Request to process one document.
Attributes | |
---|---|
Name | Description |
parent |
str
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.
|
input_config |
Required. Information about the input file. |
output_config |
Optional. The desired output location. This field is only needed in BatchProcessDocumentsRequest. |
document_type |
str
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. |
table_extraction_params |
Controls table extraction behavior. If not specified, the system will decide reasonable defaults. |
form_extraction_params |
Controls form extraction behavior. If not specified, the system will decide reasonable defaults. |
entity_extraction_params |
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults. |
ocr_params |
Controls OCR behavior. If not specified, the system will decide reasonable defaults. |
automl_params |
Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params. |
Methods
__delattr__
__delattr__(key)
Delete the value on the given field.
This is generally equivalent to setting a falsy value.
__eq__
__eq__(other)
Return True if the messages are equal, False otherwise.
__ne__
__ne__(other)
Return True if the messages are unequal, False otherwise.
__setattr__
__setattr__(key, value)
Set the value on the given field.
For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.