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 reference documentation for the \u003ccode\u003eAction.Types.PublishToStackdriver\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePublishToStackdriver\u003c/code\u003e class is used to enable the \u003ccode\u003edlp.googleapis.com/finding_count\u003c/code\u003e metric, which publishes information to Stackdriver about each infotype requested and the number of findings for it.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers various versions of the API, from version 2.15.0 up to the latest version, 4.16.0, and displays how to access their pages.\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.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also provides the usage of the constructors \u003ccode\u003ePublishToStackdriver()\u003c/code\u003e and \u003ccode\u003ePublishToStackdriver(Action.Types.PublishToStackdriver other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]