Interface DiscoveryCloudStorageFilterOrBuilder (3.56.0)

public interface DiscoveryCloudStorageFilterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudStorageResourceReference()

public abstract CloudStorageResourceReference getCloudStorageResourceReference()

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.

.google.privacy.dlp.v2.CloudStorageResourceReference cloud_storage_resource_reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudStorageResourceReference

The cloudStorageResourceReference.

getCloudStorageResourceReferenceOrBuilder()

public abstract CloudStorageResourceReferenceOrBuilder getCloudStorageResourceReferenceOrBuilder()

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.

.google.privacy.dlp.v2.CloudStorageResourceReference cloud_storage_resource_reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudStorageResourceReferenceOrBuilder

getCollection()

public abstract FileStoreCollection getCollection()

Optional. A specific set of buckets for this filter to apply to.

.google.privacy.dlp.v2.FileStoreCollection collection = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FileStoreCollection

The collection.

getCollectionOrBuilder()

public abstract FileStoreCollectionOrBuilder getCollectionOrBuilder()

Optional. A specific set of buckets for this filter to apply to.

.google.privacy.dlp.v2.FileStoreCollection collection = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FileStoreCollectionOrBuilder

getFilterCase()

public abstract DiscoveryCloudStorageFilter.FilterCase getFilterCase()
Returns
Type Description
DiscoveryCloudStorageFilter.FilterCase

getOthers()

public abstract AllOtherResources getOthers()

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.

.google.privacy.dlp.v2.AllOtherResources others = 100 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AllOtherResources

The others.

getOthersOrBuilder()

public abstract AllOtherResourcesOrBuilder getOthersOrBuilder()

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.

.google.privacy.dlp.v2.AllOtherResources others = 100 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AllOtherResourcesOrBuilder

hasCloudStorageResourceReference()

public abstract boolean hasCloudStorageResourceReference()

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.

.google.privacy.dlp.v2.CloudStorageResourceReference cloud_storage_resource_reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the cloudStorageResourceReference field is set.

hasCollection()

public abstract boolean hasCollection()

Optional. A specific set of buckets for this filter to apply to.

.google.privacy.dlp.v2.FileStoreCollection collection = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the collection field is set.

hasOthers()

public abstract boolean hasOthers()

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.

.google.privacy.dlp.v2.AllOtherResources others = 100 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the others field is set.