GooglePrivacyDlpV2ImageRedactionConfig
import type { GooglePrivacyDlpV2ImageRedactionConfig } from "https://googleapis.deno.dev/v1/dlp:v2.ts";
Configuration for determining how redaction of images should occur.
interface GooglePrivacyDlpV2ImageRedactionConfig {
infoType?: GooglePrivacyDlpV2InfoType;
redactAllText?: boolean;
redactionColor?: GooglePrivacyDlpV2Color;
}§Properties
§
infoType?: GooglePrivacyDlpV2InfoType
[src]Only one per info_type should be provided per request. If not specified, and redact_all_text is false, the DLP API will redact all text that it matches against all info_types that are found, but not specified in another ImageRedactionConfig.
§
redactAllText?: boolean
[src]If true, all text found in the image, regardless whether it matches an info_type, is redacted. Only one should be provided.
§
redactionColor?: GooglePrivacyDlpV2Color
[src]The color to use when redacting content from an image. If not specified, the default is black.