Google Cloud Document Ai V1 Client - Class ShardingConfig (1.7.0)

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

The sharding config for the output document.

Generated from protobuf message google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig

Namespace

Google \ Cloud \ DocumentAI \ V1 \ DocumentOutputConfig \ GcsOutputConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ pages_per_shard int

The number of pages per shard.

↳ pages_overlap int

The number of overlapping pages between consecutive shards.

getPagesPerShard

The number of pages per shard.

Returns
TypeDescription
int

setPagesPerShard

The number of pages per shard.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPagesOverlap

The number of overlapping pages between consecutive shards.

Returns
TypeDescription
int

setPagesOverlap

The number of overlapping pages between consecutive shards.

Parameter
NameDescription
var int
Returns
TypeDescription
$this