Data Loss Prevention V2 Client - Class OtherCloudSingleResourceReference (2.2.2)

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

Identifies a single resource, like a single Amazon S3 bucket.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ amazon_s3_bucket AmazonS3Bucket

Amazon S3 bucket.

getAmazonS3Bucket

Amazon S3 bucket.

Returns
Type Description
AmazonS3Bucket|null

hasAmazonS3Bucket

setAmazonS3Bucket

Amazon S3 bucket.

Parameter
Name Description
var AmazonS3Bucket
Returns
Type Description
$this

getResource

Returns
Type Description
string