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 \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ category | intA domain category that this profile is related to. | 
| ↳ signals | arrayThe 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 | intEnum 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 | |