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

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<LayoutTableRow>

Header rows at the top of the table.

↳ body_rows array<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<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<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