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.
2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2485 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 |