Prevention Deidentify Template Deidentify Config Record Transformations Field Transformation Primitive Transformation Character Mask Config Args
Constructors
Properties
Characters to skip when doing de-identification of a value. These will be left alone and skipped. Structure is documented below.
Character to use to mask the sensitive values—for example, * for an alphabetic string such as a name, or 0 for a numeric string such as ZIP code or credit card number. This string must have a length of 1. If not supplied, this value defaults to * for strings, and 0 for digits.
Number of characters to mask. If not set, all matching chars will be masked. Skipped characters do not count towards this tally. If number_to_mask is negative, this denotes inverse masking. Cloud DLP masks all but a number of characters. For example, suppose you have the following values:
Mask characters in reverse order. For example, if masking_character is 0, number_to_mask is 14, and reverse_order is false
, then the input string 1234-5678-9012-3456
is masked as 00000000000000-3456
.