Class: Google::Privacy::Dlp::V2::TimePartConfig
- Inherits:
-
Object
- Object
- Google::Privacy::Dlp::V2::TimePartConfig
- Defined in:
- lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb
Overview
For use with +Date+, +Timestamp+, and +TimeOfDay+, extract or preserve a portion of the value.
Defined Under Namespace
Modules: TimePart
Instance Attribute Summary collapse
Instance Attribute Details
#part_to_extract ⇒ Google::Privacy::Dlp::V2::TimePartConfig::TimePart
1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1147 class TimePartConfig module TimePart TIME_PART_UNSPECIFIED = 0 # [0-9999] YEAR = 1 # [1-12] MONTH = 2 # [1-31] DAY_OF_MONTH = 3 # [1-7] DAY_OF_WEEK = 4 # [1-52] WEEK_OF_YEAR = 5 # [0-23] HOUR_OF_DAY = 6 end end |