Data Loss Prevention V2 Client - Class FileStoreRegexes (1.17.0)

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

A collection of regular expressions to determine what file store to match against.

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

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

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

getPatterns

Required. The group of regular expression patterns to match against one or more file stores. 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

Required. The group of regular expression patterns to match against one or more file stores. 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\FileStoreRegex>
Returns
Type Description
$this