Class ModerateTextResponse
The document moderation response message.
Implements
Inherited Members
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 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> |