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

Represents a chunk.

Attributes

  • chunkId (type: String.t, default: nil) - ID of the chunk.
  • content (type: String.t, default: nil) - Text content of the chunk.
  • pageFooters (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter.t), default: nil) - Page footers associated with the chunk.
  • pageHeaders (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader.t), default: nil) - Page headers associated with the chunk.
  • pageSpan (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan.t, default: nil) - Page span of the chunk.
  • sourceBlockIds (type: list(String.t), default: nil) - Unused.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk{
    chunkId: String.t() | nil,
    content: String.t() | nil,
    pageFooters:
      [
        GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter.t()
      ]
      | nil,
    pageHeaders:
      [
        GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader.t()
      ]
      | nil,
    pageSpan:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan.t()
      | nil,
    sourceBlockIds: [String.t()] | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.