Data Loss Prevention V2 Client - Class OtherCloudResourceRegex (2.2.0)

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 \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ amazon_s3_bucket_regex Google\Cloud\Dlp\V2\AmazonS3BucketRegex

Regex for Amazon S3 buckets.

getAmazonS3BucketRegex

Regex for Amazon S3 buckets.

Returns
Type Description
Google\Cloud\Dlp\V2\AmazonS3BucketRegex|null

hasAmazonS3BucketRegex

setAmazonS3BucketRegex

Regex for Amazon S3 buckets.

Parameter
Name Description
var Google\Cloud\Dlp\V2\AmazonS3BucketRegex
Returns
Type Description
$this

getResourceRegex

Returns
Type Description
string