Cloud Natural Language v2 API - Class ModerateTextRequest (1.0.0-beta05)

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.

Inheritance

object > ModerateTextRequest

Namespace

Google.Cloud.Language.V2

Assembly

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