Data Loss Prevention V2 Client - Class TimePartConfig (1.15.1)

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
int

setPartToExtract

The part of the time to keep.

Parameter
Name Description
var int
Returns
Type Description
$this