GooglePrivacyDlpV2TimePartConfig
import type { GooglePrivacyDlpV2TimePartConfig } from "https://googleapis.deno.dev/v1/dlp:v2.ts";
For use with Date
, Timestamp
, and TimeOfDay
, extract or preserve a
portion of the value.
interface GooglePrivacyDlpV2TimePartConfig {
partToExtract?:
} | "TIME_PART_UNSPECIFIED"
| "YEAR"
| "MONTH"
| "DAY_OF_MONTH"
| "DAY_OF_WEEK"
| "WEEK_OF_YEAR"
| "HOUR_OF_DAY";