Data Loss Prevention V2 Client - Class DatabaseResourceCollection (2.2.0)

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

Match database resources using regex filters. Examples of database resources are tables, views, and stored procedures.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ include_regexes Google\Cloud\Dlp\V2\DatabaseResourceRegexes

A collection of regular expressions to match a database resource against.

getIncludeRegexes

A collection of regular expressions to match a database resource against.

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

hasIncludeRegexes

setIncludeRegexes

A collection of regular expressions to match a database resource against.

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

getPattern

Returns
Type Description
string