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

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";
}

§Properties

§
partToExtract?: "TIME_PART_UNSPECIFIED" | "YEAR" | "MONTH" | "DAY_OF_MONTH" | "DAY_OF_WEEK" | "WEEK_OF_YEAR" | "HOUR_OF_DAY"
[src]

The part of the time to keep.