View Source GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1beta1InputConfig (google_api_document_ai v0.32.2)

The desired input location and metadata.

Attributes

  • gcsSource (type: GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1beta1GcsSource.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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1beta1InputConfig{
  gcsSource:
    GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1beta1GcsSource.t()
    | nil,
  mimeType: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.