Class TimePartConfig (3.12.0)

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

For use with Date, Timestamp, and TimeOfDay, extract or preserve a portion of the value.

Attribute

NameDescription
part_to_extract google.cloud.dlp_v2.types.TimePartConfig.TimePart
The part of the time to keep.

Classes

TimePart

TimePart(value)

Components that make up time.

Values: TIME_PART_UNSPECIFIED (0): Unused YEAR (1): [0-9999] MONTH (2): [1-12] DAY_OF_MONTH (3): [1-31] DAY_OF_WEEK (4): [1-7] WEEK_OF_YEAR (5): [1-53] HOUR_OF_DAY (6): [0-23]