Google Cloud Document Ai V1 Client - Class Token (2.0.0)

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

A detected token.

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

Namespace

Google \ Cloud \ DocumentAI \ V1 \ Document \ Page

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ detected_break
↳ 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 annotation.

↳ style_info

getLayout

Layout for Token .

Returns
Type
Description

hasLayout

clearLayout

setLayout

Layout for Token .

Parameter
Name
Description
Returns
Type
Description
$this

getDetectedBreak

Detected break at the end of a Token .

hasDetectedBreak

clearDetectedBreak

setDetectedBreak

Detected break at the end of a Token .

Returns
Type
Description
$this

getDetectedLanguages

A list of detected languages together with confidence.

Returns
Type
Description

setDetectedLanguages

A list of detected languages together with confidence.

Parameter
Name
Description
Returns
Type
Description
$this

getProvenance

The history of this annotation.

Returns
Type
Description

hasProvenance

clearProvenance

setProvenance

The history of this annotation.

Parameter
Name
Description
Returns
Type
Description
$this

getStyleInfo

Text style attributes.

hasStyleInfo

clearStyleInfo

setStyleInfo

Text style attributes.

Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: