Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout (v0.36.1)

Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#blocks

def blocks() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock>
Returns

#blocks=

def blocks=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock>
Parameter
Returns