Cloud Natural Language V1 Client - Class Type (0.31.3)

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
NameDescription
value mixed

static::value

Parameter
NameDescription
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;