Class GoogleCloudDocumentaiV1beta2OutputConfig
The desired output location and metadata.
Implements
Inherited Members
Namespace: Google.Apis.Document.v1beta2.Data
Assembly: Google.Apis.Document.v1beta2.dll
Syntax
public class GoogleCloudDocumentaiV1beta2OutputConfig : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GcsDestination
The Google Cloud Storage location to write the output to.
Declaration
[JsonProperty("gcsDestination")]
public virtual GoogleCloudDocumentaiV1beta2GcsDestination GcsDestination { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDocumentaiV1beta2GcsDestination |
PagesPerShard
The max number of pages to include into each output Document shard JSON on Google Cloud Storage. The valid
range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages,
100 parsed pages will be produced. If pages_per_shard
= 20, then 5 Document shard JSON files each
containing 20 parsed pages will be written under the prefix OutputConfig.gcs_destination.uri and suffix
pages-x-to-y.json where x and y are 1-indexed page numbers. Example GCS outputs with 157 pages and
pages_per_shard = 50: pages-001-to-050.json pages-051-to-100.json pages-101-to-150.json
pages-151-to-157.json
Declaration
[JsonProperty("pagesPerShard")]
public virtual int? PagesPerShard { get; set; }
Property Value
Type | Description |
---|---|
int? |