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

GooglePrivacyDlpV2InfoTypeLikelihood

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

Configuration for setting a minimum likelihood per infotype. Used to customize the minimum likelihood level for specific infotypes in the request. For example, use this if you want to lower the precision for PERSON_NAME without lowering the precision for the other infotypes in the request.

interface GooglePrivacyDlpV2InfoTypeLikelihood {
minLikelihood?:
| "LIKELIHOOD_UNSPECIFIED"
| "VERY_UNLIKELY"
| "UNLIKELY"
| "POSSIBLE"
| "LIKELY"
| "VERY_LIKELY";
}

§Properties

§

Type of information the likelihood threshold applies to. Only one likelihood per info_type should be provided. If InfoTypeLikelihood does not have an info_type, the configuration fails.

§
minLikelihood?: "LIKELIHOOD_UNSPECIFIED" | "VERY_UNLIKELY" | "UNLIKELY" | "POSSIBLE" | "LIKELY" | "VERY_LIKELY"
[src]

Only returns findings equal to or above this threshold. This field is required or else the configuration fails.