Data Loss Prevention V2 Client - Class AmazonS3Bucket (2.2.0)

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

Amazon S3 bucket.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ aws_account Google\Cloud\Dlp\V2\AwsAccount

The AWS account.

↳ bucket_name string

Required. The bucket name.

getAwsAccount

The AWS account.

Returns
Type Description
Google\Cloud\Dlp\V2\AwsAccount|null

hasAwsAccount

clearAwsAccount

setAwsAccount

The AWS account.

Parameter
Name Description
var Google\Cloud\Dlp\V2\AwsAccount
Returns
Type Description
$this

getBucketName

Required. The bucket name.

Returns
Type Description
string

setBucketName

Required. The bucket name.

Parameter
Name Description
var string
Returns
Type Description
$this