Reference documentation and code samples for the Cloud Natural Language V2 Client class Type.
The document types enum.
Protobuf type google.cloud.language.v2.Document.Type
Namespace
Google \ Cloud \ Language \ V2 \ DocumentMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
TYPE_UNSPECIFIED
Value: 0The content type is not specified.
Generated from protobuf enum TYPE_UNSPECIFIED = 0;
PLAIN_TEXT
Value: 1Plain text
Generated from protobuf enum PLAIN_TEXT = 1;
HTML
Value: 2HTML
Generated from protobuf enum HTML = 2;