Reference documentation and code samples for the Google Cloud Model Armor V1 Client class SdpFinding.
Finding corresponding to Sensitive Data Protection filter.
Generated from protobuf message google.cloud.modelarmor.v1.SdpFinding
Namespace
Google \ Cloud \ ModelArmor \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ info_type |
string
Name of Sensitive Data Protection info type for this finding. |
↳ likelihood |
int
Identified confidence likelihood for |
↳ location |
SdpFinding\SdpFindingLocation
Location for this finding. |
getInfoType
Name of Sensitive Data Protection info type for this finding.
| Returns | |
|---|---|
| Type | Description |
string |
|
setInfoType
Name of Sensitive Data Protection info type for this finding.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLikelihood
Identified confidence likelihood for info_type.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type SdpFindingLikelihood. |
setLikelihood
Identified confidence likelihood for info_type.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type SdpFindingLikelihood. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocation
Location for this finding.
| Returns | |
|---|---|
| Type | Description |
SdpFinding\SdpFindingLocation|null |
|
hasLocation
clearLocation
setLocation
Location for this finding.
| Parameter | |
|---|---|
| Name | Description |
var |
SdpFinding\SdpFindingLocation
|
| Returns | |
|---|---|
| Type | Description |
$this |
|