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

RedactionConfig

import type { RedactionConfig } from "https://googleapis.deno.dev/v1/ces:v1.ts";

Configuration to instruct how sensitive data should be handled.

interface RedactionConfig {
deidentifyTemplate?: string;
enableRedaction?: boolean;
inspectTemplate?: string;
}

§Properties

§
deidentifyTemplate?: string
[src]

Optional. DLP deidentify template name to instruct on how to de-identify content. Format: projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}

§
enableRedaction?: boolean
[src]

Optional. If true, redaction will be applied in various logging scenarios, including conversation history, Cloud Logging and audio recording.

§
inspectTemplate?: string
[src]

Optional. DLP inspect template name to configure detection of sensitive data types. Format: projects/{project}/locations/{location}/inspectTemplates/{inspect_template}