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 \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ amazon_s3_bucket |
Google\Cloud\Dlp\V2\AmazonS3Bucket
Amazon S3 bucket. |
getAmazonS3Bucket
Amazon S3 bucket.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dlp\V2\AmazonS3Bucket|null |
hasAmazonS3Bucket
setAmazonS3Bucket
Amazon S3 bucket.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dlp\V2\AmazonS3Bucket
|
Returns | |
---|---|
Type | Description |
$this |
getResource
Returns | |
---|---|
Type | Description |
string |