public sealed class ImageRedactionConfig : IMessage<RedactImageRequest.Types.ImageRedactionConfig>, IEquatable<RedactImageRequest.Types.ImageRedactionConfig>, IDeepCloneable<RedactImageRequest.Types.ImageRedactionConfig>, IBufferMessage, IMessage
Configuration for determining how redaction of images should occur.
Only one per info_type should be provided per request. If not
specified, and redact_all_text is false, the DLP API will redact all
text that it matches against all info_types that are found, but not
specified in another ImageRedactionConfig.
[[["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 latest version of the \u003ccode\u003eImageRedactionConfig\u003c/code\u003e is 4.16.0, while the current page details version 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eImageRedactionConfig\u003c/code\u003e is a class for configuring how images should be redacted, implementing 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\u003eThis class can be constructed using a default constructor or by passing another \u003ccode\u003eImageRedactionConfig\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eInfoType\u003c/code\u003e (to specify the info type to redact), \u003ccode\u003eRedactAllText\u003c/code\u003e (to redact all text), and \u003ccode\u003eRedactionColor\u003c/code\u003e (to set the redaction color, defaulting to black).\u003c/p\u003e\n"],["\u003cp\u003eThe class belongs to the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.Dlp.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]