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-09 UTC."],[[["The `ModerateTextResponse` class is part of the Cloud Natural Language v2 API, specifically within the `Google.Cloud.Language.V2` namespace, and represents the response to a document moderation request."],["This class inherits from `object` and implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for various operations like comparison, deep cloning, and buffer-based message handling."],["The `ModerateTextResponse` class includes properties such as `LanguageCode` (representing the language of the text), `LanguageSupported` (indicating if the language is officially supported), and `ModerationCategories` (providing a list of harmful or sensitive categories detected)."],["There are two constructors for creating instances of `ModerateTextResponse`, one default and one that takes another `ModerateTextResponse` object as a parameter for copying."],["The class is defined in the `Google.Cloud.Language.V2.dll` assembly and is available in version 1.0.0-beta04, with the latest being 1.0.0-beta05."]]],[]]