Data Loss Prevention V2 Client - Class AmazonS3Bucket (2.2.1)

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 AwsAccount

The AWS account.

↳ bucket_name string

Required. The bucket name.

getAwsAccount

The AWS account.

Returns
Type Description
AwsAccount|null

hasAwsAccount

clearAwsAccount

setAwsAccount

The AWS account.

Parameter
Name Description
var 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