Data Loss Prevention V2 Client - Class AmazonS3BucketConditions (2.2.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client class AmazonS3BucketConditions.

Amazon S3 bucket conditions.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ bucket_types array

Optional. Bucket types that should be profiled. Optional. Defaults to TYPE_ALL_SUPPORTED if unspecified.

↳ object_storage_classes array

Optional. Object classes that should be profiled. Optional. Defaults to ALL_SUPPORTED_CLASSES if unspecified.

getBucketTypes

Optional. Bucket types that should be profiled.

Optional. Defaults to TYPE_ALL_SUPPORTED if unspecified.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setBucketTypes

Optional. Bucket types that should be profiled.

Optional. Defaults to TYPE_ALL_SUPPORTED if unspecified.

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

getObjectStorageClasses

Optional. Object classes that should be profiled.

Optional. Defaults to ALL_SUPPORTED_CLASSES if unspecified.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setObjectStorageClasses

Optional. Object classes that should be profiled.

Optional. Defaults to ALL_SUPPORTED_CLASSES if unspecified.

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