Reference documentation and code samples for the Google Cloud Document Ai V1 Client class DetectedBarcode.
A detected barcode.
Generated from protobuf message google.cloud.documentai.v1.Document.Page.DetectedBarcode
Namespace
Google \ Cloud \ DocumentAI \ V1 \ Document \ PageMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ layout |
Google\Cloud\DocumentAI\V1\Document\Page\Layout
Layout for DetectedBarcode. |
↳ barcode |
Google\Cloud\DocumentAI\V1\Barcode
Detailed barcode information of the DetectedBarcode. |
getLayout
Layout for DetectedBarcode.
Returns | |
---|---|
Type | Description |
Google\Cloud\DocumentAI\V1\Document\Page\Layout|null |
hasLayout
clearLayout
setLayout
Layout for DetectedBarcode.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DocumentAI\V1\Document\Page\Layout
|
Returns | |
---|---|
Type | Description |
$this |
getBarcode
Detailed barcode information of the DetectedBarcode.
Returns | |
---|---|
Type | Description |
Google\Cloud\DocumentAI\V1\Barcode|null |
hasBarcode
clearBarcode
setBarcode
Detailed barcode information of the DetectedBarcode.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DocumentAI\V1\Barcode
|
Returns | |
---|---|
Type | Description |
$this |