Cloud Natural Language V1 Client - Class Type (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

Methods

name

Parameter
NameDescription
value mixed

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;