Data Loss Prevention V2 Client - Class OtherCloudResourceCollection (2.2.0)

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

Match resources using regex filters.

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

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

A collection of regular expressions to match a resource against.

getIncludeRegexes

A collection of regular expressions to match a resource against.

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

hasIncludeRegexes

setIncludeRegexes

A collection of regular expressions to match a resource against.

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

getPattern

Returns
Type Description
string