Google Cloud Document Ai V1 Client - Class LayoutTableBlock (1.13.1)

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

Represents a table type block.

Generated from protobuf message google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock

Namespace

Google \ Cloud \ DocumentAI \ V1 \ Document \ DocumentLayout \ DocumentLayoutBlock

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ header_rows array<Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableRow>

Header rows at the top of the table.

↳ body_rows array<Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableRow>

Body rows containing main table content.

↳ caption string

Table caption/title.

getHeaderRows

Header rows at the top of the table.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setHeaderRows

Header rows at the top of the table.

Parameter
Name Description
var array<Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableRow>
Returns
Type Description
$this

getBodyRows

Body rows containing main table content.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setBodyRows

Body rows containing main table content.

Parameter
Name Description
var array<Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableRow>
Returns
Type Description
$this

getCaption

Table caption/title.

Returns
Type Description
string

setCaption

Table caption/title.

Parameter
Name Description
var string
Returns
Type Description
$this