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\u003eThe latest version available for \u003ccode\u003eSecretsDiscoveryTarget\u003c/code\u003e in the Google Cloud Data Loss Prevention v2 API is version 4.16.0, with a range of prior versions down to 2.15.0 being accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSecretsDiscoveryTarget\u003c/code\u003e is a class that defines a discovery target for credentials and secrets found within cloud resource metadata, which is used within the Google Cloud Data Loss Prevention v2 API.\u003c/p\u003e\n"],["\u003cp\u003eNo inspect template should be used in the discovery configuration for security benchmark scans, and instead, a built-in list of credentials and secrets will be used.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \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 SecretsDiscoveryTarget class includes two constructors, a default constructor, and one that takes another SecretsDiscoveryTarget object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]