Reference documentation and code samples for the Data Loss Prevention V2 Client class DateTime.
Message for a date time object.
e.g. 2018-01-01, 5th August.
Generated from protobuf message google.privacy.dlp.v2.DateTime
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ date
↳ day_of_week
int
Day of week
↳ time
↳ time_zone
getDate
One or more of the following must be set.
Must be a valid date or time value.
hasDate
clearDate
setDate
One or more of the following must be set.
Must be a valid date or time value.
$this
getDayOfWeek
Day of week
int
setDayOfWeek
Day of week
var
int
$this
getTime
Time of day
hasTime
clearTime
setTime
Time of day
$this
getTimeZone
Time zone
hasTimeZone
clearTimeZone
setTimeZone
Time zone
$this