Class DateTime (3.1.1)

DateTime(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message for a date time object. e.g. 2018-01-01, 5th August.

Attributes

NameDescription
date google.type.date_pb2.Date
One or more of the following must be set. Must be a valid date or time value.
day_of_week google.type.dayofweek_pb2.DayOfWeek
Day of week
time google.type.timeofday_pb2.TimeOfDay
Time of day
time_zone google.cloud.dlp_v2.types.DateTime.TimeZone
Time zone

Classes

TimeZone

TimeZone(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Time zone of the date time object. .. attribute:: offset_minutes

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

:type: int