public sealed class ModerateTextResponse : IMessage<ModerateTextResponse>, IEquatable<ModerateTextResponse>, IDeepCloneable<ModerateTextResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Natural Language v2 API class ModerateTextResponse.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-07 UTC."],[[["`ModerateTextResponse` is a class in the Cloud Natural Language v2 API used for document moderation responses, implementing interfaces like `IMessage`, `IEquatable`, and `IDeepCloneable`."],["This class provides properties such as `LanguageCode`, which indicates the language of the text, and `LanguageSupported`, indicating if that language is officially supported by the API."],["`ModerationCategories` is a property that contains a list of harmful and sensitive classifications for the input document, represented by the `ClassificationCategory` type."],["It is part of the `Google.Cloud.Language.V2` namespace, found within the `Google.Cloud.Language.V2.dll` assembly, and inherits from the base `object` class."],["Two constructors are available for creating a `ModerateTextResponse` object: a parameterless constructor and one that takes another `ModerateTextResponse` object for initialization."]]],[]]