public sealed class RedactConfig : IMessage<RedactConfig>, IEquatable<RedactConfig>, IDeepCloneable<RedactConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class RedactConfig.
Redact a given value. For example, if used with an InfoTypeTransformation
transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the
output would be 'My phone number is '.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eRedactConfig\u003c/code\u003e class in the Google Cloud Data Loss Prevention v2 API is used to redact specific values, such as replacing a phone number with empty space.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eRedactConfig\u003c/code\u003e is 4.16.0, while the page primarily provides documentation for version 4.10.0, along with other versions ranging from 2.15.0 to 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRedactConfig\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes inherited members like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors provided for the \u003ccode\u003eRedactConfig\u003c/code\u003e class: a default constructor and one that takes another \u003ccode\u003eRedactConfig\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]