Processor

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

JSON representation
{
  "name": string,
  "type": string,
  "displayName": string,
  "state": enum (State),
  "defaultProcessorVersion": string,
  "processorVersionAliases": [
    {
      object (ProcessorVersionAlias)
    }
  ],
  "processEndpoint": string,
  "createTime": string,
  "kmsKeyName": string,
  "satisfiesPzs": boolean,
  "satisfiesPzi": boolean,
  "activeSchemaVersion": string
}
Fields
name

string

Output only. Immutable. The resource name of the processor. Format: projects/{project}/locations/{location}/processors/{processor}

type

string

The processor type, such as: OCR_PROCESSOR, INVOICE_PROCESSOR. To get a list of processor types, see FetchProcessorTypes.

displayName

string

The display name of the processor.

state

enum (State)

Output only. The state of the processor.

defaultProcessorVersion

string

The default processor version.

processorVersionAliases[]

object (ProcessorVersionAlias)

Output only. The processor version aliases.

processEndpoint

string

Output only. Immutable. The http endpoint that can be called to invoke processing.

createTime

string (Timestamp format)

Output only. The time the processor was created.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

kmsKeyName

string

The KMS key used for encryption and decryption in CMEK scenarios.

satisfiesPzs

boolean

Output only. Reserved for future use.

satisfiesPzi

boolean

Output only. Reserved for future use.

activeSchemaVersion

string

Optional. SchemaVersion used by the Processor. It is the same as Processor's DatasetSchema.schema_version Format is `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schemaVersion}

ProcessorVersionAlias

Contains the alias and the aliased resource name of processor version.

JSON representation
{
  "alias": string,
  "processorVersion": string
}
Fields
alias

string

The alias in the form of processorVersion resource name.

processorVersion

string

The resource name of aliased processor version.