class Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse
Results of redacting an image.
Attributes
extracted_text[RW]
If an image was being inspected and the InspectConfig's include_quote was set to true, then this field will include all text, if any, that was found in the image. Corresponds to the JSON property `extractedText` @return [String]
inspect_result[RW]
All the findings for a single scanned item. Corresponds to the JSON property `inspectResult` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectResult]
redacted_image[RW]
The redacted image. The type will be the same as the original image. Corresponds to the JSON property `redactedImage` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 5136 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dlp_v2/classes.rb, line 5141 def update!(**args) @extracted_text = args[:extracted_text] if args.key?(:extracted_text) @inspect_result = args[:inspect_result] if args.key?(:inspect_result) @redacted_image = args[:redacted_image] if args.key?(:redacted_image) end