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

GooglePrivacyDlpV2TransformationDescription

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

A flattened description of a PrimitiveTransformation or RecordSuppression.

interface GooglePrivacyDlpV2TransformationDescription {
condition?: string;
description?: string;
type?:
| "TRANSFORMATION_TYPE_UNSPECIFIED"
| "RECORD_SUPPRESSION"
| "REPLACE_VALUE"
| "REPLACE_DICTIONARY"
| "REDACT"
| "CHARACTER_MASK"
| "CRYPTO_REPLACE_FFX_FPE"
| "FIXED_SIZE_BUCKETING"
| "BUCKETING"
| "REPLACE_WITH_INFO_TYPE"
| "TIME_PART"
| "CRYPTO_HASH"
| "DATE_SHIFT"
| "CRYPTO_DETERMINISTIC_CONFIG"
| "REDACT_IMAGE";
}

§Properties

§
condition?: string
[src]

A human-readable string representation of the RecordCondition corresponding to this transformation. Set if a RecordCondition was used to determine whether or not to apply this transformation. Examples: * (age_field > 85) * (age_field <= 18) * (zip_field exists) * (zip_field == 01234) && (city_field != "Springville") * (zip_field == 01234) && (age_field <= 18) && (city_field exists)

§
description?: string
[src]

A description of the transformation. This is empty for a RECORD_SUPPRESSION, or is the output of calling toString() on the PrimitiveTransformation protocol buffer message for any other type of transformation.

§

Set if the transformation was limited to a specific InfoType.

§
type?: "TRANSFORMATION_TYPE_UNSPECIFIED" | "RECORD_SUPPRESSION" | "REPLACE_VALUE" | "REPLACE_DICTIONARY" | "REDACT" | "CHARACTER_MASK" | "CRYPTO_REPLACE_FFX_FPE" | "FIXED_SIZE_BUCKETING" | "BUCKETING" | "REPLACE_WITH_INFO_TYPE" | "TIME_PART" | "CRYPTO_HASH" | "DATE_SHIFT" | "CRYPTO_DETERMINISTIC_CONFIG" | "REDACT_IMAGE"
[src]

The transformation type.