Data Loss Prevention V2 Client - Class InspectionRuleSet (2.10.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
Name Description
data array

Optional. Data for populating the Message object.

↳ info_types array<InfoType>

List of infoTypes this rule set is applied to.

↳ rules array<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
Type Description
Google\Protobuf\RepeatedField<InfoType>

setInfoTypes

List of infoTypes this rule set is applied to.

Parameter
Name Description
var array<InfoType>
Returns
Type Description
$this

getRules

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

Returns
Type Description
Google\Protobuf\RepeatedField<InspectionRule>

setRules

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

Parameter
Name Description
var array<InspectionRule>
Returns
Type Description
$this