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, but this page is for version 3.4.0, which can be found among the listed versions ranging from 2.15.0 to 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eImageRedactionConfig\u003c/code\u003e class is used to configure how image redaction should occur within the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace, belonging to \u003ccode\u003eGoogle.Cloud.Dlp.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the base \u003ccode\u003eObject\u003c/code\u003e class and implements several interfaces, such as \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 class can be constructed with or without a pre-existing \u003ccode\u003eImageRedactionConfig\u003c/code\u003e object, and it has properties that allow users to define \u003ccode\u003eInfoType\u003c/code\u003e, \u003ccode\u003eRedactAllText\u003c/code\u003e, \u003ccode\u003eRedactionColor\u003c/code\u003e, and \u003ccode\u003eTargetCase\u003c/code\u003e for the redaction process.\u003c/p\u003e\n"],["\u003cp\u003eThe image redaction feature in this class enables users to redact either specific types of information, or all text found in the image.\u003c/p\u003e\n"]]],[],null,[]]