Google Cloud Model Armor V1beta Client - Class SdpDeidentifyResult (0.2.0)

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

Sensitive Data Protection Deidentification Result.

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

Namespace

Google \ Cloud \ ModelArmor \ V1beta

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ execution_state
int

Output only. Reports whether Sensitive Data Protection deidentification was successfully executed or not.

↳ message_items
array< MessageItem >

Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.

↳ match_state
int

Output only. Match state for Sensitive Data Protection Deidentification. Value is MATCH_FOUND if content is de-identified.

↳ data
DataItem

De-identified data.

↳ transformed_bytes
int|string

Total size in bytes that were transformed during deidentification.

↳ info_types
array

List of Sensitive Data Protection info-types that were de-identified.

getExecutionState

Output only. Reports whether Sensitive Data Protection deidentification was successfully executed or not.

Returns
Type
Description
int

setExecutionState

Output only. Reports whether Sensitive Data Protection deidentification was successfully executed or not.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getMessageItems

Optional messages corresponding to the result.

A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.

Returns
Type
Description

setMessageItems

Optional messages corresponding to the result.

A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.

Parameter
Name
Description
var
array< MessageItem >
Returns
Type
Description
$this

getMatchState

Output only. Match state for Sensitive Data Protection Deidentification.

Value is MATCH_FOUND if content is de-identified.

Returns
Type
Description
int

setMatchState

Output only. Match state for Sensitive Data Protection Deidentification.

Value is MATCH_FOUND if content is de-identified.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getData

De-identified data.

Returns
Type
Description
DataItem |null

hasData

clearData

setData

De-identified data.

Parameter
Name
Description
var
Returns
Type
Description
$this

getTransformedBytes

Total size in bytes that were transformed during deidentification.

Returns
Type
Description
int|string

setTransformedBytes

Total size in bytes that were transformed during deidentification.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getInfoTypes

List of Sensitive Data Protection info-types that were de-identified.

Returns
Type
Description

setInfoTypes

List of Sensitive Data Protection info-types that were de-identified.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: