Data Loss Prevention V2 Client - Class SummaryResult (2.6.1)

Reference documentation and code samples for the Data Loss Prevention V2 Client class SummaryResult.

A collection that informs the user the number of times a particular TransformationResultCode and error details occurred.

Generated from protobuf message google.privacy.dlp.v2.TransformationSummary.SummaryResult

Namespace

Google \ Cloud \ Dlp \ V2 \ TransformationSummary

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ count int|string

Number of transformations counted by this result.

↳ code int

Outcome of the transformation.

↳ details string

A place for warnings or errors to show up if a transformation didn't work as expected.

getCount

Number of transformations counted by this result.

Returns
Type Description
int|string

setCount

Number of transformations counted by this result.

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

getCode

Outcome of the transformation.

Returns
Type Description
int Enum of type TransformationResultCode.

setCode

Outcome of the transformation.

Parameter
Name Description
var int

Enum of type TransformationResultCode.

Returns
Type Description
$this

getDetails

A place for warnings or errors to show up if a transformation didn't work as expected.

Returns
Type Description
string

setDetails

A place for warnings or errors to show up if a transformation didn't work as expected.

Parameter
Name Description
var string
Returns
Type Description
$this