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

GooglePrivacyDlpV2DiscoveryConfig

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

Configuration for discovery to scan resources for profile generation. Only one discovery configuration may exist per organization, folder, or project. The generated data profiles are retained according to the [data retention policy] (https://cloud.google.com/sensitive-data-protection/docs/data-profiles#retention).

interface GooglePrivacyDlpV2DiscoveryConfig {
readonly createTime?: Date;
displayName?: string;
readonly errors?: GooglePrivacyDlpV2Error[];
inspectTemplates?: string[];
readonly lastRunTime?: Date;
name?: string;
status?: "STATUS_UNSPECIFIED" | "RUNNING" | "PAUSED";
readonly updateTime?: Date;
}

§Properties

§

Actions to execute at the completion of scanning.

§
readonly createTime?: Date
[src]

Output only. The creation timestamp of a DiscoveryConfig.

§
displayName?: string
[src]

Display name (max 100 chars)

§
readonly errors?: GooglePrivacyDlpV2Error[]
[src]

Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared.

§
inspectTemplates?: string[]
[src]

Detection logic for profile generation. Not all template features are used by Discovery. FindingLimits, include_quote and exclude_info_types have no impact on Discovery. Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned. For more information, see https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.

§
readonly lastRunTime?: Date
[src]

Output only. The timestamp of the last time this config was executed.

§
name?: string
[src]

Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created, for example projects/dlp-test-project/locations/global/discoveryConfigs/53234423.

§

Only set when the parent is an org.

§
status?: "STATUS_UNSPECIFIED" | "RUNNING" | "PAUSED"
[src]

Required. A status for this configuration.

§

Target to match against for determining what to scan and how frequently.

§
readonly updateTime?: Date
[src]

Output only. The last update timestamp of a DiscoveryConfig.