View Source GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3Processor (google_api_document_ai v0.38.0)

The first-class citizen for Document AI. Each processor defines how to extract structural information from a document.

Attributes

  • createTime (type: DateTime.t, default: nil) - The time the processor was created.
  • defaultProcessorVersion (type: String.t, default: nil) - The default processor version.
  • displayName (type: String.t, default: nil) - The display name of the processor.
  • kmsKeyName (type: String.t, default: nil) - The KMS key used for encryption and decryption in CMEK scenarios.
  • name (type: String.t, default: nil) - Output only. Immutable. The resource name of the processor. Format: projects/{project}/locations/{location}/processors/{processor}
  • processEndpoint (type: String.t, default: nil) - Output only. Immutable. The http endpoint that can be called to invoke processing.
  • processorVersionAliases (type: list(GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3ProcessorVersionAlias.t), default: nil) - Output only. The processor version aliases.
  • state (type: String.t, default: nil) - Output only. The state of the processor.
  • type (type: String.t, default: nil) - The processor type, such as: OCR_PROCESSOR, INVOICE_PROCESSOR. To get a list of processor types, see FetchProcessorTypes.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3Processor{
    createTime: DateTime.t() | nil,
    defaultProcessorVersion: String.t() | nil,
    displayName: String.t() | nil,
    kmsKeyName: String.t() | nil,
    name: String.t() | nil,
    processEndpoint: String.t() | nil,
    processorVersionAliases:
      [
        GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3ProcessorVersionAlias.t()
      ]
      | nil,
    state: String.t() | nil,
    type: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.