GooglePrivacyDlpV2CharacterMaskConfig class
Partially mask a string by replacing a given number of characters with a fixed character.
Masking can start from the beginning or end of the string. This can be used on data of any type (numbers, longs, and so on) and when de-identifying structured data we'll attempt to preserve the original data's type. (This allows you to take a long like 123 and modify it to a string like **3.
Constructors
-
GooglePrivacyDlpV2CharacterMaskConfig({List<
GooglePrivacyDlpV2CharsToIgnore> ? charactersToIgnore, String? maskingCharacter, int? numberToMask, bool? reverseOrder}) - GooglePrivacyDlpV2CharacterMaskConfig.fromJson(Map json_)
Properties
-
charactersToIgnore
↔ List<
GooglePrivacyDlpV2CharsToIgnore> ? -
When masking a string, items in this list will be skipped when replacing
characters.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- maskingCharacter ↔ String?
-
Character to use to mask the sensitive values—for example,
*
for an alphabetic string such as a name, or0
for a numeric string such as ZIP code or credit card number.getter/setter pair - numberToMask ↔ int?
-
Number of characters to mask.
getter/setter pair
- reverseOrder ↔ bool?
-
Mask characters in reverse order.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited