Class: Google::Privacy::Dlp::V2beta1::TimePartConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2beta1/doc/google/privacy/dlp/v2beta1/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

Instance Attribute Details

#part_to_extractGoogle::Privacy::Dlp::V2beta1::TimePartConfig::TimePart



748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
# File 'lib/google/cloud/dlp/v2beta1/doc/google/privacy/dlp/v2beta1/dlp.rb', line 748

class TimePartConfig
  module TimePart
    TIME_PART_UNSPECIFIED = 0

    # [000-9999]
    YEAR = 1

    # [1-12]
    MONTH = 2

    # [1-31]
    DAY_OF_MONTH = 3

    # [1-7]
    DAY_OF_WEEK = 4

    # [1-52]
    WEEK_OF_YEAR = 5

    # [0-24]
    HOUR_OF_DAY = 6
  end
end