public sealed class DataProfilePubSubMessage : IMessage<DataProfilePubSubMessage>, IEquatable<DataProfilePubSubMessage>, IDeepCloneable<DataProfilePubSubMessage>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DataProfilePubSubMessage.
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.
public FileStoreDataProfile FileStoreProfile { get; set; }
If DetailLevel is FILE_STORE_PROFILE this will be fully populated.
Otherwise, if DetailLevel is RESOURCE_NAME, then only name and
file_store_path will be populated.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDataProfilePubSubMessage\u003c/code\u003e class in the Google Cloud Data Loss Prevention v2 API is designed for Pub/Sub topic messages related to \u003ccode\u003eDataProfileAction.PubSubNotification\u003c/code\u003e events.\u003c/p\u003e\n"],["\u003cp\u003eThis class can provide detailed information about data profiles, including \u003ccode\u003eFileStoreDataProfile\u003c/code\u003e and \u003ccode\u003eTableDataProfile\u003c/code\u003e, depending on the \u003ccode\u003eDetailLevel\u003c/code\u003e setting.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 4.16.0, while the current page describes the documentation for version 4.15.0 of the \u003ccode\u003eDataProfilePubSubMessage\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataProfilePubSubMessage\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and the class has two constructors, \u003ccode\u003eDataProfilePubSubMessage()\u003c/code\u003e and \u003ccode\u003eDataProfilePubSubMessage(DataProfilePubSubMessage other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis message includes information such as the \u003ccode\u003eEvent\u003c/code\u003e that triggered the message and data profiles, such as the \u003ccode\u003eFileStoreProfile\u003c/code\u003e or \u003ccode\u003eProfile\u003c/code\u003e, which will contain different levels of detail depending on the configuration.\u003c/p\u003e\n"]]],[],null,[]]