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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ layout |
Google\Cloud\DocumentAI\V1\Document\Page\Layout
|
↳ 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
Generated from protobuf field .google.cloud.documentai.v1.Document.Page.Layout layout = 1;
Returns | |
---|---|
Type | Description |
Google\Cloud\DocumentAI\V1\Document\Page\Layout|null |
hasLayout
clearLayout
setLayout
Generated from protobuf field .google.cloud.documentai.v1.Document.Page.Layout layout = 1;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DocumentAI\V1\Document\Page\Layout
|
Returns | |
---|---|
Type | Description |
$this |
getHeaderRows
Header rows of the table.
Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setHeaderRows
Header rows of the table.
Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow>
|
Returns | |
---|---|
Type | Description |
$this |
getBodyRows
Body rows of the table.
Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setBodyRows
Body rows of the table.
Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow>
|
Returns | |
---|---|
Type | Description |
$this |
getDetectedLanguages
A list of detected languages together with confidence.
Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDetectedLanguages
A list of detected languages together with confidence.
Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>
|
Returns | |
---|---|
Type | Description |
$this |
getProvenance
The history of this table.
Generated from protobuf field .google.cloud.documentai.v1.Document.Provenance provenance = 5;
Returns | |
---|---|
Type | Description |
Google\Cloud\DocumentAI\V1\Document\Provenance|null |
hasProvenance
clearProvenance
setProvenance
The history of this table.
Generated from protobuf field .google.cloud.documentai.v1.Document.Provenance provenance = 5;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DocumentAI\V1\Document\Provenance
|
Returns | |
---|---|
Type | Description |
$this |