public sealed class Action.Types.PublishToStackdriver : IMessage<Action.Types.PublishToStackdriver>, IEquatable<Action.Types.PublishToStackdriver>, IDeepCloneable<Action.Types.PublishToStackdriver>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class Action.Types.PublishToStackdriver.
Enable Stackdriver metric dlp.googleapis.com/finding_count. This
will publish a metric to stack driver on each infotype requested and
how many findings were found for it. CustomDetectors will be bucketed
as 'Custom' under the Stackdriver label 'info_type'.
[[["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 page provides documentation for the \u003ccode\u003eAction.Types.PublishToStackdriver\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API, specifically for the .NET framework.\u003c/p\u003e\n"],["\u003cp\u003eThe class is designed to enable the publishing of a metric to Stackdriver, which details the number of findings for each requested information type, including custom detectors labeled as 'Custom'.\u003c/p\u003e\n"],["\u003cp\u003eIt 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, ensuring compatibility and providing functionalities like deep cloning and equality checks.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists all available versions of this class from 2.15.0 to the latest 4.16.0, alongside 2.16.0, with links to the documentation of each version, as well as versions 3.2.0-3.5.0 and 4.0.0 - 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports two constructors, a default constructor \u003ccode\u003ePublishToStackdriver()\u003c/code\u003e and a copy constructor \u003ccode\u003ePublishToStackdriver(Action.Types.PublishToStackdriver other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]