# Cloud Natural Language V1 Client - Class Type (1.2.1)

1.2.1 (latest) 1.2.0 1.1.4 1.0.1 0.34.3 0.33.0 0.32.7 0.31.3 0.30.2 0.29.0 0.28.5 Reference documentation and code samples for the Cloud Natural Language V1 Client class Type.

The document types enum.

Protobuf type `google.cloud.language.v1.Document.Type`

## Namespace

Google \\ Cloud \\ Language \\ V1 \\ Document

## Methods

### static::name

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

### static::value

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

## Constants

### TYPE_UNSPECIFIED

    Value: 0

The content type is not specified.

Generated from protobuf enum `TYPE_UNSPECIFIED = 0;`

### PLAIN_TEXT

    Value: 1

Plain text

Generated from protobuf enum `PLAIN_TEXT = 1;`

### HTML

    Value: 2

HTML

Generated from protobuf enum `HTML = 2;`