View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageBlock (google_api_content_warehouse v0.6.1)

A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.

Attributes

  • detectedLanguages (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageDetectedLanguage.t), default: nil) - A list of detected languages together with confidence.
  • layout (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageLayout.t, default: nil) - Layout for Block.
  • provenance (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentProvenance.t, default: nil) - The history of this annotation.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageBlock{
    detectedLanguages:
      [
        GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageDetectedLanguage.t()
      ]
      | nil,
    layout:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageLayout.t()
      | nil,
    provenance:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentProvenance.t()
      | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.