Class: Google::Cloud::Dlp::V2::TimePartConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::TimePartConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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
-
#part_to_extract ⇒ ::Google::Cloud::Dlp::V2::TimePartConfig::TimePart
The part of the time to keep.
Instance Attribute Details
#part_to_extract ⇒ ::Google::Cloud::Dlp::V2::TimePartConfig::TimePart
Returns The part of the time to keep.
2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2252 class TimePartConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Components that make up time. module TimePart # Unused 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-53] WEEK_OF_YEAR = 5 # [0-23] HOUR_OF_DAY = 6 end end |