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 webpage provides reference documentation for the \u003ccode\u003eAction.Types.PublishToStackdriver\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePublishToStackdriver\u003c/code\u003e class enables the publishing of a metric to Stackdriver, showing the number of findings for each requested infotype, with custom detectors labeled as 'Custom'.\u003c/p\u003e\n"],["\u003cp\u003eIt implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers multiple versions of the API, ranging from version 2.15.0 to the latest version, 4.16.0, including version 4.13.0 specifically.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, one being parameterless and the other accepting another \u003ccode\u003ePublishToStackdriver\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]