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

GooglePrivacyDlpV2CustomInfoType

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

Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.

interface GooglePrivacyDlpV2CustomInfoType {
exclusionType?: "EXCLUSION_TYPE_UNSPECIFIED" | "EXCLUSION_TYPE_EXCLUDE";
likelihood?:
| "LIKELIHOOD_UNSPECIFIED"
| "VERY_UNLIKELY"
| "UNLIKELY"
| "POSSIBLE"
| "LIKELY"
| "VERY_LIKELY";
}

§Properties

§

Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the surrogate_type CustomInfoType.

§

A list of phrases to detect as a CustomInfoType.

§
exclusionType?: "EXCLUSION_TYPE_UNSPECIFIED" | "EXCLUSION_TYPE_EXCLUDE"
[src]

If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.

§

CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in InspectContent.info_types field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in InspectContent.info_types list then the name is treated as a custom info type.

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

Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to VERY_LIKELY if not specified.

§

Regular expression based CustomInfoType.

§

Sensitivity for this CustomInfoType. If this CustomInfoType extends an existing InfoType, the sensitivity here will take precedence over that of the original InfoType. If unset for a CustomInfoType, it will default to HIGH. This only applies to data profiling.

§

Load an existing StoredInfoType resource for use in InspectDataSource. Not currently supported in InspectContent.

§

Message for detecting output from deidentification transformations that support reversing.