public sealed class ImageRedactionConfig : IMessage<RedactImageRequest.Types.ImageRedactionConfig>, IEquatable<RedactImageRequest.Types.ImageRedactionConfig>, IDeepCloneable<RedactImageRequest.Types.ImageRedactionConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class RedactImageRequest.Types.ImageRedactionConfig.
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\u003eThis document provides reference information for the \u003ccode\u003eRedactImageRequest.Types.ImageRedactionConfig\u003c/code\u003e class in the Google Cloud Data Loss Prevention (DLP) v2 API, detailing how to configure image redaction.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 4.16.0, and the document lists a range of previous versions, from 4.15.0 down to 2.15.0, each linking to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eImageRedactionConfig\u003c/code\u003e class offers properties such as \u003ccode\u003eInfoType\u003c/code\u003e, \u003ccode\u003eRedactAllText\u003c/code\u003e, and \u003ccode\u003eRedactionColor\u003c/code\u003e to customize how image content is redacted, including the ability to redact specific info types, all text, or set a redaction color.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eImageRedactionConfig\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and includes members like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available, one default and another that takes another \u003ccode\u003eImageRedactionConfig\u003c/code\u003e as a parameter, allowing for object creation and copying of existing configurations.\u003c/p\u003e\n"]]],[],null,[]]