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 \ PageRefMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
LAYOUT_TYPE_UNSPECIFIED
Value: 0Layout Unspecified.
Generated from protobuf enum LAYOUT_TYPE_UNSPECIFIED = 0;
BLOCK
Value: 1References a Page.blocks element.
Generated from protobuf enum BLOCK = 1;
PARAGRAPH
Value: 2References a Page.paragraphs element.
Generated from protobuf enum PARAGRAPH = 2;
LINE
Value: 3References a Page.lines element.
Generated from protobuf enum LINE = 3;
TOKEN
Value: 4References a Page.tokens element.
Generated from protobuf enum TOKEN = 4;
VISUAL_ELEMENT
Value: 5References a Page.visual_elements element.
Generated from protobuf enum VISUAL_ELEMENT = 5;
TABLE
Value: 6Refrrences a Page.tables element.
Generated from protobuf enum TABLE = 6;
FORM_FIELD
Value: 7References a Page.form_fields element.
Generated from protobuf enum FORM_FIELD = 7;