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 \ DateTimeMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |