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
Methods
__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.
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
Layout for DetectedBarcode.
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 |
getBarcode
Detailed barcode information of the DetectedBarcode.
Generated from protobuf field .google.cloud.documentai.v1.Barcode barcode = 2;
Returns | |
---|---|
Type | Description |
Google\Cloud\DocumentAI\V1\Barcode|null |
hasBarcode
clearBarcode
setBarcode
Detailed barcode information of the DetectedBarcode.
Generated from protobuf field .google.cloud.documentai.v1.Barcode barcode = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DocumentAI\V1\Barcode
|
Returns | |
---|---|
Type | Description |
$this |