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

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
Name Description
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
Type Description
int

setPagesPerShard

The number of pages per shard.

Parameter
Name Description
var int
Returns
Type Description
$this

getPagesOverlap

The number of overlapping pages between consecutive shards.

Returns
Type Description
int

setPagesOverlap

The number of overlapping pages between consecutive shards.

Parameter
Name Description
var int
Returns
Type Description
$this