Data Loss Prevention V2 Client - Class TransformationResultStatus (1.15.1)

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

The outcome of a transformation.

Generated from protobuf message google.privacy.dlp.v2.TransformationResultStatus

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ result_status_type int

Transformation result status type, this will be either SUCCESS, or it will be the reason for why the transformation was not completely successful.

↳ details Google\Rpc\Status

Detailed error codes and messages

getResultStatusType

Transformation result status type, this will be either SUCCESS, or it will be the reason for why the transformation was not completely successful.

Returns
Type Description
int

setResultStatusType

Transformation result status type, this will be either SUCCESS, or it will be the reason for why the transformation was not completely successful.

Parameter
Name Description
var int
Returns
Type Description
$this

getDetails

Detailed error codes and messages

Returns
Type Description
Google\Rpc\Status|null

hasDetails

clearDetails

setDetails

Detailed error codes and messages

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$this