Google Cloud Document Ai V1 Client - Class Table (2.3.0)

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

A table representation similar to HTML table structure.

Generated from protobuf message google.cloud.documentai.v1.Document.Page.Table

Namespace

Google \ Cloud \ DocumentAI \ V1 \ Document \ Page

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ layout
↳ header_rows
array< Table\TableRow >

Header rows of the table.

↳ body_rows
array< Table\TableRow >

Body rows of the table.

↳ detected_languages
array< DetectedLanguage >

A list of detected languages together with confidence.

↳ provenance

getLayout

Layout for Table .

Returns
Type
Description
Layout |null

hasLayout

clearLayout

setLayout

Layout for Table .

Parameter
Name
Description
var
Returns
Type
Description
$this

getHeaderRows

Header rows of the table.

Returns
Type
Description

setHeaderRows

Header rows of the table.

Parameter
Name
Description
var
array< Table\TableRow >
Returns
Type
Description
$this

getBodyRows

Body rows of the table.

Returns
Type
Description

setBodyRows

Body rows of the table.

Parameter
Name
Description
var
array< Table\TableRow >
Returns
Type
Description
$this

getDetectedLanguages

A list of detected languages together with confidence.

Returns
Type
Description

setDetectedLanguages

A list of detected languages together with confidence.

Parameter
Name
Description
var
array< DetectedLanguage >
Returns
Type
Description
$this

getProvenance

The history of this table.

Returns
Type
Description

hasProvenance

clearProvenance

setProvenance

The history of this table.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: