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.
Implements
IMessageDiscoveryCloudStorageFilter, IEquatableDiscoveryCloudStorageFilter, IDeepCloneableDiscoveryCloudStorageFilter, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
DiscoveryCloudStorageFilter()
public DiscoveryCloudStorageFilter()
DiscoveryCloudStorageFilter(DiscoveryCloudStorageFilter)
public DiscoveryCloudStorageFilter(DiscoveryCloudStorageFilter other)
Parameter | |
---|---|
Name | Description |
other |
DiscoveryCloudStorageFilter |
Properties
CloudStorageResourceReference
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.
Property Value | |
---|---|
Type | Description |
CloudStorageResourceReference |
Collection
public FileStoreCollection Collection { get; set; }
Optional. A specific set of buckets for this filter to apply to.
Property Value | |
---|---|
Type | Description |
FileStoreCollection |
FilterCase
public DiscoveryCloudStorageFilter.FilterOneofCase FilterCase { get; }
Property Value | |
---|---|
Type | Description |
DiscoveryCloudStorageFilterFilterOneofCase |
Others
public AllOtherResources Others { get; set; }
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.
Property Value | |
---|---|
Type | Description |
AllOtherResources |