Google Cloud Model Armor V1beta Client - Class SdpFilterResult (0.4.0)

Reference documentation and code samples for the Google Cloud Model Armor V1beta Client class SdpFilterResult.

Sensitive Data Protection filter result.

Generated from protobuf message google.cloud.modelarmor.v1beta.SdpFilterResult

Namespace

Google \ Cloud \ ModelArmor \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ inspect_result SdpInspectResult

Sensitive Data Protection Inspection result if inspection is performed.

↳ deidentify_result SdpDeidentifyResult

Sensitive Data Protection Deidentification result if deidentification is performed.

getInspectResult

Sensitive Data Protection Inspection result if inspection is performed.

Returns
Type Description
SdpInspectResult|null

hasInspectResult

setInspectResult

Sensitive Data Protection Inspection result if inspection is performed.

Parameter
Name Description
var SdpInspectResult
Returns
Type Description
$this

getDeidentifyResult

Sensitive Data Protection Deidentification result if deidentification is performed.

Returns
Type Description
SdpDeidentifyResult|null

hasDeidentifyResult

setDeidentifyResult

Sensitive Data Protection Deidentification result if deidentification is performed.

Parameter
Name Description
var SdpDeidentifyResult
Returns
Type Description
$this

getResult

Returns
Type Description
string