Data Loss Prevention V2 Client - Class DatabaseResourceRegexes (1.15.1)

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

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

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ patterns array<Google\Cloud\Dlp\V2\DatabaseResourceRegex>

A group of regular expression patterns to match against one or more database 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 database 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 database resources.

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

Parameter
Name Description
var array<Google\Cloud\Dlp\V2\DatabaseResourceRegex>
Returns
Type Description
$this