public sealed class DiscoveryCloudStorageFilter : IMessage<DiscoveryCloudStorageFilter>, IEquatable<DiscoveryCloudStorageFilter>, IDeepCloneable<DiscoveryCloudStorageFilter>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DiscoveryCloudStorageFilter.
Determines which buckets will have profiles generated within an organization
or project. Includes the ability to filter by regular expression patterns
on project ID and bucket name.
public CloudStorageResourceReference CloudStorageResourceReference { get; set; }
Optional. The bucket to scan. Targets including this can only include one
target (the target with this bucket). This enables profiling the contents
of a single bucket, while the other options allow for easy profiling of
many bucets within a project or an organization.
Optional. Catch-all. This should always be the last target in the list
because anything above it will apply first. Should only appear once in a
configuration. If none is specified, a default one will be added
automatically.
[[["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 the \u003ccode\u003eDiscoveryCloudStorageFilter\u003c/code\u003e class is 4.16.0, with multiple previous versions accessible down to 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDiscoveryCloudStorageFilter\u003c/code\u003e is a class in the Google Cloud Data Loss Prevention v2 API that determines which buckets will have profiles generated, with filtering capabilities using regular expressions on project ID and bucket name.\u003c/p\u003e\n"],["\u003cp\u003eThis 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDiscoveryCloudStorageFilter\u003c/code\u003e class offers constructors for creating new instances, including one for copying existing instances, and includes properties like \u003ccode\u003eCloudStorageResourceReference\u003c/code\u003e, \u003ccode\u003eCollection\u003c/code\u003e, \u003ccode\u003eFilterCase\u003c/code\u003e, and \u003ccode\u003eOthers\u003c/code\u003e to manage bucket filtering and profiling.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOthers\u003c/code\u003e property acts as a catch-all for configurations, while the \u003ccode\u003eCloudStorageResourceReference\u003c/code\u003e allows targeting a specific bucket for profiling, and the \u003ccode\u003eCollection\u003c/code\u003e property is for the application of filtering to a specific set of buckets.\u003c/p\u003e\n"]]],[],null,[]]