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, with version 4.12.0 being shown.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretsDiscoveryTarget\u003c/code\u003e class is used to discover credentials and secrets in cloud resource metadata, scanning daily without any filtering or frequency control.\u003c/p\u003e\n"],["\u003cp\u003eDiscovered credentials and secrets will be reported as vulnerabilities to Security Command Center, utilizing a built-in list of infoTypes instead of requiring an inspect template.\u003c/p\u003e\n"],["\u003cp\u003eThe class 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 interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes links to the reference documentation for multiple versions of the API, ranging from version 2.15.0 up to the latest version 4.16.0.\u003c/p\u003e\n"]]],[],null,[]]