Cloud Natural Language V2 Client - Class Type (0.34.0)

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 \ 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;