public sealed class PubSubNotification : IMessage<DataProfileAction.Types.PubSubNotification>, IEquatable<DataProfileAction.Types.PubSubNotification>, IDeepCloneable<DataProfileAction.Types.PubSubNotification>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DataProfileAction.Types.PubSubNotification.
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.
public DataProfileAction.Types.PubSubNotification.Types.DetailLevel DetailOfMessage { get; set; }
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).
[[["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\u003eThis webpage provides documentation for the \u003ccode\u003eDataProfileAction.Types.PubSubNotification\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API, offering reference materials and code samples for various versions, with the latest version being 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePubSubNotification\u003c/code\u003e class, when implemented, sends messages via a Pub/Sub topic to connect other systems to data profile generation, with the message payload being a byte serialization of \u003ccode\u003eDataProfilePubSubMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eObject\u003c/code\u003e and 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, allowing for message handling, equality comparisons, deep cloning, and buffered message capabilities.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003ePubSubNotification\u003c/code\u003e class include \u003ccode\u003eDetailOfMessage\u003c/code\u003e, \u003ccode\u003eEvent\u003c/code\u003e, \u003ccode\u003ePubsubCondition\u003c/code\u003e, and \u003ccode\u003eTopic\u003c/code\u003e, which allow for control over the message's content detail level, the event triggering the notification, the conditions that trigger it, and the target Pub/Sub topic, respectively.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available to create a \u003ccode\u003ePubSubNotification\u003c/code\u003e object with no initial state, or by copying the state of an existing \u003ccode\u003eDataProfileAction.Types.PubSubNotification\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]