Reference documentation and code samples for the Data Loss Prevention V2 Client class AmazonS3BucketRegex.
Amazon S3 bucket regex.
Generated from protobuf message google.privacy.dlp.v2.AmazonS3BucketRegex
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ aws_account_regex |
Google\Cloud\Dlp\V2\AwsAccountRegex
The AWS account regex. |
↳ bucket_name_regex |
string
Optional. Regex to test the bucket name against. If empty, all buckets match. |
getAwsAccountRegex
The AWS account regex.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dlp\V2\AwsAccountRegex|null |
hasAwsAccountRegex
clearAwsAccountRegex
setAwsAccountRegex
The AWS account regex.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dlp\V2\AwsAccountRegex
|
Returns | |
---|---|
Type | Description |
$this |
getBucketNameRegex
Optional. Regex to test the bucket name against.
If empty, all buckets match.
Returns | |
---|---|
Type | Description |
string |
setBucketNameRegex
Optional. Regex to test the bucket name against.
If empty, all buckets match.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |