Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::TimePartConfig (v1.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
defpart_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=
defpart_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.