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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003eModerateTextResponse\u003c/code\u003e is a class in the Cloud Natural Language v2 API used for document moderation responses, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides properties such as \u003ccode\u003eLanguageCode\u003c/code\u003e, which indicates the language of the text, and \u003ccode\u003eLanguageSupported\u003c/code\u003e, indicating if that language is officially supported by the API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eModerationCategories\u003c/code\u003e is a property that contains a list of harmful and sensitive classifications for the input document, represented by the \u003ccode\u003eClassificationCategory\u003c/code\u003e type.\u003c/p\u003e\n"],["\u003cp\u003eIt is part of the \u003ccode\u003eGoogle.Cloud.Language.V2\u003c/code\u003e namespace, found within the \u003ccode\u003eGoogle.Cloud.Language.V2.dll\u003c/code\u003e assembly, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available for creating a \u003ccode\u003eModerateTextResponse\u003c/code\u003e object: a parameterless constructor and one that takes another \u003ccode\u003eModerateTextResponse\u003c/code\u003e object for initialization.\u003c/p\u003e\n"]]],[],null,[]]