public sealed class DiscoveryCloudStorageConditions : IMessage<DiscoveryCloudStorageConditions>, IEquatable<DiscoveryCloudStorageConditions>, IDeepCloneable<DiscoveryCloudStorageConditions>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DiscoveryCloudStorageConditions.
Requirements that must be true before a Cloud Storage bucket or object is
scanned in discovery for the first time. There is an AND relationship between
the top-level attributes.
public RepeatedField<DiscoveryCloudStorageConditions.Types.CloudStorageObjectAttribute> IncludedObjectAttributes { get; }
Required. Only objects with the specified attributes will be scanned. If an
object has one of the specified attributes but is inside an excluded
bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A
profile will be created even if no objects match the
included_object_attributes.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDiscoveryCloudStorageConditions\u003c/code\u003e class in the Google Cloud Data Loss Prevention v2 API defines requirements for scanning Cloud Storage buckets and objects during the discovery process, with an AND relationship between attributes.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation includes version history for the \u003ccode\u003eDiscoveryCloudStorageConditions\u003c/code\u003e class, starting from version 2.15.0 and up to the latest version 4.16.0.\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, providing functionalities like message handling, equality comparison, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDiscoveryCloudStorageConditions\u003c/code\u003e has two key properties: \u003ccode\u003eIncludedBucketAttributes\u003c/code\u003e, which specifies which bucket attributes to include in the scan, and \u003ccode\u003eIncludedObjectAttributes\u003c/code\u003e, which defines which object attributes to include in the scan.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are provided for creating new instances of \u003ccode\u003eDiscoveryCloudStorageConditions\u003c/code\u003e with and without existing configurations.\u003c/p\u003e\n"]]],[],null,[]]