public sealed class SecretsDiscoveryTarget : IMessage<SecretsDiscoveryTarget>, IEquatable<SecretsDiscoveryTarget>, IDeepCloneable<SecretsDiscoveryTarget>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class SecretsDiscoveryTarget.
Discovery target for credentials and secrets in cloud resource metadata.
This target does not include any filtering or frequency controls. Cloud
DLP will scan cloud resource metadata for secrets daily.
[[["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 documentation for the \u003ccode\u003eSecretsDiscoveryTarget\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API, detailing its purpose in identifying credentials and secrets in cloud resource metadata.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretsDiscoveryTarget\u003c/code\u003e class is designed to scan cloud resource metadata for secrets on a daily basis, reporting any findings as vulnerabilities to Security Command Center without the need for a specific inspect template.\u003c/p\u003e\n"],["\u003cp\u003eThe class 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, and is part of the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists various versions of the API, ranging from 2.15.0 up to the latest 4.16.0, with version 4.11.0 being the currently selected version, each linked to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretsDiscoveryTarget\u003c/code\u003e class has two constructors, one default and one that takes a \u003ccode\u003eSecretsDiscoveryTarget\u003c/code\u003e object as a parameter for object initialization.\u003c/p\u003e\n"]]],[],null,[]]