Google Cloud Document Ai V1 Client - Class LayoutType (1.2.2)

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

The type of layout that is being referenced.

Protobuf type google.cloud.documentai.v1.Document.PageAnchor.PageRef.LayoutType

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

LAYOUT_TYPE_UNSPECIFIED

Value: 0

Layout Unspecified.

Generated from protobuf enum LAYOUT_TYPE_UNSPECIFIED = 0;

BLOCK

Value: 1

References a Page.blocks element.

Generated from protobuf enum BLOCK = 1;

PARAGRAPH

Value: 2

References a Page.paragraphs element.

Generated from protobuf enum PARAGRAPH = 2;

LINE

Value: 3

References a Page.lines element.

Generated from protobuf enum LINE = 3;

TOKEN

Value: 4

References a Page.tokens element.

Generated from protobuf enum TOKEN = 4;

VISUAL_ELEMENT

Value: 5

References a Page.visual_elements element.

Generated from protobuf enum VISUAL_ELEMENT = 5;

TABLE

Value: 6

Refrrences a Page.tables element.

Generated from protobuf enum TABLE = 6;

FORM_FIELD

Value: 7

References a Page.form_fields element.

Generated from protobuf enum FORM_FIELD = 7;