Googly.DocumentAI.Model.GoogleCloudDocumentaiV1ProcessOptions (googly_document_ai v0.1.0)

Copy Markdown View Source

Options for Process API

Attributes

  • from_end (type: integer()) - Only process certain pages from the end, same as above.
  • from_start (type: integer()) - Only process certain pages from the start. Process all if the document has fewer pages.
  • individual_page_selector (type: Googly.DocumentAI.Model.GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector.t()) - Which pages to process (1-indexed).
  • layout_config (type: Googly.DocumentAI.Model.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig.t()) - Optional. Only applicable to LAYOUT_PARSER_PROCESSOR. Returns error if set on other processor types.
  • ocr_config (type: Googly.DocumentAI.Model.GoogleCloudDocumentaiV1OcrConfig.t()) - Only applicable to OCR_PROCESSOR and FORM_PARSER_PROCESSOR. Returns error if set on other processor types.
  • schema_override (type: Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentSchema.t()) - Optional. Override the schema of the ProcessorVersion. Will return an Invalid Argument error if this field is set when the underlying ProcessorVersion doesn't support schema override.

Summary

Types

t()

@type t() :: %Googly.DocumentAI.Model.GoogleCloudDocumentaiV1ProcessOptions{
  from_end: integer() | nil,
  from_start: integer() | nil,
  individual_page_selector:
    Googly.DocumentAI.Model.GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector.t()
    | nil,
  layout_config:
    Googly.DocumentAI.Model.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig.t()
    | nil,
  ocr_config:
    Googly.DocumentAI.Model.GoogleCloudDocumentaiV1OcrConfig.t() | nil,
  schema_override:
    Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentSchema.t() | nil
}