Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::DateShiftConfig (v0.15.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::DateShiftConfig.

Shifts dates by random number of days, with option to be consistent for the same context. See to learn more.


  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods


  • Google::Protobuf::MessageExts



def context() -> ::Google::Cloud::Dlp::V2::FieldId
  • (::Google::Cloud::Dlp::V2::FieldId) — Points to the field that contains the context, for example, an entity id. If set, must also set cryptoKey. If set, shift will be consistent for the given context.