GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3ProcessRequest (google_api_document_ai v0.21.0) View Source

Request message for the process document method.

Attributes

  • document (type: GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3Document.t, default: nil) - The document payload, the [content] and [mime_type] fields must be set.
  • inlineDocument (type: GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3Document.t, default: nil) - An inline document proto.
  • rawDocument (type: GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3RawDocument.t, default: nil) - A raw document content (bytes).
  • skipHumanReview (type: boolean(), default: nil) - Whether Human Review feature should be skipped for this request. Default to false.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3ProcessRequest{
    document:
      GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3Document.t()
      | nil,
    inlineDocument:
      GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3Document.t()
      | nil,
    rawDocument:
      GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3RawDocument.t()
      | nil,
    skipHumanReview: boolean() | nil
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.