Data Loss Prevention V2 Client - Class SummaryResult (1.11.0)

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
NameDescription
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
TypeDescription
int|string

setCount

Number of transformations counted by this result.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getCode

Outcome of the transformation.

Returns
TypeDescription
int

setCode

Outcome of the transformation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDetails

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

Returns
TypeDescription
string

setDetails

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this