Google Cloud Model Armor V1 Client - Class SdpFilterResult (0.7.0)

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

Sensitive Data Protection filter result.

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

Namespace

Google \ Cloud \ ModelArmor \ V1

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.

↳ redact_result SdpRedactResult

Sensitive Data Protection Redaction result if redaction is performed. This is primarily used for image redaction.

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

getRedactResult

Sensitive Data Protection Redaction result if redaction is performed.

This is primarily used for image redaction.

Returns
Type Description
SdpRedactResult|null

hasRedactResult

setRedactResult

Sensitive Data Protection Redaction result if redaction is performed.

This is primarily used for image redaction.

Parameter
Name Description
var SdpRedactResult
Returns
Type Description
$this

getResult

Returns
Type Description
string