GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2DocumentDocumentLayout (google_api_document_ai v0.46.0)

View Source

Represents the parsed layout of a document as a collection of blocks that the document is divided into.

Attributes

  • blocks (type: list(GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock.t), default: nil) - List of blocks in the document.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2DocumentDocumentLayout{
    blocks:
      [
        GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock.t()
      ]
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.