View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock (google_api_content_warehouse v0.6.0)

Represents a text type block.

Attributes

  • blocks (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock.t), default: nil) - A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.
  • text (type: String.t, default: nil) - Text content stored in the block.
  • type (type: String.t, default: nil) - Type of the text in the block. Available options are: paragraph, subtitle, heading-1, heading-2, heading-3, heading-4, heading-5, header, footer.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock{
    blocks:
      [
        GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock.t()
      ]
      | nil,
    text: String.t() | nil,
    type: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.