class Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1InputConfig

The desired input location and metadata.

Attributes

gcs_source[RW]

The Google Cloud Storage location where the input file will be read from. Corresponds to the JSON property `gcsSource` @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1GcsSource]

mime_type[RW]

Required. Mimetype of the input. Current supported mimetypes are application/ pdf, image/tiff, and image/gif. In addition, application/json type is supported for requests with ProcessDocumentRequest.automl_params field set. The JSON file needs to be in Document format. Corresponds to the JSON property `mimeType` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/documentai_v1beta3/classes.rb, line 2595
def update!(**args)
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end