Show / Hide Table of Contents

Class ModerateTextResponse

The document moderation response message.

Inheritance
object
ModerateTextResponse
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudNaturalLanguage.v2.Data
Assembly: Google.Apis.CloudNaturalLanguage.v2.dll
Syntax
public class ModerateTextResponse : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

LanguageCode

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_code field for more details.

Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
Type Description
string

LanguageSupported

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.

Declaration
[JsonProperty("languageSupported")]
public virtual bool? LanguageSupported { get; set; }
Property Value
Type Description
bool?

ModerationCategories

Harmful and sensitive categories representing the input document.

Declaration
[JsonProperty("moderationCategories")]
public virtual IList<ClassificationCategory> ModerationCategories { get; set; }
Property Value
Type Description
IList<ClassificationCategory>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX