Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GooglePrivacyDlpV2ImageRedactionConfig

import type { GooglePrivacyDlpV2ImageRedactionConfig } from "https://googleapis.deno.dev/v1/dlp:v2.ts";

Configuration for determining how redaction of images should occur.

interface GooglePrivacyDlpV2ImageRedactionConfig {
redactAllText?: boolean;
redactionColor?: GooglePrivacyDlpV2Color;
}

§Properties

§

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.

§

The color to use when redacting content from an image. If not specified, the default is black.