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 reference documentation for the \u003ccode\u003eAction.Types.PublishToStackdriver\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePublishToStackdriver\u003c/code\u003e class allows publishing of a metric to Stackdriver, specifically \u003ccode\u003edlp.googleapis.com/finding_count\u003c/code\u003e, which reports on infotype findings.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 4.16.0, and this document contains the version 4.12.0, while also providing links to several previous versions of the API and documentation, going back as far as version 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eCustom detectors are labeled as 'Custom' under the 'info_type' label in Stackdriver.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003ePublishToStackdriver\u003c/code\u003e inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, with available constructors for default initialization and copying from another instance of the class.\u003c/p\u003e\n"]]],[],null,[]]