Googly.CloudVision.Model.GoogleCloudVisionV1p2beta1OutputConfig (googly_cloud_vision v0.1.0)

Copy Markdown View Source

The desired output location and metadata.

Attributes

  • batch_size (type: integer()) - The max number of response protos to put into each output JSON file 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 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.
  • gcs_destination (type: Googly.CloudVision.Model.GoogleCloudVisionV1p2beta1GcsDestination.t()) - The Google Cloud Storage location to write the output(s) to.

Summary

Types

t()

@type t() :: %Googly.CloudVision.Model.GoogleCloudVisionV1p2beta1OutputConfig{
  batch_size: integer() | nil,
  gcs_destination:
    Googly.CloudVision.Model.GoogleCloudVisionV1p2beta1GcsDestination.t() | nil
}