View Source GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1beta1OutputConfig (google_api_document_ai v0.38.0)
The desired output location and metadata.
Attributes
-
gcsDestination
(type:GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1beta1GcsDestination.t
, default:nil
) - The Google Cloud Storage location to write the output to. -
pagesPerShard
(type:integer()
, default:nil
) - 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. Ifpages_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
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1beta1OutputConfig{ gcsDestination: GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1beta1GcsDestination.t() | nil, pagesPerShard: integer() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.