v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1326324236.0 KB
projects

Processes a single document.

post/v1/{+name}:process

Path parameters

namestring required

Required. The resource name of the Processor or ProcessorVersion to use for processing. If a Processor is specified, the server will use its default version. Format: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

Request body

imagelessModeboolean

Optional. Option to remove images from the document.

fieldMaskstring google-fieldmask

Specifies which fields to include in the ProcessResponse.document output. Only supports top-level document and pages field, so it must be in the form of {document_field_name} or pages.{page_field_name}.

labelsobject

Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.

skipHumanReviewboolean

Whether human review should be skipped for this request. Default to false.

Response

Successful response