Reference documentation and code samples for the Data Loss Prevention V2 Client class RedactImageResponse.
Results of redacting an image.
Generated from protobuf message google.privacy.dlp.v2.RedactImageResponse
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ redacted_image
string
The redacted image. The type will be the same as the original image.
↳ extracted_text
string
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.
↳ inspect_result
Google\Cloud\Dlp\V2\InspectResult
The findings. Populated when include_findings in the request is true.
getRedactedImage
The redacted image. The type will be the same as the original image.
string
setRedactedImage
The redacted image. The type will be the same as the original image.
var
string
$this
getExtractedText
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.
string
setExtractedText
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.
var
string
$this
getInspectResult
The findings. Populated when include_findings in the request is true.
hasInspectResult
clearInspectResult
setInspectResult
The findings. Populated when include_findings in the request is true.
$this