View Source GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1ProcessRequest (google_api_document_ai v0.38.0)

Request message for the ProcessDocument method.

Attributes

  • fieldMask (type: String.t, default: nil) - Specifies which fields to include in the ProcessResponse.document output. Only supports top-level document and pages field, so it must be in the form of {document_field_name} or pages.{page_field_name}.
  • gcsDocument (type: GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1GcsDocument.t, default: nil) - A raw document on Google Cloud Storage.
  • inlineDocument (type: GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1Document.t, default: nil) - An inline document proto.
  • labels (type: map(), default: nil) - Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
  • processOptions (type: GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1ProcessOptions.t, default: nil) - Inference-time options for the process API
  • rawDocument (type: GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1RawDocument.t, default: nil) - A raw document content (bytes).
  • skipHumanReview (type: boolean(), default: nil) - Whether human review should be skipped for this request. Default to false.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1ProcessRequest{
  fieldMask: String.t() | nil,
  gcsDocument:
    GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1GcsDocument.t() | nil,
  inlineDocument:
    GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1Document.t() | nil,
  labels: map() | nil,
  processOptions:
    GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1ProcessOptions.t()
    | nil,
  rawDocument:
    GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1RawDocument.t() | nil,
  skipHumanReview: boolean() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.