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

GooglePrivacyDlpV2DataProfilePubSubMessage

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

Pub/Sub topic message for a DataProfileAction.PubSubNotification event. To receive a message of protocol buffer schema type, convert the message data to an object of this proto class.

interface GooglePrivacyDlpV2DataProfilePubSubMessage {
event?:
| "EVENT_TYPE_UNSPECIFIED"
| "NEW_PROFILE"
| "CHANGED_PROFILE"
| "SCORE_INCREASED"
| "ERROR_CHANGED";
}

§Properties

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

The event that caused the Pub/Sub message to be sent.

§

If DetailLevel is TABLE_PROFILE this will be fully populated. Otherwise, if DetailLevel is RESOURCE_NAME, then only name and full_resource will be populated.