Data Loss Prevention V2 Client - Class DiscoveryCloudStorageConditions (1.16.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client 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.

Generated from protobuf message google.privacy.dlp.v2.DiscoveryCloudStorageConditions

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ included_object_attributes array

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.

↳ included_bucket_attributes array

Required. Only objects with the specified attributes will be scanned. Defaults to [ALL_SUPPORTED_BUCKETS] if unset.

getIncludedObjectAttributes

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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setIncludedObjectAttributes

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.

Parameter
Name Description
var int[]
Returns
Type Description
$this

getIncludedBucketAttributes

Required. Only objects with the specified attributes will be scanned.

Defaults to [ALL_SUPPORTED_BUCKETS] if unset.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setIncludedBucketAttributes

Required. Only objects with the specified attributes will be scanned.

Defaults to [ALL_SUPPORTED_BUCKETS] if unset.

Parameter
Name Description
var int[]
Returns
Type Description
$this