File tree Expand file tree Collapse file tree
google/cloud/documentai/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,13 +74,25 @@ message BatchDocumentsInputConfig {
7474message DocumentOutputConfig {
7575 // The configuration used when outputting documents.
7676 message GcsOutputConfig {
77+ // The sharding config for the output document.
78+ message ShardingConfig {
79+ // The number of pages per shard.
80+ int32 pages_per_shard = 1 ;
81+
82+ // The number of overlapping pages between consecutive shards.
83+ int32 pages_overlap = 2 ;
84+ }
85+
7786 // The Cloud Storage uri (a directory) of the output.
7887 string gcs_uri = 1 ;
7988
8089 // Specifies which fields to include in the output documents.
8190 // Only supports top level document and pages field so it must be in the
8291 // form of `{document_field_name}` or `pages.{page_field_name}`.
8392 google.protobuf.FieldMask field_mask = 2 ;
93+
94+ // Specifies the sharding config for the output document.
95+ ShardingConfig sharding_config = 3 ;
8496 }
8597
8698 // The destination of the results.
You can’t perform that action at this time.
0 commit comments