Data Loss Prevention V2 Client - Class Domain (2.7.0)

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

A domain represents a thematic category that a data profile can fall under.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ category int

A domain category that this profile is related to.

↳ signals array

The collection of signals that influenced selection of the category.

getCategory

A domain category that this profile is related to.

Returns
Type Description
int Enum of type Category.

setCategory

A domain category that this profile is related to.

Parameter
Name Description
var int

Enum of type Category.

Returns
Type Description
$this

getSignals

The collection of signals that influenced selection of the category.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSignals

The collection of signals that influenced selection of the category.

Parameter
Name Description
var int[]
Returns
Type Description
$this