Google Cloud Document Ai V1 Client - Class ChunkPageSpan (2.0.0-RC1)

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

Represents where the chunk starts and ends in the document.

Generated from protobuf message google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan

Namespace

Google \ Cloud \ DocumentAI \ V1 \ Document \ ChunkedDocument \ Chunk

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ page_start int

Page where chunk starts in the document.

↳ page_end int

Page where chunk ends in the document.

getPageStart

Page where chunk starts in the document.

Returns
Type Description
int

setPageStart

Page where chunk starts in the document.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageEnd

Page where chunk ends in the document.

Returns
Type Description
int

setPageEnd

Page where chunk ends in the document.

Parameter
Name Description
var int
Returns
Type Description
$this