class Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig
Configuration for determining how redaction of images should occur.
Attributes
Type of information detected by the API. Corresponds to the JSON property `infoType` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
If true, all text found in the image, regardless whether it matches an info_type
, is redacted. Only one should be provided. Corresponds to the JSON property `redactAllText` @return [Boolean]
If true, all text found in the image, regardless whether it matches an info_type
, is redacted. Only one should be provided. Corresponds to the JSON property `redactAllText` @return [Boolean]
Represents a color in the RGB color space. Corresponds to the JSON property `redactionColor` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Color]
Public Class Methods
# File lib/google/apis/dlp_v2/classes.rb, line 2924 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dlp_v2/classes.rb, line 2929 def update!(**args) @info_type = args[:info_type] if args.key?(:info_type) @redact_all_text = args[:redact_all_text] if args.key?(:redact_all_text) @redaction_color = args[:redaction_color] if args.key?(:redaction_color) end