public sealed class DateShiftConfig : IMessage<DateShiftConfig>, IEquatable<DateShiftConfig>, IDeepCloneable<DateShiftConfig>, IBufferMessage, IMessage
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.
Causes the shift to be computed based on this key and the context. This
results in the same shift for the same context and crypto_key. If
set, must also set context. Can only be applied to table items.
Required. Range of shift in days. Actual shift will be selected at random within this
range (inclusive ends). Negative means shift to earlier in time. Must not
be more than 365250 days (1000 years) each direction.
For example, 3 means shift date to at most 3 days into the future.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDateShiftConfig\u003c/code\u003e class allows for shifting dates by a random number of days, with the option for consistent shifting within the same context.\u003c/p\u003e\n"],["\u003cp\u003eThis class, part of the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace, is designed to manage date shifting and has multiple versions available, with version 4.16.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eObject\u003c/code\u003e and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, to enable compatibility and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDateShiftConfig\u003c/code\u003e class provides properties such as \u003ccode\u003eContext\u003c/code\u003e, \u003ccode\u003eCryptoKey\u003c/code\u003e, \u003ccode\u003eLowerBoundDays\u003c/code\u003e, and \u003ccode\u003eUpperBoundDays\u003c/code\u003e, to specify how to apply the date shifting.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports shifting dates within a range, with \u003ccode\u003eLowerBoundDays\u003c/code\u003e and \u003ccode\u003eUpperBoundDays\u003c/code\u003e defining the range, and it can be applied to table items and set a \u003ccode\u003eCryptoKey\u003c/code\u003e for consistent shifts.\u003c/p\u003e\n"]]],[],null,[]]