Class PiiEntityMask
Mask PII entities with the given masking character.
Inherited Members
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class PiiEntityMask : PiiEntityMasking
Properties
IsUnmaskedFromEnd
Declaration
[JsonProperty(PropertyName = "isUnmaskedFromEnd")]
public bool? IsUnmaskedFromEnd { get; set; }
Property Value
Type | Description |
---|---|
bool? | Unmask from the end. By default, the whole entity is masked. This field works in concert with leaveCharactersUnmasked. For example, leaveCharactersUnmasked is 3 and isUnmaskedFromEnd is true, then if the entity is India the masked entity/result is **dia. |
LeaveCharactersUnmasked
Declaration
[JsonProperty(PropertyName = "leaveCharactersUnmasked")]
public int? LeaveCharactersUnmasked { get; set; }
Property Value
Type | Description |
---|---|
int? | Number of characters to leave unmasked. By default, the whole entity is masked. |
MaskingCharacter
Declaration
[JsonProperty(PropertyName = "maskingCharacter")]
public string MaskingCharacter { get; set; }
Property Value
Type | Description |
---|---|
string | Masking character. By default, the character is an asterisk (*) |