# Class OutputConfig (3.15.0)

3.15.0 (latest) 3.14.0 3.13.0 3.12.1 3.11.0 3.10.2 3.9.0 3.8.1 3.7.4 3.6.0 3.5.0 3.4.5 3.3.1 3.2.0 3.1.4 3.0.0 2.8.0 2.7.3 2.6.3 2.5.0 2.4.4 2.3.2 2.2.0 2.1.0 2.0.0 1.0.2 0.42.0 0.41.0 0.40.0 0.39.0 0.38.1

    OutputConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The desired output location and metadata.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `gcs_destination` | `https://docs.cloud.google.com/python/docs/reference/vision/latest/google.cloud.vision_v1p2beta1.types.GcsDestination` The Google Cloud Storage location to write the output(s) to. |
| `batch_size` | `int` The max number of response protos to put into each output JSON file on GCS. The valid range is \[1, 100\]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.\\ `uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations. |