class Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig

The desired output location and metadata.

Attributes

batch_size[RW]

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. Corresponds to the JSON property `batchSize` @return [Fixnum]

gcs_destination[RW]

The Google Cloud Storage location where the output will be written to. Corresponds to the JSON property `gcsDestination` @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1GcsDestination]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vision_v1p1beta1/classes.rb, line 2274
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vision_v1p1beta1/classes.rb, line 2279
def update!(**args)
  @batch_size = args[:batch_size] if args.key?(:batch_size)
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
end