Class Chunk (2.27.0)

Chunk(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a chunk.

Attributes

NameDescription
chunk_id str
ID of the chunk.
source_block_ids MutableSequence[str]
DO NOT USE. List of all parsed documents layout source blocks used to generate the chunk.
content str
Text content of the chunk.
page_span google.cloud.documentai_v1beta3.types.Document.ChunkedDocument.Chunk.ChunkPageSpan
Page span of the chunk.
page_headers MutableSequence[google.cloud.documentai_v1beta3.types.Document.ChunkedDocument.Chunk.ChunkPageHeader]
Page headers associated with the chunk.
page_footers MutableSequence[google.cloud.documentai_v1beta3.types.Document.ChunkedDocument.Chunk.ChunkPageFooter]
Page footers associated with the chunk.

Classes

ChunkPageFooter

ChunkPageFooter(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the page footer associated with the chunk.

ChunkPageHeader

ChunkPageHeader(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the page header associated with the chunk.

ChunkPageSpan

ChunkPageSpan(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents where the chunk starts and ends in the document.