Cloud Natural Language v2 API - Class ClassifyTextResponse (1.0.0-beta05)

public sealed class ClassifyTextResponse : IMessage<ClassifyTextResponse>, IEquatable<ClassifyTextResponse>, IDeepCloneable<ClassifyTextResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Natural Language v2 API class ClassifyTextResponse.

The document classification response message.

Inheritance

object > ClassifyTextResponse

Namespace

Google.Cloud.Language.V2

Assembly

Google.Cloud.Language.V2.dll

Constructors

ClassifyTextResponse()

public ClassifyTextResponse()

ClassifyTextResponse(ClassifyTextResponse)

public ClassifyTextResponse(ClassifyTextResponse other)
Parameter
Name Description
other ClassifyTextResponse

Properties

Categories

public RepeatedField<ClassificationCategory> Categories { get; }

Categories representing the input document.

Property Value
Type Description
RepeatedFieldClassificationCategory

LanguageCode

public string LanguageCode { get; set; }

The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See [Document.language][] field for more details.

Property Value
Type Description
string

LanguageSupported

public bool LanguageSupported { get; set; }

Whether the language is officially supported. The API may still return a response when the language is not supported, but it is on a best effort basis.

Property Value
Type Description
bool