Interface DiscoveryOtherCloudFilterOrBuilder (3.58.0)

public interface DiscoveryOtherCloudFilterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCollection()

public abstract OtherCloudResourceCollection getCollection()

A collection of resources for this filter to apply to.

.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;

Returns
Type Description
OtherCloudResourceCollection

The collection.

getCollectionOrBuilder()

public abstract OtherCloudResourceCollectionOrBuilder getCollectionOrBuilder()

A collection of resources for this filter to apply to.

.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;

Returns
Type Description
OtherCloudResourceCollectionOrBuilder

getFilterCase()

public abstract DiscoveryOtherCloudFilter.FilterCase getFilterCase()
Returns
Type Description
DiscoveryOtherCloudFilter.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

getSingleResource()

public abstract OtherCloudSingleResourceReference getSingleResource()

The resource to scan. Configs using this filter can only have one target (the target with this single resource reference).

.google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2;

Returns
Type Description
OtherCloudSingleResourceReference

The singleResource.

getSingleResourceOrBuilder()

public abstract OtherCloudSingleResourceReferenceOrBuilder getSingleResourceOrBuilder()

The resource to scan. Configs using this filter can only have one target (the target with this single resource reference).

.google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2;

Returns
Type Description
OtherCloudSingleResourceReferenceOrBuilder

hasCollection()

public abstract boolean hasCollection()

A collection of resources for this filter to apply to.

.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;

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.

hasSingleResource()

public abstract boolean hasSingleResource()

The resource to scan. Configs using this filter can only have one target (the target with this single resource reference).

.google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2;

Returns
Type Description
boolean

Whether the singleResource field is set.