Data Loss Prevention V2 Client - Class ProfileStatus (1.11.0)

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

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Rpc\Status|null

hasStatus

clearStatus

setStatus

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

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

getTimestamp

Time when the profile generation status was updated

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasTimestamp

clearTimestamp

setTimestamp

Time when the profile generation status was updated

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this