Google Cloud Document Ai V1 Client - Class DocumentLayout (1.13.1)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class DocumentLayout.

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

Generated from protobuf message google.cloud.documentai.v1.Document.DocumentLayout

Namespace

Google \ Cloud \ DocumentAI \ V1 \ Document

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ blocks

getBlocks

List of blocks in the document.

Returns
Type
Description

setBlocks

List of blocks in the document.

Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: