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.
2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2296 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 |