Data Loss Prevention V2 Client - Class InspectionRuleSet (1.9.0)

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

Rule set for modifying a set of infoTypes to alter behavior under certain circumstances, depending on the specific details of the rules within the set.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ info_types array<Google\Cloud\Dlp\V2\InfoType>

List of infoTypes this rule set is applied to.

↳ rules array<Google\Cloud\Dlp\V2\InspectionRule>

Set of rules to be applied to infoTypes. The rules are applied in order.

getInfoTypes

List of infoTypes this rule set is applied to.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInfoTypes

List of infoTypes this rule set is applied to.

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\InfoType>
Returns
TypeDescription
$this

getRules

Set of rules to be applied to infoTypes. The rules are applied in order.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRules

Set of rules to be applied to infoTypes. The rules are applied in order.

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\InspectionRule>
Returns
TypeDescription
$this