Data Loss Prevention V2 Client - Class TimeZone (1.10.2)

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

Time zone of the date time object.

Generated from protobuf message google.privacy.dlp.v2.DateTime.TimeZone

Namespace

Google \ Cloud \ Dlp \ V2 \ DateTime

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ offset_minutes int

Set only if the offset can be determined. Positive for time ahead of UTC. E.g. For "UTC-9", this value is -540.

getOffsetMinutes

Set only if the offset can be determined. Positive for time ahead of UTC.

E.g. For "UTC-9", this value is -540.

Returns
TypeDescription
int

setOffsetMinutes

Set only if the offset can be determined. Positive for time ahead of UTC.

E.g. For "UTC-9", this value is -540.

Parameter
NameDescription
var int
Returns
TypeDescription
$this