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\u003eThis webpage provides documentation for the \u003ccode\u003eRedactConfig\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRedactConfig\u003c/code\u003e class is used to redact a specific value, as shown in the example of redacting a phone number in a string.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes a list of available versions of the \u003ccode\u003eRedactConfig\u003c/code\u003e class, ranging from version 2.15.0 up to the latest version, 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists the members of the class that it inherits from, such as object.GetHashCode() and the interfaces it implements, such as IMessage.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors that are documented on this page, one that takes no parameters and another that copies a given RedactConfig object.\u003c/p\u003e\n"]]],[],null,[]]