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

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 \ Page

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

Returns
Type Description
Google\Cloud\DocumentAI\V1\Document\Page\Layout|null

hasLayout

clearLayout

setLayout

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