View Source GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest (google_api_document_ai v0.39.0)

The request message for the ImportProcessorVersion method. The Document AI Service Agent of the destination project must have Document AI Editor role on the source project. The destination project is specified as part of the parent field. The source project is specified as part of the source or external_processor_version_source field.

Attributes

  • externalProcessorVersionSource (type: GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource.t, default: nil) - The source processor version to import from. It can be from a different environment and region than the destination processor.
  • processorVersionSource (type: String.t, default: nil) - The source processor version to import from. The source processor version and destination processor need to be in the same environment and region. Note that ProcessorVersions with model_type MODEL_TYPE_LLM are not supported.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest{
    externalProcessorVersionSource:
      GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource.t()
      | nil,
    processorVersionSource: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.