public sealed class 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\u003ePublishToStackdriver\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API, specifically for the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePublishToStackdriver\u003c/code\u003e class allows for the publishing of a metric to Stackdriver, detailing the number of findings for each requested infotype, under the dlp.googleapis.com/finding_count metric.\u003c/p\u003e\n"],["\u003cp\u003eThe provided content covers different versions of the \u003ccode\u003ePublishToStackdriver\u003c/code\u003e class ranging from version 2.15.0 all the way to the latest 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes details on class inheritance, implemented interfaces (like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e), and information on the class constructors.\u003c/p\u003e\n"],["\u003cp\u003eCustom Detectors are categorized under the 'Custom' label in Stackdriver under the 'info_type' label.\u003c/p\u003e\n"]]],[],null,[]]