Reference documentation and code samples for the Data Loss Prevention V2 Client class OtherCloudResourceRegex.
A pattern to match against one or more resources. At least one pattern must be specified. Regular expressions use RE2 syntax; a guide can be found under the google/re2 repository on GitHub.
Generated from protobuf message google.privacy.dlp.v2.OtherCloudResourceRegex
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ amazon_s3_bucket_regex |
AmazonS3BucketRegex
Regex for Amazon S3 buckets. |
getAmazonS3BucketRegex
Regex for Amazon S3 buckets.
| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex|null |
|
hasAmazonS3BucketRegex
setAmazonS3BucketRegex
Regex for Amazon S3 buckets.
| Parameter | |
|---|---|
| Name | Description |
var |
AmazonS3BucketRegex
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResourceRegex
| Returns | |
|---|---|
| Type | Description |
string |
|