Data Loss Prevention V2 Client - Class OtherCloudResourceRegexes (2.2.1)

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

A collection of regular expressions to determine what resources to match against.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ patterns array<OtherCloudResourceRegex>

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

getPatterns

A group of regular expression patterns to match against one or more resources.

Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPatterns

A group of regular expression patterns to match against one or more resources.

Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

Parameter
Name Description
var array<OtherCloudResourceRegex>
Returns
Type Description
$this