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

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

Namespace

Google \ Cloud \ DocumentAI \ V1 \ Document \ PageAnchor \ PageRef

Methods

static::name

Parameter
NameDescription
value mixed

static::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;