Google Cloud Document Ai V1 Client - Class Table (1.7.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ layout Google\Cloud\DocumentAI\V1\Document\Page\Layout

Layout for Table.

↳ header_rows array<Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow>

Header rows of the table.

↳ body_rows array<Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow>

Body rows of the table.

↳ detected_languages array<Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>

A list of detected languages together with confidence.

↳ provenance Google\Cloud\DocumentAI\V1\Document\Provenance

The history of this table.

getLayout

Returns
TypeDescription
Google\Cloud\DocumentAI\V1\Document\Page\Layout|null

hasLayout

clearLayout

setLayout

Parameter
NameDescription
var Google\Cloud\DocumentAI\V1\Document\Page\Layout
Returns
TypeDescription
$this

getHeaderRows

Header rows of the table.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setHeaderRows

Header rows of the table.

Parameter
NameDescription
var array<Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow>
Returns
TypeDescription
$this

getBodyRows

Body rows of the table.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBodyRows

Body rows of the table.

Parameter
NameDescription
var array<Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow>
Returns
TypeDescription
$this

getDetectedLanguages

A list of detected languages together with confidence.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDetectedLanguages

A list of detected languages together with confidence.

Parameter
NameDescription
var array<Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>
Returns
TypeDescription
$this

getProvenance

The history of this table.

Returns
TypeDescription
Google\Cloud\DocumentAI\V1\Document\Provenance|null

hasProvenance

clearProvenance

setProvenance

The history of this table.

Parameter
NameDescription
var Google\Cloud\DocumentAI\V1\Document\Provenance
Returns
TypeDescription
$this