Document AI V1 API - Class Google::Cloud::DocumentAI::V1::Document::ChunkedDocument::Chunk (v0.22.0)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::Document::ChunkedDocument::Chunk.

Represents a chunk.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#chunk_id

def chunk_id() -> ::String
Returns
  • (::String) — ID of the chunk.

#chunk_id=

def chunk_id=(value) -> ::String
Parameter
  • value (::String) — ID of the chunk.
Returns
  • (::String) — ID of the chunk.

#content

def content() -> ::String
Returns
  • (::String) — Text content of the chunk.

#content=

def content=(value) -> ::String
Parameter
  • value (::String) — Text content of the chunk.
Returns
  • (::String) — Text content of the chunk.

#page_footers

def page_footers() -> ::Array<::Google::Cloud::DocumentAI::V1::Document::ChunkedDocument::Chunk::ChunkPageFooter>
Returns

#page_footers=

def page_footers=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::ChunkedDocument::Chunk::ChunkPageFooter>
Parameter
Returns

#page_headers

def page_headers() -> ::Array<::Google::Cloud::DocumentAI::V1::Document::ChunkedDocument::Chunk::ChunkPageHeader>
Returns

#page_headers=

def page_headers=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::ChunkedDocument::Chunk::ChunkPageHeader>
Parameter
Returns

#page_span

def page_span() -> ::Google::Cloud::DocumentAI::V1::Document::ChunkedDocument::Chunk::ChunkPageSpan

#page_span=

def page_span=(value) -> ::Google::Cloud::DocumentAI::V1::Document::ChunkedDocument::Chunk::ChunkPageSpan

#source_block_ids

def source_block_ids() -> ::Array<::String>
Returns
  • (::Array<::String>) — Unused.

#source_block_ids=

def source_block_ids=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Unused.
Returns
  • (::Array<::String>) — Unused.