Data Loss Prevention V2 Client - Class TransformationResultStatus (1.11.0)

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

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this

getDetails

Detailed error codes and messages

Returns
TypeDescription
Google\Rpc\Status|null

hasDetails

clearDetails

setDetails

Detailed error codes and messages

Parameter
NameDescription
var Google\Rpc\Status
Returns
TypeDescription
$this