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 latest version of the \u003ccode\u003eDataProfilePubSubMessage\u003c/code\u003e class is 4.16.0, which is part of the Google Cloud Data Loss Prevention v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is designed for receiving Pub/Sub messages related to \u003ccode\u003eDataProfileAction.PubSubNotification\u003c/code\u003e events.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataProfilePubSubMessage\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties such as \u003ccode\u003eEvent\u003c/code\u003e, \u003ccode\u003eFileStoreProfile\u003c/code\u003e, and \u003ccode\u003eProfile\u003c/code\u003e to access relevant data from the Pub/Sub message, with varying levels of detail depending on the context.\u003c/p\u003e\n"],["\u003cp\u003eThere are many versions available for the DataProfilePubSubMessage class including versions as far back as 2.15.0.\u003c/p\u003e\n"]]],[],null,[]]