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

DataMaskingPolicy

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

The data masking policy that is used to specify data masking rule.

interface DataMaskingPolicy {
predefinedExpression?:
| "PREDEFINED_EXPRESSION_UNSPECIFIED"
| "SHA256"
| "ALWAYS_NULL"
| "DEFAULT_MASKING_VALUE"
| "LAST_FOUR_CHARACTERS"
| "FIRST_FOUR_CHARACTERS"
| "EMAIL_MASK"
| "DATE_YEAR_MASK";
routine?: string;
}

§Properties

§
predefinedExpression?: "PREDEFINED_EXPRESSION_UNSPECIFIED" | "SHA256" | "ALWAYS_NULL" | "DEFAULT_MASKING_VALUE" | "LAST_FOUR_CHARACTERS" | "FIRST_FOUR_CHARACTERS" | "EMAIL_MASK" | "DATE_YEAR_MASK"
[src]

A predefined masking expression.

§
routine?: string
[src]

The name of the BigQuery routine that contains the custom masking routine, in the format of projects/{project_number}/datasets/{dataset_id}/routines/{routine_id}.