class Google::Apis::DlpV2::GooglePrivacyDlpV2TimePartConfig

For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a portion of the value.

Attributes

part_to_extract[RW]

The part of the time to keep. Corresponds to the JSON property `partToExtract` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 5973
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 5978
def update!(**args)
  @part_to_extract = args[:part_to_extract] if args.key?(:part_to_extract)
end