# RedactImageResponse

- [JSON representation](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/RedactImageResponse#SCHEMA_REPRESENTATION)

Results of redacting an image.

| JSON representation |
|---|
| ``` { "redactedImage": string, "extractedText": string, "inspectResult": { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InspectResult`) } } ``` |

| Fields ||
|---|---|
| `redactedImage` | `string (https://developers.google.com/discovery/v1/type-format format)` The redacted image. The type will be the same as the original image. A base64-encoded string. |
| `extractedText` | `string` If an image was being inspected and the InspectConfig's includeQuote was set to true, then this field will include all text, if any, that was found in the image. |
| `inspectResult` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InspectResult`)`` The findings. Populated when includeFindings in the request is true. |