public sealed class DiscoveryTarget : IMessage<DiscoveryTarget>, IEquatable<DiscoveryTarget>, IDeepCloneable<DiscoveryTarget>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DiscoveryTarget.
public SecretsDiscoveryTarget SecretsTarget { get; set; }
Discovery target that looks for credentials and secrets stored in cloud
resource metadata and reports them as vulnerabilities to Security Command
Center. Only one target of this type is allowed.
[[["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\u003eDiscoveryTarget\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API, specifically focusing on version 4.10.0, but also including other version information ranging from 2.15.0 to 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDiscoveryTarget\u003c/code\u003e is a class used to define matching criteria for data discovery within the Google Cloud DLP service, and is implemented via interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDiscoveryTarget\u003c/code\u003e class allows specification of targets for BigQuery, Cloud SQL, Cloud Storage, and Secrets, where only one of these targets will be applied if there is a match, except for Secrets which are limited to only one target type.\u003c/p\u003e\n"],["\u003cp\u003eThis page outlines the constructors, properties, and inherited members of the \u003ccode\u003eDiscoveryTarget\u003c/code\u003e class, including details about the BigQueryTarget, CloudSqlTarget, CloudStorageTarget, and SecretsTarget properties and their associated types.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is 4.16.0 which is also linked, and the page offers a comprehensive list of previous versions for the \u003ccode\u003eDiscoveryTarget\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]