Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class SensitivityScore.
Score is calculated from of all elements in the data profile.
A higher level means the data is more sensitive.
Generated from protobuf message google.cloud.securitycenter.v1.SensitivityScore
Namespace
Google \ Cloud \ SecurityCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ score |
int
The sensitivity score applied to the resource. |
getScore
The sensitivity score applied to the resource.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type SensitivityScoreLevel. |
setScore
The sensitivity score applied to the resource.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type SensitivityScoreLevel. |
| Returns | |
|---|---|
| Type | Description |
$this |
|