Class: Google::Apis::DlpV2::GooglePrivacyDlpV2TimePartConfig
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2TimePartConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb
Overview
For use with Date, Timestamp, and TimeOfDay, extract or preserve a
portion of the value.
Instance Attribute Summary collapse
-
#part_to_extract ⇒ String
Corresponds to the JSON property
partToExtract.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2TimePartConfig
constructor
A new instance of GooglePrivacyDlpV2TimePartConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2TimePartConfig
Returns a new instance of GooglePrivacyDlpV2TimePartConfig
4685 4686 4687 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4685 def initialize(**args) update!(**args) end |
Instance Attribute Details
#part_to_extract ⇒ String
Corresponds to the JSON property partToExtract
4683 4684 4685 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4683 def part_to_extract @part_to_extract end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4690 4691 4692 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4690 def update!(**args) @part_to_extract = args[:part_to_extract] if args.key?(:part_to_extract) end |