Document AI V1 API - Class Google::Cloud::DocumentAI::V1::Document::DocumentLayout (v1.2.0)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::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::V1::Document::DocumentLayout::DocumentLayoutBlock>
Returns

#blocks=

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