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

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class Symbol.

A detected symbol.

Generated from protobuf message google.cloud.documentai.v1.Document.Page.Symbol

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 Symbol.

↳ detected_languages array<Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>

A list of detected languages together with confidence.

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

getDetectedLanguages

A list of detected languages together with confidence.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDetectedLanguages

A list of detected languages together with confidence.

Parameter
Name Description
var array<Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>
Returns
Type Description
$this