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.
2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2277 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 |