Data Loss Prevention V2 Client - Class ProfileStatus (1.15.1)

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

Success or errors for the profile generation.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ status Google\Rpc\Status

Profiling status code and optional message. The status.code value is 0 (default value) for OK.

↳ timestamp Google\Protobuf\Timestamp

Time when the profile generation status was updated

getStatus

Profiling status code and optional message. The status.code value is 0 (default value) for OK.

Returns
Type Description
Google\Rpc\Status|null

hasStatus

clearStatus

setStatus

Profiling status code and optional message. The status.code value is 0 (default value) for OK.

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

getTimestamp

Time when the profile generation status was updated

Returns
Type Description
Google\Protobuf\Timestamp|null

hasTimestamp

clearTimestamp

setTimestamp

Time when the profile generation status was updated

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this