public sealed class ModerateTextRequest : IMessage<ModerateTextRequest>, IEquatable<ModerateTextRequest>, IDeepCloneable<ModerateTextRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Natural Language v2 API class ModerateTextRequest.
The document moderation request message.
Implements
IMessageModerateTextRequest, IEquatableModerateTextRequest, IDeepCloneableModerateTextRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Language.V2Assembly
Google.Cloud.Language.V2.dll
Constructors
ModerateTextRequest()
public ModerateTextRequest()
ModerateTextRequest(ModerateTextRequest)
public ModerateTextRequest(ModerateTextRequest other)
Parameter | |
---|---|
Name | Description |
other |
ModerateTextRequest |
Properties
Document
public Document Document { get; set; }
Required. Input document.
Property Value | |
---|---|
Type | Description |
Document |
ModelVersion
public ModerateTextRequest.Types.ModelVersion ModelVersion { get; set; }
Optional. The model version to use for ModerateText.
Property Value | |
---|---|
Type | Description |
ModerateTextRequestTypesModelVersion |