GooglePrivacyDlpV2RedactImageRequest
import type { GooglePrivacyDlpV2RedactImageRequest } from "https://googleapis.deno.dev/v1/dlp:v2.ts";
Request to search for potentially sensitive info in an image and redact it by covering it with a colored rectangle.
interface GooglePrivacyDlpV2RedactImageRequest {
byteItem?: GooglePrivacyDlpV2ByteContentItem;
imageRedactionConfigs?: GooglePrivacyDlpV2ImageRedactionConfig[];
includeFindings?: boolean;
inspectConfig?: GooglePrivacyDlpV2InspectConfig;
locationId?: string;
}§Properties
§
byteItem?: GooglePrivacyDlpV2ByteContentItem
[src]The content must be PNG, JPEG, SVG or BMP.
§
imageRedactionConfigs?: GooglePrivacyDlpV2ImageRedactionConfig[]
[src]The configuration for specifying what content to redact from images.
§
includeFindings?: boolean
[src]Whether the response should include findings along with the redacted image.
§
inspectConfig?: GooglePrivacyDlpV2InspectConfig
[src]Configuration for the inspector.