View Source GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1beta2InputConfig (google_api_document_ai v0.38.0)
The desired input location and metadata.
Attributes
-
contents
(type:String.t
, default:nil
) - Content in bytes, represented as a stream of bytes. Note: As with allbytes
fields, proto buffer messages use a pure binary representation, whereas JSON representations use base64. This field only works for synchronous ProcessDocument method. -
gcsSource
(type:GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1beta2GcsSource.t
, default:nil
) - The Google Cloud Storage location to read the input from. This must be a single file. -
mimeType
(type:String.t
, default:nil
) - 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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1beta2InputConfig{ contents: String.t() | nil, gcsSource: GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1beta2GcsSource.t() | nil, mimeType: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.