Data Loss Prevention V2 Client - Class TimePartConfig (1.8.6)

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

For use with Date, Timestamp, and TimeOfDay, extract or preserve a portion of the value.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ part_to_extract int

The part of the time to keep.

getPartToExtract

The part of the time to keep.

Returns
TypeDescription
int

setPartToExtract

The part of the time to keep.

Parameter
NameDescription
var int
Returns
TypeDescription
$this