View Source GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1ProcessorType (google_api_document_ai v0.45.1)

A processor type is responsible for performing a certain document understanding task on a certain type of document.

Attributes

  • allowCreation (type: boolean(), default: nil) - Whether the processor type allows creation. If true, users can create a processor of this processor type. Otherwise, users need to request access.
  • availableLocations (type: list(GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1ProcessorTypeLocationInfo.t), default: nil) - The locations in which this processor is available.
  • category (type: String.t, default: nil) - The processor category, used by UI to group processor types.
  • launchStage (type: String.t, default: nil) - Launch stage of the processor type
  • name (type: String.t, default: nil) - The resource name of the processor type. Format: projects/{project}/processorTypes/{processor_type}
  • sampleDocumentUris (type: list(String.t), default: nil) - A set of Cloud Storage URIs of sample documents for this processor.
  • type (type: String.t, default: nil) - The processor type, such as: OCR_PROCESSOR, INVOICE_PROCESSOR.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1ProcessorType{
  allowCreation: boolean() | nil,
  availableLocations:
    [
      GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1ProcessorTypeLocationInfo.t()
    ]
    | nil,
  category: String.t() | nil,
  launchStage: String.t() | nil,
  name: String.t() | nil,
  sampleDocumentUris: [String.t()] | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.