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

GooglePrivacyDlpV2PubSubNotification

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

Send a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation. The message payload data will be the byte serialization of DataProfilePubSubMessage.

interface GooglePrivacyDlpV2PubSubNotification {
detailOfMessage?: "DETAIL_LEVEL_UNSPECIFIED" | "TABLE_PROFILE" | "RESOURCE_NAME";
event?:
| "EVENT_TYPE_UNSPECIFIED"
| "NEW_PROFILE"
| "CHANGED_PROFILE"
| "SCORE_INCREASED"
| "ERROR_CHANGED";
topic?: string;
}

§Properties

§
detailOfMessage?: "DETAIL_LEVEL_UNSPECIFIED" | "TABLE_PROFILE" | "RESOURCE_NAME"
[src]

How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).

§
event?: "EVENT_TYPE_UNSPECIFIED" | "NEW_PROFILE" | "CHANGED_PROFILE" | "SCORE_INCREASED" | "ERROR_CHANGED"
[src]

The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.

§

Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.

§
topic?: string
[src]

Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.