# Google Cloud Document Ai V1 Client - Class ModelType (2.7.0)

2.7.0 (latest) 2.6.1 2.5.1 2.4.1 2.3.0 2.2.2 2.1.3 2.0.0 1.14.0 1.13.1 1.12.2 1.9.0 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.2 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Document Ai V1 Client class ModelType.

The possible model types of the processor version.

Protobuf type `google.cloud.documentai.v1.ProcessorVersion.ModelType`

## Namespace

Google \\ Cloud \\ DocumentAI \\ V1 \\ ProcessorVersion

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### MODEL_TYPE_UNSPECIFIED

    Value: 0

The processor version has unspecified model type.

Generated from protobuf enum `MODEL_TYPE_UNSPECIFIED = 0;`

### MODEL_TYPE_GENERATIVE

    Value: 1

The processor version has generative model type.

Generated from protobuf enum `MODEL_TYPE_GENERATIVE = 1;`

### MODEL_TYPE_CUSTOM

    Value: 2

The processor version has custom model type.

Generated from protobuf enum `MODEL_TYPE_CUSTOM = 2;`