View Source GoogleApi.HealthCare.V1beta1.Model.DateShiftConfig (google_api_health_care v0.48.0)

Shift a date forward or backward in time by a random amount which is consistent for a given patient and crypto key combination.

Attributes

  • cryptoKey (type: String.t, default: nil) - An AES 128/192/256 bit key. Causes the shift to be computed based on this key and the patient ID. A default key is generated for each de-identification operation and is used when neither crypto_key nor kms_wrapped is specified. Must not be set if kms_wrapped is set.
  • kmsWrapped (type: GoogleApi.HealthCare.V1beta1.Model.KmsWrappedCryptoKey.t, default: nil) - KMS wrapped key. Must not be set if crypto_key is set.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.HealthCare.V1beta1.Model.DateShiftConfig{
  cryptoKey: String.t() | nil,
  kmsWrapped: GoogleApi.HealthCare.V1beta1.Model.KmsWrappedCryptoKey.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.