Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::TimePartConfig.
For use with Date
, Timestamp
, and TimeOfDay
, extract or preserve a
portion of the value.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#part_to_extract
def part_to_extract() -> ::Google::Cloud::Dlp::V2::TimePartConfig::TimePart
Returns
- (::Google::Cloud::Dlp::V2::TimePartConfig::TimePart) — The part of the time to keep.
#part_to_extract=
def part_to_extract=(value) -> ::Google::Cloud::Dlp::V2::TimePartConfig::TimePart
Parameter
- value (::Google::Cloud::Dlp::V2::TimePartConfig::TimePart) — The part of the time to keep.
Returns
- (::Google::Cloud::Dlp::V2::TimePartConfig::TimePart) — The part of the time to keep.