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.
2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2123 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 |